org.xnap.commons.gui.shortcut
Class AbstractShortcut
java.lang.Object
org.xnap.commons.gui.shortcut.AbstractShortcut
- All Implemented Interfaces:
- Shortcut
- Direct Known Subclasses:
- ActionShortcut, DefaultShortcut
public abstract class AbstractShortcut
- extends Object
- implements Shortcut
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractShortcut
public AbstractShortcut()
putValue
public void putValue(String key,
Object value)
- Specified by:
putValue
in interface Shortcut
firePropertChange
protected void firePropertChange(String key,
Object oldValue,
Object newValue)
getValue
public Object getValue(String key)
- Specified by:
getValue
in interface Shortcut
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Specified by:
addPropertyChangeListener
in interface Shortcut
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
- Specified by:
removePropertyChangeListener
in interface Shortcut
getKeyStroke
public KeyStroke getKeyStroke()
- Description copied from interface:
Shortcut
- Returns the keystroke.
- Specified by:
getKeyStroke
in interface Shortcut
setKeyStroke
public void setKeyStroke(KeyStroke stroke)
- Specified by:
setKeyStroke
in interface Shortcut
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.