Package visualisation

Klasse TextArea<LOG extends LogElement>

Alle implementierten Schnittstellen:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable
Bekannte direkte Unterklassen:
OurTextArea

public abstract class TextArea<LOG extends LogElement> extends JTextArea
This class provides the basic text output area for a HybridWindow. Use it in assoziation with packages logging and visualization. Just overwrite the print method to get a textual output of a log list element. Parameters for algorithm processing are read from member parameterArea that ist part of the user interface.
Siehe auch:
  • Felddetails

    • scrollPane

      protected JScrollPane scrollPane
      The text area's scroll pane.
    • logList

      protected LogElementList<LOG extends LogElement> logList
      The log element list where the text area gets the log elements.
  • Konstruktordetails

    • TextArea

      public TextArea()
      Standard constructor. Creates an empty text area with scroll pane.
    • TextArea

      public TextArea(LogElementList<LOG> logList)
      Creates an empty text area with scroll pane and sets the specified log list.
      Parameter:
      logList - the text area's log list
  • Methodendetails

    • getScrollPane

      public JScrollPane getScrollPane()
      Returns the text area's scroll pane.
      Gibt zurück:
      the text area's scroll pane
    • setLogList

      public void setLogList(LogElementList<LOG> logList)
      Sets the text area's logList.
      Parameter:
      logList - the text area's logList
    • printStep

      public void printStep()
      Provided for convenience. Calls print();
    • print

      public boolean print()
      Prints the actual algorithm step's description. It is suggested to overwrite this method.
      Setzt außer Kraft:
      print in Klasse JTextComponent
    • clear

      public void clear()
      Clears the text area