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