Class LabelTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class LabelTool extends Tool
  • Constructor Details

    • LabelTool

      public LabelTool()
  • Method Details

    • getShapeClass

      public Class getShapeClass()
      Description copied from class: Tool
      Returns the shape class that this tool handles.
      Overrides:
      getShapeClass in class Tool
    • getWindowTitle

      public String getWindowTitle()
      Description copied from class: Tool
      Returns the string to be used for the inspector window title.
      Overrides:
      getWindowTitle in class Tool
    • getUI

      public RJPanel getUI()
      Description copied from class: Tool
      Returns the Swing UI panel for this tool.
      Overrides:
      getUI in class Tool
    • resetUI

      public void resetUI()
      Description copied from class: Tool
      Resets the UI associated with this tool.
      Overrides:
      resetUI in class Tool
    • respondUI

      public void respondUI(Object anObj)
      Description copied from class: Tool
      Responder callback for the UI associated with this tool.
      Overrides:
      respondUI in class Tool
    • getHandleCount

      public int getHandleCount(RMShape aShape)
      Overrides tool method to declare that labels have no handles.
      Overrides:
      getHandleCount in class Tool