Class TextToolAdvanced

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

    public class TextToolAdvanced
    extends Tool
    This tool provides inspector functionality for advanced text attributes.
    • Constructor Detail

      • TextToolAdvanced

        public TextToolAdvanced​(TextTool aTextTool)
        Creates a new text tool.
    • Method Detail

      • getShapeClass

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

        public java.lang.String getWindowTitle()
        Returns the name to be presented to user.
        Overrides:
        getWindowTitle in class Tool
      • isInstance

        public boolean isInstance​(java.lang.Object anObj)
        Returns whether the given object can be edited by this tool.
        Overrides:
        isInstance in class Tool
      • getUI

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

        public void resetUI()
        Refreshes Swing GUI controls from currently selected text shape (usually called by Ribs).
        Overrides:
        resetUI in class Tool
      • respondUI

        public void respondUI​(java.lang.Object anObj)
        Handles changes from Swing GUI panel controls.
        Overrides:
        respondUI in class Tool