Package org.graffiti.plugin.parameter
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 Summary
Constructors Constructor Description EdgeParameter(String name, String description)
Constructs a new edge parameter.EdgeParameter(Edge edge, String name, String description)
Constructs a new edge parameter. -
Method Summary
Methods inherited from class org.graffiti.plugin.parameter.AbstractSingleParameter
getDescription, getIcon, getImage, getName, isLeftAligned, setDescription, setLeftAligned, toString, toXMLString
-
Constructor Details
-
EdgeParameter
Constructs a new edge parameter.- Parameters:
name
- the name of this parameter.description
- the description of this parameter.
-
EdgeParameter
Constructs a new edge parameter.- Parameters:
edge
- the edge saved in the parametername
- the name of this parameter.description
- the description of this parameter.
-
-
Method Details
-
getEdge
Returns theEdge
contained in thisEdgeParameter
.- Returns:
- the
Edge
contained in thisEdgeParameter
.
-
setValue
Sets the value of theAttributeParameter
.- Specified by:
setValue
in interfaceDisplayable
- Overrides:
setValue
in classAbstractSingleParameter
- Parameters:
value
- the new value of theAttributeParameter
.
-
getValue
Returns the value of this parameter.- Specified by:
getValue
in interfaceDisplayable
- Overrides:
getValue
in classAbstractSingleParameter
- Returns:
- the value of this parameter.
-