Interface UITextArea
- All Superinterfaces:
UIComponent
- All Known Implementing Classes:
UITextAreaImpl, UITextAreaImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface UIComponent
UIComponent.RefreshListener -
Field Summary
FieldsFields inherited from interface UIComponent
PT_ENABLED, PT_HEIGHT_HINT, PT_SELECTED, PT_VALUE, PT_VISIBLE, PT_WIDTH_HINT -
Method Summary
Modifier and TypeMethodDescriptionvoidappendText(String text) Appends the supplied text to the existing text valuegetText()voidsetMaximumSize(int max_size) Limits the maximum size of text held by the area.voidSetting values results in a PT_VALUE property change with a String valueMethods inherited from interface 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
-