mxGraph 2.5.0.3


com.mxgraph.swing.handler
Class mxKeyboardHandler

java.lang.Object
  extended by com.mxgraph.swing.handler.mxKeyboardHandler

public class mxKeyboardHandler
extends Object


Constructor Summary
mxKeyboardHandler(mxGraphComponent graphComponent)
           
 
Method Summary
protected  ActionMap createActionMap()
          Return the mapping between JTree's input map and JGraph's actions.
protected  InputMap getInputMap(int condition)
          Return JTree's input map.
protected  void installKeyboardActions(mxGraphComponent graphComponent)
          Invoked as part from the boilerplate install block.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 InputMap getInputMap(int condition)
Return JTree's input map.


createActionMap

protected ActionMap createActionMap()
Return the mapping between JTree's input map and JGraph's actions.


mxGraph 2.5.0.3


Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.