org.xnap.commons.gui.shortcut
Interface Shortcut

All Known Implementing Classes:
AbstractShortcut, ActionShortcut, DefaultShortcut

public interface Shortcut

Defines the requirements for classes that provide shortcuts.


Field Summary
static String CATEGORY
           
static String DESCRIPTION
           
static String KEYSTROKE
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener l)
           
 KeyStroke getKeyStroke()
          Returns the keystroke.
 Object getValue(String key)
           
 void putValue(String key, Object value)
           
 void removePropertyChangeListener(PropertyChangeListener l)
           
 void setKeyStroke(KeyStroke stroke)
           
 

Field Detail

DESCRIPTION

static final String DESCRIPTION
See Also:
Constant Field Values

CATEGORY

static final String CATEGORY
See Also:
Constant Field Values

KEYSTROKE

static final String KEYSTROKE
See Also:
Constant Field Values
Method Detail

putValue

void putValue(String key,
              Object value)

getValue

Object getValue(String key)

addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener l)

removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener l)

getKeyStroke

KeyStroke getKeyStroke()
Returns the keystroke.


setKeyStroke

void setKeyStroke(KeyStroke stroke)


Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.