Class ParsableTextArea

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class ParsableTextArea extends JTextArea
Title: ParsableTextArea Description: JTextArea with the ability to parse parameters.
See Also:
  • Constructor Details

    • ParsableTextArea

      public ParsableTextArea()
      ParsableTextArea constructor.
  • Method Details

    • getValue

      public String getValue(String variable) throws VariableNotFoundException
      Gets the stored string parameter associated with the variable name.
      Parameters:
      variable -
      Returns:
      the string
      Throws:
      VariableNotFoundException
    • setLockValues

      public void setLockValues(boolean lock)
      Locks values to those currently on display.
      Parameters:
      lock - boolean
    • setValue

      public void setValue(String variable, String val)
      Stores a variable name and an associated value.
      Parameters:
      variable -
      val -
    • getCurrentMap

      public HashMap<CharSequence,CharSequence> getCurrentMap()
    • getLoader

      public static XML.ObjectLoader getLoader()
      Returns an XML.ObjectLoader to save and load data for this object.
      Returns:
      the object loader