Module imp2d

Class Null

All Implemented Interfaces:
Transformation, Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable
Direct Known Subclasses:
Shape2DBase

public class Null extends Node implements Transformation
See Also:
  • Field Details

  • Constructor Details

    • Null

      public Null(Transform2D transform)
    • Null

      public Null()
    • Null

      public Null(double x, double y)
  • Method Details

    • 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
    • getTransform

      public Transform2D getTransform()
    • isTransforming

      public boolean isTransforming()
    • setTransforming

      public void setTransforming(boolean v)
    • setTransform

      public Null setTransform(Transform2D t)
    • setTransform

      public Null setTransform(TVector2d t)
    • setTransform

      public Null setTransform(double x, double y)
    • setTransform

      public Null setTransform(Tuple2d t)
    • setTransform

      public Null setTransform(Tuple2f t)
    • preTransform

      public void preTransform(Object object, boolean asNode, Matrix3d in, Matrix3d out, GraphState gs)
      Specified by:
      preTransform in interface Transformation
    • postTransform

      public void postTransform(Object object, boolean asNode, Matrix3d in, Matrix3d out, Matrix3d pre, GraphState gs)
      Specified by:
      postTransform in interface Transformation