Package com.biglybt.pif.ui.components
Interface UITextArea
- All Superinterfaces:
UIComponent
- All Known Implementing Classes:
UITextAreaImpl
,UITextAreaImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.biglybt.pif.ui.components.UIComponent
UIComponent.RefreshListener
-
Field Summary
FieldsFields 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
Modifier and TypeMethodDescriptionvoid
appendText
(String text) Appends the supplied text to the existing text valuegetText()
void
setMaximumSize
(int max_size) Limits the maximum size of text held by the area.void
Setting values results in a PT_VALUE property change with a String valueMethods inherited from interface com.biglybt.pif.ui.components.UIComponent
addPropertyChangeListener, addRefreshListener, getEnabled, getProperty, getVisible, refresh, removePropertyChangeListener, removeRefreshListener, setEnabled, setProperty, setVisible
-
Field Details
-
DEFAULT_MAX_SIZE
static final int DEFAULT_MAX_SIZE- See Also:
-
-
Method Details
-
setText
Setting values results in a PT_VALUE property change with a String value- Parameters:
precentage
-
-
appendText
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
-