Module rgg
Package de.grogra.rgg

Class RGGRoot

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

public final class RGGRoot extends Node implements TurtleModifier
See Also:
  • Field Details

  • Constructor Details

    • RGGRoot

      public RGGRoot()
  • Method Details

    • execute

      public void execute(Object node, TurtleState state, GraphState gs)
      Specified by:
      execute in interface TurtleModifier
    • 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
    • getSymbolColor

      public int getSymbolColor()
      Overrides:
      getSymbolColor in class Node
    • getRoot

      public static Node getRoot(GraphManager g)
    • getTypeRoot

      public static Node getTypeRoot(GraphManager g)
      Returns the root of the type graph for the graph
      Parameters:
      g - GraphManager (i.e. the graph) instance
      Returns:
      the root of the type graph for the graph