|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyMapManager
Date: 15-Jul-2002
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_KEY_MAP_NAME
The default key map should always be available so this is its name |
Method Summary | |
---|---|
java.lang.String[] |
getKeyMapNames()
Get an array of the key map names that are available |
javax.swing.KeyStroke |
getKeyStrokeFor(java.lang.String actionId)
Gets a key stroke for the given identifier, this uses the default key map name 'DEFAULT_KEY_MAP' . |
javax.swing.KeyStroke |
getKeyStrokeFor(java.lang.String keyMapName,
java.lang.String actionId)
Gets a key stroke for the given identifier |
void |
loadDirectory(java.io.File directoryToLoadFrom)
Loads all xml files from the given directory |
Field Detail |
---|
static final java.lang.String DEFAULT_KEY_MAP_NAME
Method Detail |
---|
void loadDirectory(java.io.File directoryToLoadFrom)
directoryToLoadFrom
- javax.swing.KeyStroke getKeyStrokeFor(java.lang.String keyMapName, java.lang.String actionId)
keyMapName
- - the name of the key map to useactionId
- - the name of the action whose key stroke to get
javax.swing.KeyStroke getKeyStrokeFor(java.lang.String actionId)
'DEFAULT_KEY_MAP'
.
actionId
- - the name of the action whose key stroke to get
java.lang.String[] getKeyMapNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |