org.gudy.azureus2.plugins.ui.components
Interface UITextArea

All Superinterfaces:
UIComponent
All Known Implementing Classes:
UITextAreaImpl, UITextAreaImpl

public interface UITextArea
extends UIComponent

Author:
parg

Field Summary
static int 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
 
Method Summary
 void appendText(java.lang.String text)
          Appends the supplied text to the existing text value
 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 interface org.gudy.azureus2.plugins.ui.components.UIComponent
addPropertyChangeListener, getEnabled, getProperty, getVisible, removePropertyChangeListener, setEnabled, setProperty, setVisible
 

Field Detail

DEFAULT_MAX_SIZE

static final int DEFAULT_MAX_SIZE
See Also:
Constant Field Values
Method Detail

setText

void setText(java.lang.String text)
Setting values results in a PT_VALUE property change with a String value

Parameters:
precentage -

appendText

void appendText(java.lang.String text)
Appends the supplied text to the existing text value

Parameters:
text -

getText

java.lang.String getText()

setMaximumSize

void setMaximumSize(int max_size)
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