public class JButtonTextProperty extends AbstractComponentProperty<JButton,String>
JButton.
It is possible to control the text of the button by setting the value of this property or by calling the AbstractButton.setText(String) method of that button.
If the value of this property is set to null, the button will be emptied.component| Constructor and Description |
|---|
JButtonTextProperty(JButton button) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPropertyValueFromComponent() |
protected void |
setPropertyValueToComponent(String value) |
dispose, getValue, setValueaddValueChangeListener, getValueChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeValueChangeListener, setInhibitedpublic JButtonTextProperty(JButton button)
protected String getPropertyValueFromComponent()
getPropertyValueFromComponent in class AbstractComponentProperty<JButton,String>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(String value)
setPropertyValueToComponent in class AbstractComponentProperty<JButton,String>AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2015. All Rights Reserved.