Module platform

Class MSNode

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable, ListModel

public class MSNode extends Node implements ListModel
See Also:
  • Field Details

    • SCALE

      public static int SCALE
    • SELECTED

      protected static int SELECTED
    • SELECTEDSCALE

      public static int SELECTEDSCALE
    • $TYPE

      public static final Node.NType $TYPE
  • Constructor Details

    • MSNode

      public MSNode()
  • Method Details

    • getChoosenScale

      public Node getChoosenScale()
    • setScale

      public void setScale(EnumValue scale)
    • addScale

      public void addScale(Node scale)
    • setScale

      public void setScale(Node scale)
    • getScale

      public Node getScale()
    • getScaleAsEnum

      public EnumValue getScaleAsEnum()
    • getSize

      public int getSize()
      Specified by:
      getSize in interface ListModel
    • getElementAt

      public Object getElementAt(int index)
      Specified by:
      getElementAt in interface ListModel
    • addListDataListener

      public void addListDataListener(ListDataListener l)
      Specified by:
      addListDataListener in interface ListModel
    • removeListDataListener

      public void removeListDataListener(ListDataListener l)
      Specified by:
      removeListDataListener in interface ListModel
    • getObject

      protected Object getObject(ObjectAttribute a, Object placeIn, GraphState gs)
      Overrides:
      getObject in class Node
    • getNTypeImpl

      protected Node.NType getNTypeImpl()
      Description copied from class: Node
      This method returns the Node.NType which describes the managed fields of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      getNTypeImpl in class Node
      Returns:
      type describing the managed fields of the class of this node
    • newInstance

      protected Node newInstance()
      Description copied from class: Node
      This method returns a new instance of the class of this node. This method has to be implemented in every concrete subclass.
      Overrides:
      newInstance in class Node
      Returns:
      new instance of class of this node