Package com.mxgraph.swing.handler
Class mxKeyboardHandler
- java.lang.Object
-
- com.mxgraph.swing.handler.mxKeyboardHandler
-
public class mxKeyboardHandler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description mxKeyboardHandler(mxGraphComponent graphComponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.ActionMap
createActionMap()
Return the mapping between JTree's input map and JGraph's actions.protected javax.swing.InputMap
getInputMap(int condition)
Return JTree's input map.protected void
installKeyboardActions(mxGraphComponent graphComponent)
Invoked as part from the boilerplate install block.
-
-
-
Constructor Detail
-
mxKeyboardHandler
public mxKeyboardHandler(mxGraphComponent graphComponent)
- Parameters:
graphComponent
-
-
-
Method Detail
-
installKeyboardActions
protected void installKeyboardActions(mxGraphComponent graphComponent)
Invoked as part from the boilerplate install block.
-
getInputMap
protected javax.swing.InputMap getInputMap(int condition)
Return JTree's input map.
-
createActionMap
protected javax.swing.ActionMap createActionMap()
Return the mapping between JTree's input map and JGraph's actions.
-
-