Lines Matching refs:keyHandler

703 		this.keyHandler = this.createKeyHandler(editor);
708 return keyHandler;
5080 var keyHandler = new mxKeyHandler(graph);
5082 var isEventIgnored = keyHandler.isEventIgnored;
5083 keyHandler.isEventIgnored = function(evt)
5096 keyHandler.isEnabledForEvent = function(evt)
5103 keyHandler.isControlDown = function(evt)
5255 var keyHandlerGetFunction = keyHandler.getFunction;
5331 keyHandler.bindAction = mxUtils.bind(this, function(code, control, key, shift)
5349 keyHandler.bindControlShiftKey(code, f);
5353 keyHandler.bindControlKey(code, f);
5360 keyHandler.bindShiftKey(code, f);
5364 keyHandler.bindKey(code, f);
5371 var keyHandlerEscape = keyHandler.escape;
5372 keyHandler.escape = function(evt)
5379 keyHandler.enter = function() {};
5381 keyHandler.bindControlShiftKey(36, function() { graph.exitGroup(); }); // Ctrl+Shift+Home
5382 keyHandler.bindControlShiftKey(35, function() { graph.enterGroup(); }); // Ctrl+Shift+End
5383 keyHandler.bindShiftKey(36, function() { graph.home(); }); // Ctrl+Shift+Home
5384 keyHandler.bindKey(35, function() { graph.refresh(); }); // End
5385 keyHandler.bindAction(107, true, 'zoomIn'); // Ctrl+Plus
5386 keyHandler.bindAction(109, true, 'zoomOut'); // Ctrl+Minus
5387 keyHandler.bindAction(80, true, 'print'); // Ctrl+P
5388 keyHandler.bindAction(79, true, 'outline', true); // Ctrl+Shift+O
5392keyHandler.bindControlKey(36, function() { if (graph.isEnabled()) { graph.foldCells(true); }}); //…
5393keyHandler.bindControlKey(35, function() { if (graph.isEnabled()) { graph.foldCells(false); }}); /…
5394 keyHandler.bindControlKey(13, function() { ui.ctrlEnter(); }); // Ctrl+Enter
5395 keyHandler.bindAction(8, false, 'delete'); // Backspace
5396 keyHandler.bindAction(8, true, 'deleteAll'); // Ctrl+Backspace
5397 keyHandler.bindAction(8, false, 'deleteLabels', true); // Shift+Backspace
5398 keyHandler.bindAction(46, false, 'delete'); // Delete
5399 keyHandler.bindAction(46, true, 'deleteAll'); // Ctrl+Delete
5400 keyHandler.bindAction(46, false, 'deleteLabels', true); // Shift+Delete
5401 keyHandler.bindAction(36, false, 'resetView'); // Home
5402 keyHandler.bindAction(72, true, 'fitWindow', true); // Ctrl+Shift+H
5403 keyHandler.bindAction(74, true, 'fitPage'); // Ctrl+J
5404 keyHandler.bindAction(74, true, 'fitTwoPages', true); // Ctrl+Shift+J
5405 keyHandler.bindAction(48, true, 'customZoom'); // Ctrl+0
5406 keyHandler.bindAction(82, true, 'turn'); // Ctrl+R
5407 keyHandler.bindAction(82, true, 'clearDefaultStyle', true); // Ctrl+Shift+R
5408 keyHandler.bindAction(83, true, 'save'); // Ctrl+S
5409 keyHandler.bindAction(83, true, 'saveAs', true); // Ctrl+Shift+S
5410 keyHandler.bindAction(65, true, 'selectAll'); // Ctrl+A
5411 keyHandler.bindAction(65, true, 'selectNone', true); // Ctrl+A
5412 keyHandler.bindAction(73, true, 'selectVertices', true); // Ctrl+Shift+I
5413 keyHandler.bindAction(69, true, 'selectEdges', true); // Ctrl+Shift+E
5414 keyHandler.bindAction(69, true, 'editStyle'); // Ctrl+E
5415 keyHandler.bindAction(66, true, 'bold'); // Ctrl+B
5416 keyHandler.bindAction(66, true, 'toBack', true); // Ctrl+Shift+B
5417 keyHandler.bindAction(70, true, 'toFront', true); // Ctrl+Shift+F
5418 keyHandler.bindAction(68, true, 'duplicate'); // Ctrl+D
5419 keyHandler.bindAction(68, true, 'setAsDefaultStyle', true); // Ctrl+Shift+D
5420 keyHandler.bindAction(90, true, 'undo'); // Ctrl+Z
5421 keyHandler.bindAction(89, true, 'autosize', true); // Ctrl+Shift+Y
5422 keyHandler.bindAction(88, true, 'cut'); // Ctrl+X
5423 keyHandler.bindAction(67, true, 'copy'); // Ctrl+C
5424 keyHandler.bindAction(86, true, 'paste'); // Ctrl+V
5425 keyHandler.bindAction(71, true, 'group'); // Ctrl+G
5426 keyHandler.bindAction(77, true, 'editData'); // Ctrl+M
5427 keyHandler.bindAction(71, true, 'grid', true); // Ctrl+Shift+G
5428 keyHandler.bindAction(73, true, 'italic'); // Ctrl+I
5429 keyHandler.bindAction(76, true, 'lockUnlock'); // Ctrl+L
5430 keyHandler.bindAction(76, true, 'layers', true); // Ctrl+Shift+L
5431 keyHandler.bindAction(80, true, 'formatPanel', true); // Ctrl+Shift+P
5432 keyHandler.bindAction(85, true, 'underline'); // Ctrl+U
5433 keyHandler.bindAction(85, true, 'ungroup', true); // Ctrl+Shift+U
5434 keyHandler.bindAction(190, true, 'superscript'); // Ctrl+.
5435 keyHandler.bindAction(188, true, 'subscript'); // Ctrl+,
5436 keyHandler.bindAction(13, false, 'keyPressEnter'); // Enter
5437keyHandler.bindKey(113, function() { if (graph.isEnabled()) { graph.startEditingAtCell(); }}); // …
5442 keyHandler.bindAction(90, true, 'redo', true); // Ctrl+Shift+Z
5446 keyHandler.bindAction(89, true, 'redo'); // Ctrl+Y
5449 return keyHandler;
5481 if (this.keyHandler != null)
5483 this.keyHandler.destroy();
5484 this.keyHandler = null;