Class SelectionParameter

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

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

    • SelectionParameter

      public SelectionParameter​(String name, String description)
      Constructs a new selection parameter.
      Parameters:
      name - the name of the parameter.
      description - the description of the parameter.
    • SelectionParameter

      public SelectionParameter​(String name, String description, Selection sel)
      Constructs a new selection parameter.
      Parameters:
      name -
      description -
      sel -
    • SelectionParameter

      public SelectionParameter​(Selection sel, String name, String description)
      Constructs a new selection parameter.
      Parameters:
      sel -
      name -
      description -
  • Method Details

    • setSelection

      public void setSelection​(Selection selection)
      Sets the selection.
      Parameters:
      selection - DOCUMENT ME!
    • getSelection

      public Selection getSelection()
      Returns the selection encapsulated in this parameter.
      Returns:
      DOCUMENT ME!
    • 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.