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