Package org.graffiti.plugin.parameter
Class NodeParameter
java.lang.Object
org.graffiti.plugin.parameter.AbstractSingleParameter
org.graffiti.plugin.parameter.NodeParameter
- All Implemented Interfaces:
Displayable,Parameter,SingleParameter
public class NodeParameter extends AbstractSingleParameter
This class contains a single
Node.- Version:
- $Revision: 1.5 $
-
Constructor Summary
Constructors Constructor Description NodeParameter(Graph graph, Node initalNode, String name, String description)Constructs a new node parameter. -
Method Summary
Methods inherited from class org.graffiti.plugin.parameter.AbstractSingleParameter
getDescription, getIcon, getImage, getName, isLeftAligned, setDescription, setLeftAligned, toString, toXMLString
-
Constructor Details
-
NodeParameter
Constructs a new node parameter.- Parameters:
name- the name of the parameter.description- the description of the parameter.
-
-
Method Details
-
getNode
Returns theNodecontained in thisNodeParameter.- Returns:
- the
Nodecontained in thisNodeParameter.
-
getPossibleNodes
-
setValue
Sets the value of theAttributeParameter.- Specified by:
setValuein interfaceDisplayable- Overrides:
setValuein classAbstractSingleParameter- Parameters:
val- the new value of theAttributeParameter.
-
getValue
Returns the value of this parameter.- Specified by:
getValuein interfaceDisplayable- Overrides:
getValuein classAbstractSingleParameter- Returns:
- the value of this parameter.
-