Package org.apache.pivot.wtk
Class Window.ActionMapping
- java.lang.Object
-
- org.apache.pivot.wtk.Window.ActionMapping
-
- Enclosing class:
- Window
public static class Window.ActionMapping extends java.lang.Object
Class representing a mapping from keystrokes to actions.
-
-
Constructor Summary
Constructors Constructor Description ActionMapping()
ActionMapping(Keyboard.KeyStroke keyStroke, java.lang.String actionID)
ActionMapping(Keyboard.KeyStroke keyStroke, Action action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
getAction()
Keyboard.KeyStroke
getKeyStroke()
Window
getWindow()
void
setAction(java.lang.String actionID)
void
setAction(Action action)
void
setKeyStroke(java.lang.String keyStroke)
void
setKeyStroke(Keyboard.KeyStroke keyStroke)
-
-
-
Constructor Detail
-
ActionMapping
public ActionMapping()
-
ActionMapping
public ActionMapping(Keyboard.KeyStroke keyStroke, Action action)
-
ActionMapping
public ActionMapping(Keyboard.KeyStroke keyStroke, java.lang.String actionID)
-
-
Method Detail
-
getWindow
public Window getWindow()
-
getKeyStroke
public Keyboard.KeyStroke getKeyStroke()
-
setKeyStroke
public void setKeyStroke(Keyboard.KeyStroke keyStroke)
-
setKeyStroke
public void setKeyStroke(java.lang.String keyStroke)
-
getAction
public Action getAction()
-
setAction
public void setAction(Action action)
-
setAction
public void setAction(java.lang.String actionID)
-
-