org.xnap.gui.shortcut
Class DefaultShortcut
java.lang.Object
org.xnap.gui.shortcut.DefaultShortcut
- All Implemented Interfaces:
- Shortcut
public class DefaultShortcut
- extends java.lang.Object
- implements Shortcut
|
Constructor Summary |
DefaultShortcut(javax.swing.KeyStroke defaultKeyStroke,
java.lang.String description,
java.lang.String prefsKey)
|
DefaultShortcut(javax.swing.KeyStroke defaultKeyStroke,
java.lang.String category,
java.lang.String description,
java.lang.String prefsKey)
|
DefaultShortcut(javax.swing.KeyStroke defaultKeyStroke,
java.lang.String category,
java.lang.String description,
java.lang.String prefsKey,
PreferencesProvider prefs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultShortcut
public DefaultShortcut(javax.swing.KeyStroke defaultKeyStroke,
java.lang.String category,
java.lang.String description,
java.lang.String prefsKey,
PreferencesProvider prefs)
DefaultShortcut
public DefaultShortcut(javax.swing.KeyStroke defaultKeyStroke,
java.lang.String category,
java.lang.String description,
java.lang.String prefsKey)
DefaultShortcut
public DefaultShortcut(javax.swing.KeyStroke defaultKeyStroke,
java.lang.String description,
java.lang.String prefsKey)
getCategory
public java.lang.String getCategory()
- Description copied from interface:
Shortcut
- Returns the parent category.
- Specified by:
getCategory in interface Shortcut
getKey
public java.lang.String getKey()
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Shortcut
getDefaultKeyStroke
public javax.swing.KeyStroke getDefaultKeyStroke()
- Description copied from interface:
Shortcut
- Returns a keystroke.
- Specified by:
getDefaultKeyStroke in interface Shortcut
getKeyStroke
public javax.swing.KeyStroke getKeyStroke()
- Description copied from interface:
Shortcut
- Returns a keystroke.
- Specified by:
getKeyStroke in interface Shortcut
setKeyStroke
public void setKeyStroke(javax.swing.KeyStroke stroke)
- Specified by:
setKeyStroke in interface Shortcut
Copyright © 2001-2005 XNap Team. All Rights Reserved.