Class EdgeParameter

java.lang.Object
org.graffiti.plugin.parameter.AbstractSingleParameter
org.graffiti.plugin.parameter.EdgeParameter
All Implemented Interfaces:
Displayable, Parameter, SingleParameter

public class EdgeParameter
extends AbstractSingleParameter
This class contains a single Edge.
Version:
$Revision: 1.5 $
  • Constructor Details

    • EdgeParameter

      public EdgeParameter​(String name, String description)
      Constructs a new edge parameter.
      Parameters:
      name - the name of this parameter.
      description - the description of this parameter.
    • EdgeParameter

      public EdgeParameter​(Edge edge, String name, String description)
      Constructs a new edge parameter.
      Parameters:
      edge - the edge saved in the parameter
      name - the name of this parameter.
      description - the description of this parameter.
  • Method Details

    • getEdge

      public Edge getEdge()
      Returns the Edge contained in this EdgeParameter.
      Returns:
      the Edge contained in this EdgeParameter.
    • setValue

      public void setValue​(Object value)
      Sets the value of the AttributeParameter.
      Specified by:
      setValue in interface Displayable
      Overrides:
      setValue in class AbstractSingleParameter
      Parameters:
      value - the new value of the AttributeParameter.
    • getValue

      public Object getValue()
      Returns the value of this parameter.
      Specified by:
      getValue in interface Displayable
      Overrides:
      getValue in class AbstractSingleParameter
      Returns:
      the value of this parameter.