public class JLabelDisplayedMnemonicProperty extends AbstractComponentProperty<JLabel,Integer>
JLabel.
It is possible to control the displayed mnemonic of the label by setting the value of this property or by calling the
JLabel.setDisplayedMnemonic(char) or JLabel.setDisplayedMnemonic(int) methods of that label.
If the value of this property is set to null, the displayed mnemonic will be set to KeyEvent.VK_UNDEFINED.component| Constructor and Description |
|---|
JLabelDisplayedMnemonicProperty(JLabel label) |
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
getPropertyValueFromComponent() |
protected void |
setPropertyValueToComponent(Integer value) |
dispose, getValue, setValueaddValueChangeListener, getValueChangeListeners, isInhibited, isNotifyingListeners, maybeNotifyListeners, removeValueChangeListener, setInhibitedpublic JLabelDisplayedMnemonicProperty(JLabel label)
protected Integer getPropertyValueFromComponent()
getPropertyValueFromComponent in class AbstractComponentProperty<JLabel,Integer>AbstractComponentProperty.getPropertyValueFromComponent()protected void setPropertyValueToComponent(Integer value)
setPropertyValueToComponent in class AbstractComponentProperty<JLabel,Integer>AbstractComponentProperty.setPropertyValueToComponent(Object)Copyright © 2015. All Rights Reserved.