org.gudy.azureus2.pluginsimpl.local.ui.components
Class UITextAreaImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ui.components.UIComponentImpl
      extended by org.gudy.azureus2.pluginsimpl.local.ui.components.UITextAreaImpl
All Implemented Interfaces:
UIComponent, UITextArea

public class UITextAreaImpl
extends UIComponentImpl
implements UITextArea


Nested Class Summary
protected  class UITextAreaImpl.PoopWriter
           
 
Field Summary
 
Fields inherited from class org.gudy.azureus2.pluginsimpl.local.ui.components.UIComponentImpl
listeners, properties
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.components.UITextArea
DEFAULT_MAX_SIZE
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.components.UIComponent
PT_ENABLED, PT_HEIGHT_HINT, PT_VALUE, PT_VISIBLE, PT_WIDTH_HINT
 
Constructor Summary
UITextAreaImpl()
           
 
Method Summary
 void addPropertyChangeListener(UIPropertyChangeListener l)
           
 void appendText(java.lang.String text)
          Appends the supplied text to the existing text value
protected  void delayAppend()
           
 java.lang.String getText()
           
 void setMaximumSize(int _max_size)
          Limits the maximum size of text held by the area.
 void setText(java.lang.String text)
          Setting values results in a PT_VALUE property change with a String value
 
Methods inherited from class org.gudy.azureus2.pluginsimpl.local.ui.components.UIComponentImpl
getEnabled, getProperty, getVisible, removePropertyChangeListener, setEnabled, setProperty, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gudy.azureus2.plugins.ui.components.UIComponent
getEnabled, getProperty, getVisible, removePropertyChangeListener, setEnabled, setProperty, setVisible
 

Constructor Detail

UITextAreaImpl

public UITextAreaImpl()
Method Detail

setText

public void setText(java.lang.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(java.lang.String text)
Description copied from interface: UITextArea
Appends the supplied text to the existing text value

Specified by:
appendText in interface UITextArea

delayAppend

protected void delayAppend()

getText

public java.lang.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

addPropertyChangeListener

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