Class JTextAreaTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable

public class JTextAreaTool extends RJTextTool
An inner class to act as RJTextAreaShape's Tool
  • Constructor Details

    • JTextAreaTool

      public JTextAreaTool()
      Creates a new text area shape tool.
  • Method Details

    • getShapeClass

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

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

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

      public void resetUI()
      Updates the Swing UI panel from the currently selected text area shape.
      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
    • didBecomeSuperSelectedShapeInEditor

      public void didBecomeSuperSelectedShapeInEditor(RMShape aShape, RMEditor anEditor)
      Description copied from class: Tool
      Editor method - called when an instance of this tool's shape is super selected.
      Overrides:
      didBecomeSuperSelectedShapeInEditor in class RJTextTool