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