Class RJThumbWheelShape

All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, PropertyChangeListener, Cloneable, EventListener

public class RJThumbWheelShape extends JComponentShape
An RMShape subclass for RJThumbWheel.
  • Field Details

  • Constructor Details

    • RJThumbWheelShape

      public RJThumbWheelShape()
  • Method Details

    • getValue

      public float getValue()
      Returns the value.
    • setValue

      public void setValue(float aValue)
      Sets the value.
    • getRound

      public float getRound()
      Returns the value that thumbwheel values are rounded to.
    • setRound

      public void setRound(float aValue)
      Sets the value that thumbwheel values are rounded to.
    • getVisibleMin

      public float getVisibleMin()
      Returns the smallest value in the visible range (ie, on the left side) of the thumbhweel.
    • setVisibleMin

      public void setVisibleMin(float aValue)
      Sets the smallest value in the visible range (ie, on the left side) of the thumbhweel.
    • getVisibleMax

      public float getVisibleMax()
      Returns the largest value in the visible range (ie, on the right side) of the thumbhweel.
    • setVisibleMax

      public void setVisibleMax(float aValue)
      Sets the largest value in the visible range (ie, on the right side) of the thumbhweel.
    • getAbsoluteMin

      public float getAbsoluteMin()
      Returns the smallest value permitted by the thumbwheel (even when outside visible range).
    • setAbsoluteMin

      public void setAbsoluteMin(float aValue)
      Sets the smallest value permitted by the thumbwheel (even when outside visible range).
    • getAbsoluteMax

      public float getAbsoluteMax()
      Returns the largest value permitted by the thumbwheel (even when outside visible range).
    • setAbsoluteMax

      public void setAbsoluteMax(float aValue)
      Sets the largest value permitted by the thumbwheel (even when outside visible range).
    • getAbsoluteMode

      public byte getAbsoluteMode()
      Returns the thumbhweel absolute mode (ABSOLUTE_BOUNDED or ABSOLUTE_WRAPPED).
    • setAbsoluteMode

      public void setAbsoluteMode(byte aValue)
      Sets the thumbhweel absolute mode (ABSOLUTE_BOUNDED or ABSOLUTE_WRAPPED).
    • getOrientation

      public int getOrientation()
      Returns the orientation (SwingConstants.VERTICAL or SwingConstants.HORIZONTAL).
    • setOrientation

      public void setOrientation(int aValue)
      Returns the orientation (SwingConstants.VERTICAL or SwingConstants.HORIZONTAL).
    • getType

      public byte getType()
      Returns the type (radial or linear).
    • setType

      public void setType(byte aType)
      Sets the type (radial or linear).
    • getComponentClass

      public Class<? extends JComponent> getComponentClass()
      Returns the component class for this component shape.
      Overrides:
      getComponentClass in class JComponentShape
    • configureComponent

      protected void configureComponent(JBuilder aBldr, JComponent aComp)
      Override to configure attributes for this class.
      Overrides:
      configureComponent in class JComponentShape
    • toXMLShape

      public RXElement toXMLShape(RXArchiver anArchiver)
      XML archival.
      Overrides:
      toXMLShape in class JComponentShape
    • fromXMLShape

      public void fromXMLShape(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Overrides:
      fromXMLShape in class JComponentShape