Class LabelTool

    • Constructor Detail

      • LabelTool

        public LabelTool()
    • Method Detail

      • getShapeClass

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

        public java.lang.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​(java.lang.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