Class TextToolAdvanced

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

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

    • TextToolAdvanced

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

    • getShapeClass

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

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

      public boolean isInstance(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(Object anObj)
      Handles changes from Swing GUI panel controls.
      Overrides:
      respondUI in class Tool