Class UITextAreaImpl

java.lang.Object
com.biglybt.pifimpl.local.ui.components.UIComponentImpl
com.biglybt.pifimpl.local.ui.components.UITextAreaImpl
All Implemented Interfaces:
UIComponent, UITextArea

public class UITextAreaImpl extends UIComponentImpl implements UITextArea
  • Field Details

    • enable_history

      private final boolean enable_history
    • max_size

      private int max_size
    • max_file_size

      private int max_file_size
    • pw

    • current_file_size

      int current_file_size
    • poop_file

      File poop_file
    • useFile

      boolean useFile
    • file_mon

      AEMonitor file_mon
    • delay_text

      LinkedList<String> delay_text
    • delay_size

      int delay_size
    • dispatcher

  • Constructor Details

    • UITextAreaImpl

      public UITextAreaImpl()
  • Method Details

    • setText

      public void setText(String text)
      Description copied from interface: UITextArea
      Setting values results in a PT_VALUE property change with a String value
      Specified by:
      setText in interface UITextArea
    • appendText

      public void appendText(String text)
      Description copied from interface: UITextArea
      Appends the supplied text to the existing text value
      Specified by:
      appendText in interface UITextArea
      Parameters:
      text -
    • delayAppend

      protected void delayAppend()
    • getText

      public String getText()
      Specified by:
      getText in interface UITextArea
    • setMaximumSize

      public void setMaximumSize(int _max_size)
      Description copied from interface: UITextArea
      Limits the maximum size of text held by the area. When then size is exceeded the text will be truncated (text at the start of the string is removed, NOT the end) All areas have a default max size as defined by the constant above
      Specified by:
      setMaximumSize in interface UITextArea
    • getFileText

      private String getFileText()
    • addPropertyChangeListener

      public void addPropertyChangeListener(UIPropertyChangeListener l)
      Specified by:
      addPropertyChangeListener in interface UIComponent
      Overrides:
      addPropertyChangeListener in class UIComponentImpl