org.gudy.azureus2.pluginsimpl.local.ui.config
Class UITextAreaImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterImpl
org.gudy.azureus2.pluginsimpl.local.ui.config.UITextAreaImpl
- All Implemented Interfaces:
- ParameterListener, ConfigParameter, UIComponent, UITextArea, EnablerParameter, Parameter
public class UITextAreaImpl
- extends ParameterImpl
- implements UITextArea
| Methods inherited from class org.gudy.azureus2.pluginsimpl.local.ui.config.ParameterImpl |
addConfigParameterListener, addDisabledOnSelection, addEnabledOnSelection, addImplListener, addListener, destroy, fireParameterChanged, getConfigKeyName, getDisabledOnSelectionParameters, getEnabledOnSelectionParameters, getGenerateIntermediateEvents, getGroup, getKey, getLabelKey, getLabelText, getMinimumRequiredUserMode, hasBeenSet, isEnabled, isVisible, parameterChanged, removeConfigParameterListener, removeImplListener, removeListener, setGenerateIntermediateEvents, setGroup, setLabelKey, setLabelText, setMinimumRequiredUserMode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UITextAreaImpl
public UITextAreaImpl(PluginConfigImpl config,
java.lang.String resource_name)
setText
public void setText(java.lang.String text)
- Description copied from interface:
UITextArea
- Setting values results in a PT_VALUE property change with a String value
- Specified by:
setText in interface UITextArea
appendText
public void appendText(java.lang.String text)
- Description copied from interface:
UITextArea
- Appends the supplied text to the existing text value
- Specified by:
appendText in interface UITextArea
getText
public java.lang.String getText()
- Specified by:
getText in interface UITextArea
setMaximumSize
public void setMaximumSize(int max_size)
- Description copied from interface:
UITextArea
- 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
- Specified by:
setMaximumSize in interface UITextArea
setEnabled
public void setEnabled(boolean enabled)
- Description copied from interface:
Parameter
- Sets whether the UI object for this parameter is enabled (changeable) or
disabled (not changeable, and usually grayed out)
- Specified by:
setEnabled in interface UIComponent- Specified by:
setEnabled in interface Parameter- Overrides:
setEnabled in class ParameterImpl
- Parameters:
enabled - The new enabled state
getEnabled
public boolean getEnabled()
- Specified by:
getEnabled in interface UIComponent
setVisible
public void setVisible(boolean visible)
- Description copied from interface:
Parameter
- Sets whether the UI object for this parameter is visible to the user
- Specified by:
setVisible in interface UIComponent- Specified by:
setVisible in interface Parameter- Overrides:
setVisible in class ParameterImpl
- Parameters:
visible - The new visibility state
getVisible
public boolean getVisible()
- Specified by:
getVisible in interface UIComponent
setProperty
public void setProperty(java.lang.String property_type,
java.lang.Object property_value)
- Specified by:
setProperty in interface UIComponent
getProperty
public java.lang.Object getProperty(java.lang.String property_type)
- Specified by:
getProperty in interface UIComponent
addPropertyChangeListener
public void addPropertyChangeListener(UIPropertyChangeListener l)
- Specified by:
addPropertyChangeListener in interface UIComponent
removePropertyChangeListener
public void removePropertyChangeListener(UIPropertyChangeListener l)
- Specified by:
removePropertyChangeListener in interface UIComponent