src/main/java/com/mxgraph/swing/handler/mxKeyboardHandler.java
protected ActionMap createActionMap()
	{
		ActionMap map = (ActionMap) UIManager.get("ScrollPane.actionMap");

		map.put("edit", mxGraphActions.getEditAction());
		map.put("delete", mxGraphActions.getDeleteAction());
		map.put("home", mxGraphActions.getHomeAction());
		map.put("enterGroup", mxGraphActions.getEnterGroupAction());
		map.put("exitGroup", mxGraphActions.getExitGroupAction());
		map.put("collapse", mxGraphActions.getCollapseAction());
		map.put("expand", mxGraphActions.getExpandAction());
		map.put("toBack", mxGraphActions.getToBackAction());
		map.put("toFront", mxGraphActions.getToFrontAction());
		map.put("selectNone", mxGraphActions.getSelectNoneAction());
		map.put("selectAll", mxGraphActions.getSelectAllAction());
		map.put("selectNext", mxGraphActions.getSelectNextAction());
		map.put("selectPrevious", mxGraphActions.getSelectPreviousAction());
		map.put("selectParent", mxGraphActions.getSelectParentAction());
		map.put("selectChild", mxGraphActions.getSelectChildAction());
		map.put("cut", TransferHandler.getCutAction());
		map.put("copy", TransferHandler.getCopyAction());
		map.put("paste", TransferHandler.getPasteAction());
		map.put("group", mxGraphActions.getGroupAction());
		map.put("ungroup", mxGraphActions.getUngroupAction());
		map.put("zoomIn", mxGraphActions.getZoomInAction());
		map.put("zoomOut", mxGraphActions.getZoomOutAction());

		return map;
	}
/**
	 * Return the mapping between JTree's input map and JGraph's actions.
	 */
Return the mapping between JTree's input map and JGraph's actions.
Return the mapping between JTree ' s input map and JGraph ' s actions .
protected ActionMap createActionMap()
	{
		ActionMap map = (ActionMap) UIManager.get("ScrollPane.actionMap");
		map.put("edit", mxGraphActions.getEditAction());
		map.put("delete", mxGraphActions.getDeleteAction());
		map.put("home", mxGraphActions.getHomeAction());
		map.put("enterGroup", mxGraphActions.getEnterGroupAction());
		map.put("exitGroup", mxGraphActions.getExitGroupAction());
		map.put("collapse", mxGraphActions.getCollapseAction());
		map.put("expand", mxGraphActions.getExpandAction());
		map.put("toBack", mxGraphActions.getToBackAction());
		map.put("toFront", mxGraphActions.getToFrontAction());
		map.put("selectNone", mxGraphActions.getSelectNoneAction());
		map.put("selectAll", mxGraphActions.getSelectAllAction());
		map.put("selectNext", mxGraphActions.getSelectNextAction());
		map.put("selectPrevious", mxGraphActions.getSelectPreviousAction());
		map.put("selectParent", mxGraphActions.getSelectParentAction());
		map.put("selectChild", mxGraphActions.getSelectChildAction());
		map.put("cut", TransferHandler.getCutAction());
		map.put("copy", TransferHandler.getCopyAction());
		map.put("paste", TransferHandler.getPasteAction());
		map.put("group", mxGraphActions.getGroupAction());
		map.put("ungroup", mxGraphActions.getUngroupAction());
		map.put("zoomIn", mxGraphActions.getZoomInAction());
		map.put("zoomOut", mxGraphActions.getZoomOutAction());
		return map;
	}
protected ActionMap createActionMap ( ) { ActionMap map = ( ActionMap ) UIManager . get ( "ScrollPane.actionMap" ) ; map . put ( "edit" , mxGraphActions . getEditAction ( ) ) ; map . put ( "delete" , mxGraphActions . getDeleteAction ( ) ) ; map . put ( "home" , mxGraphActions . getHomeAction ( ) ) ; map . put ( "enterGroup" , mxGraphActions . getEnterGroupAction ( ) ) ; map . put ( "exitGroup" , mxGraphActions . getExitGroupAction ( ) ) ; map . put ( "collapse" , mxGraphActions . getCollapseAction ( ) ) ; map . put ( "expand" , mxGraphActions . getExpandAction ( ) ) ; map . put ( "toBack" , mxGraphActions . getToBackAction ( ) ) ; map . put ( "toFront" , mxGraphActions . getToFrontAction ( ) ) ; map . put ( "selectNone" , mxGraphActions . getSelectNoneAction ( ) ) ; map . put ( "selectAll" , mxGraphActions . getSelectAllAction ( ) ) ; map . put ( "selectNext" , mxGraphActions . getSelectNextAction ( ) ) ; map . put ( "selectPrevious" , mxGraphActions . getSelectPreviousAction ( ) ) ; map . put ( "selectParent" , mxGraphActions . getSelectParentAction ( ) ) ; map . put ( "selectChild" , mxGraphActions . getSelectChildAction ( ) ) ; map . put ( "cut" , TransferHandler . getCutAction ( ) ) ; map . put ( "copy" , TransferHandler . getCopyAction ( ) ) ; map . put ( "paste" , TransferHandler . getPasteAction ( ) ) ; map . put ( "group" , mxGraphActions . getGroupAction ( ) ) ; map . put ( "ungroup" , mxGraphActions . getUngroupAction ( ) ) ; map . put ( "zoomIn" , mxGraphActions . getZoomInAction ( ) ) ; map . put ( "zoomOut" , mxGraphActions . getZoomOutAction ( ) ) ; return map ; }
Return the mapping between JTree's input map and JGraph's actions.
Return the mapping between JTree ' s input map and JGraph ' s actions .