VASSAL.tools
Class KeyStrokeSource

java.lang.Object
  |
  +--VASSAL.tools.KeyStrokeSource

public class KeyStrokeSource
extends java.lang.Object

Utility class for registering a component as a source of hotkey events

See Also:
GameModule.addKeyStrokeSource(VASSAL.tools.KeyStrokeSource), GameModule.addKeyStrokeListener(VASSAL.tools.KeyStrokeListener)

Constructor Summary
KeyStrokeSource(javax.swing.JComponent c, int mode)
           
 
Method Summary
 javax.swing.JComponent getComponent()
           
 int getMode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStrokeSource

public KeyStrokeSource(javax.swing.JComponent c,
                       int mode)
Method Detail

getComponent

public javax.swing.JComponent getComponent()

getMode

public int getMode()