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(String text)
          Appends the supplied text to the existing text value
 String getText()
           
 void setMaximumSize(int max_size)
          Limits the maximum size of text held by the area.
 void setText(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(String text)
Setting values results in a PT_VALUE property change with a String value

Parameters:
precentage -

appendText

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

Parameters:
text -

getText

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