Class KeyboardController


  • public class KeyboardController
    extends com.mxgraph.swing.handler.mxKeyboardHandler
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyboardController​(com.mxgraph.swing.mxGraphComponent graphcomponent, ModelContainer modelcontainer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected javax.swing.ActionMap createActionMap()  
      protected javax.swing.InputMap getInputMap​(int condition)  
      • Methods inherited from class com.mxgraph.swing.handler.mxKeyboardHandler

        installKeyboardActions
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • modelcontainer

        protected ModelContainer modelcontainer
        The model container.
    • Constructor Detail

      • KeyboardController

        public KeyboardController​(com.mxgraph.swing.mxGraphComponent graphcomponent,
                                  ModelContainer modelcontainer)
    • Method Detail

      • createActionMap

        protected javax.swing.ActionMap createActionMap()
        Overrides:
        createActionMap in class com.mxgraph.swing.handler.mxKeyboardHandler
      • getInputMap

        protected javax.swing.InputMap getInputMap​(int condition)
        Overrides:
        getInputMap in class com.mxgraph.swing.handler.mxKeyboardHandler