Class JTextFieldTool

All Implemented Interfaces:
RMArchiver.Archiving, Cloneable
Direct Known Subclasses:
JFormattedTextFieldTool, JPasswordFieldTool

public class JTextFieldTool extends RJTextTool
An inner class to act as RJTextFieldShape's Tool
  • Constructor Details

    • JTextFieldTool

      public JTextFieldTool()
      Creates a new text field 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 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 controls from the currently selected text field shape.
      Overrides:
      resetUI in class Tool
    • respondUI

      public void respondUI(Object anObj)
      Updates the currently selected text field shape from the Swing UI controls.
      Overrides:
      respondUI in class Tool