Class RMGraph.BarLabel

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable
Enclosing class:
RMGraph

public static class RMGraph.BarLabel extends RMSwitchShape
An inner class for bar labels.
  • Constructor Details

    • BarLabel

      public BarLabel()
      Creates a bar label suitable for insertion in a new graph.
  • Method Details

    • getDefaultVersionName

      public String getDefaultVersionName()
      Returns the default version name for this switch shape subclass.
      Overrides:
      getDefaultVersionName in class RMSwitchShape
    • getText

      public RMText getText()
      Returns the text associated with this bar label.
    • getVersionTextLength

      public int getVersionTextLength(String v)
      Returns the length of the text for a given switch shape version name.
    • toXML

      public RXElement toXML(RXArchiver anArchiver)
      XML archival.
      Overrides:
      toXML in class RMSwitchShape
    • superSelectable

      public boolean superSelectable()
      Editor method indicates that bar label is super selectable.
      Overrides:
      superSelectable in class RMSwitchShape
    • childrenSuperSelectImmediately

      public boolean childrenSuperSelectImmediately()
      Editor method indicates that children should immediately super select.
      Overrides:
      childrenSuperSelectImmediately in class RMShape
    • getToolClassName

      public String getToolClassName()
      Editor method - indicates that this shape should use Scene3D's tool.
      Overrides:
      getToolClassName in class RMShape