Class JSpinnerTool

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable

    public class JSpinnerTool
    extends RBTool
    An inner class to act as RJSliderShape's Tool
    • Constructor Detail

      • JSpinnerTool

        public JSpinnerTool()
        Creates a new spinner tool.
    • Method Detail

      • getShapeClass

        public java.lang.Class getShapeClass()
        Returns the shape class this tool is responsible for.
        Overrides:
        getShapeClass in class Tool
      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the inspector window title string.
        Overrides:
        getWindowTitle in class Tool
      • getUI

        public RJPanel getUI()
        Returns the Swing UI panel (loading the first time).
        Overrides:
        getUI in class Tool
      • resetUI

        public void resetUI()
        Updates the Swing UI panel from the currently selected spinner shape.
        Overrides:
        resetUI in class Tool
      • respondUI

        public void respondUI​(java.lang.Object anObj)
        Updates the currently selected spinner shape from the Swing UI panel.
        Overrides:
        respondUI in class Tool