Module imp3d

Class NumericLabel

All Implemented Interfaces:
Transformation, Pickable, Renderable, Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable

public class NumericLabel extends TextLabelBase
See Also:
  • Field Details

  • Constructor Details

    • NumericLabel

      public NumericLabel()
    • NumericLabel

      public NumericLabel(float value)
  • Method Details

    • setFormat

      public void setFormat(String format)
    • getCaption

      protected String getCaption()
      Specified by:
      getCaption in class TextLabelBase
    • 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 Null
      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 Null
      Returns:
      new instance of class of this node
    • getValue

      public float getValue()
    • setValue

      public void setValue(float value)
    • getFormat

      public String getFormat()