org.xnap.gui.shortcut
Interface Shortcut

All Known Implementing Classes:
ActionShortcut, DefaultShortcut

public interface Shortcut

Defines the requirements for classes that provide shortcuts.


Method Summary
 java.lang.String getCategory()
          Returns the parent category.
 javax.swing.KeyStroke getDefaultKeyStroke()
          Returns a keystroke.
 java.lang.String getDescription()
           
 javax.swing.KeyStroke getKeyStroke()
          Returns a keystroke.
 void setKeyStroke(javax.swing.KeyStroke stroke)
           
 

Method Detail

getCategory

java.lang.String getCategory()
Returns the parent category.


getDescription

java.lang.String getDescription()

getDefaultKeyStroke

javax.swing.KeyStroke getDefaultKeyStroke()
Returns a keystroke.


getKeyStroke

javax.swing.KeyStroke getKeyStroke()
Returns a keystroke.


setKeyStroke

void setKeyStroke(javax.swing.KeyStroke stroke)


Copyright © 2001-2005 XNap Team. All Rights Reserved.