Package com.biglybt.pif.ui.components
Interface UITextArea
-
- All Superinterfaces:
UIComponent
- All Known Implementing Classes:
UITextAreaImpl
,UITextAreaImpl
public interface UITextArea extends UIComponent
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_MAX_SIZE
-
Fields inherited from interface com.biglybt.pif.ui.components.UIComponent
PT_ENABLED, PT_HEIGHT_HINT, PT_SELECTED, PT_VALUE, PT_VISIBLE, PT_WIDTH_HINT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
appendText(java.lang.String text)
Appends the supplied text to the existing text valuejava.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 com.biglybt.pif.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
-
-