Path: blob/master/src/java.desktop/share/classes/sun/swing/plaf/WindowsKeybindings.java
41159 views
/*1* Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425package sun.swing.plaf;2627import javax.swing.JTextField;28import javax.swing.UIDefaults;29import javax.swing.text.DefaultEditorKit;3031/**32* WindowsKeybindings - The standard set of keymaps for the Windows Platform33*34* @author Jasper Potts35*/36public class WindowsKeybindings {3738/**39* Install all Windows keybindings into the provided UIDefaults table40*41* @param table The UiDefaults table to install into42*/43public static void installKeybindings(UIDefaults table) {44// *** Text45Object fieldInputMap = new UIDefaults.LazyInputMap(new Object[]{46"control C", DefaultEditorKit.copyAction,47"control V", DefaultEditorKit.pasteAction,48"control X", DefaultEditorKit.cutAction,49"COPY", DefaultEditorKit.copyAction,50"PASTE", DefaultEditorKit.pasteAction,51"CUT", DefaultEditorKit.cutAction,52"control INSERT", DefaultEditorKit.copyAction,53"shift INSERT", DefaultEditorKit.pasteAction,54"shift DELETE", DefaultEditorKit.cutAction,55"control A", DefaultEditorKit.selectAllAction,56"control BACK_SLASH", "unselect"/*DefaultEditorKit.unselectAction*/,57"shift LEFT", DefaultEditorKit.selectionBackwardAction,58"shift RIGHT", DefaultEditorKit.selectionForwardAction,59"control LEFT", DefaultEditorKit.previousWordAction,60"control RIGHT", DefaultEditorKit.nextWordAction,61"control shift LEFT", DefaultEditorKit.selectionPreviousWordAction,62"control shift RIGHT", DefaultEditorKit.selectionNextWordAction,63"HOME", DefaultEditorKit.beginLineAction,64"END", DefaultEditorKit.endLineAction,65"shift HOME", DefaultEditorKit.selectionBeginLineAction,66"shift END", DefaultEditorKit.selectionEndLineAction,67"BACK_SPACE", DefaultEditorKit.deletePrevCharAction,68"shift BACK_SPACE", DefaultEditorKit.deletePrevCharAction,69"ctrl H", DefaultEditorKit.deletePrevCharAction,70"DELETE", DefaultEditorKit.deleteNextCharAction,71"ctrl DELETE", DefaultEditorKit.deleteNextWordAction,72"ctrl BACK_SPACE", DefaultEditorKit.deletePrevWordAction,73"RIGHT", DefaultEditorKit.forwardAction,74"LEFT", DefaultEditorKit.backwardAction,75"KP_RIGHT", DefaultEditorKit.forwardAction,76"KP_LEFT", DefaultEditorKit.backwardAction,77"ENTER", JTextField.notifyAction,78"control shift O", "toggle-componentOrientation"/*DefaultEditorKit.toggleComponentOrientation*/79});80Object passwordInputMap = new UIDefaults.LazyInputMap(new Object[]{81"control C", DefaultEditorKit.copyAction,82"control V", DefaultEditorKit.pasteAction,83"control X", DefaultEditorKit.cutAction,84"COPY", DefaultEditorKit.copyAction,85"PASTE", DefaultEditorKit.pasteAction,86"CUT", DefaultEditorKit.cutAction,87"control INSERT", DefaultEditorKit.copyAction,88"shift INSERT", DefaultEditorKit.pasteAction,89"shift DELETE", DefaultEditorKit.cutAction,90"control A", DefaultEditorKit.selectAllAction,91"control BACK_SLASH", "unselect"/*DefaultEditorKit.unselectAction*/,92"shift LEFT", DefaultEditorKit.selectionBackwardAction,93"shift RIGHT", DefaultEditorKit.selectionForwardAction,94"control LEFT", DefaultEditorKit.beginLineAction,95"control RIGHT", DefaultEditorKit.endLineAction,96"control shift LEFT", DefaultEditorKit.selectionBeginLineAction,97"control shift RIGHT", DefaultEditorKit.selectionEndLineAction,98"HOME", DefaultEditorKit.beginLineAction,99"END", DefaultEditorKit.endLineAction,100"shift HOME", DefaultEditorKit.selectionBeginLineAction,101"shift END", DefaultEditorKit.selectionEndLineAction,102"BACK_SPACE", DefaultEditorKit.deletePrevCharAction,103"shift BACK_SPACE", DefaultEditorKit.deletePrevCharAction,104"ctrl H", DefaultEditorKit.deletePrevCharAction,105"DELETE", DefaultEditorKit.deleteNextCharAction,106"RIGHT", DefaultEditorKit.forwardAction,107"LEFT", DefaultEditorKit.backwardAction,108"KP_RIGHT", DefaultEditorKit.forwardAction,109"KP_LEFT", DefaultEditorKit.backwardAction,110"ENTER", JTextField.notifyAction,111"control shift O", "toggle-componentOrientation"/*DefaultEditorKit.toggleComponentOrientation*/112});113Object multilineInputMap = new UIDefaults.LazyInputMap(new Object[]{114"control C", DefaultEditorKit.copyAction,115"control V", DefaultEditorKit.pasteAction,116"control X", DefaultEditorKit.cutAction,117"COPY", DefaultEditorKit.copyAction,118"PASTE", DefaultEditorKit.pasteAction,119"CUT", DefaultEditorKit.cutAction,120"control INSERT", DefaultEditorKit.copyAction,121"shift INSERT", DefaultEditorKit.pasteAction,122"shift DELETE", DefaultEditorKit.cutAction,123"shift LEFT", DefaultEditorKit.selectionBackwardAction,124"shift RIGHT", DefaultEditorKit.selectionForwardAction,125"control LEFT", DefaultEditorKit.previousWordAction,126"control RIGHT", DefaultEditorKit.nextWordAction,127"control shift LEFT", DefaultEditorKit.selectionPreviousWordAction,128"control shift RIGHT", DefaultEditorKit.selectionNextWordAction,129"control A", DefaultEditorKit.selectAllAction,130"control BACK_SLASH", "unselect"/*DefaultEditorKit.unselectAction*/,131"HOME", DefaultEditorKit.beginLineAction,132"END", DefaultEditorKit.endLineAction,133"shift HOME", DefaultEditorKit.selectionBeginLineAction,134"shift END", DefaultEditorKit.selectionEndLineAction,135"control HOME", DefaultEditorKit.beginAction,136"control END", DefaultEditorKit.endAction,137"control shift HOME", DefaultEditorKit.selectionBeginAction,138"control shift END", DefaultEditorKit.selectionEndAction,139"UP", DefaultEditorKit.upAction,140"DOWN", DefaultEditorKit.downAction,141"BACK_SPACE", DefaultEditorKit.deletePrevCharAction,142"shift BACK_SPACE", DefaultEditorKit.deletePrevCharAction,143"ctrl H", DefaultEditorKit.deletePrevCharAction,144"DELETE", DefaultEditorKit.deleteNextCharAction,145"ctrl DELETE", DefaultEditorKit.deleteNextWordAction,146"ctrl BACK_SPACE", DefaultEditorKit.deletePrevWordAction,147"RIGHT", DefaultEditorKit.forwardAction,148"LEFT", DefaultEditorKit.backwardAction,149"KP_RIGHT", DefaultEditorKit.forwardAction,150"KP_LEFT", DefaultEditorKit.backwardAction,151"PAGE_UP", DefaultEditorKit.pageUpAction,152"PAGE_DOWN", DefaultEditorKit.pageDownAction,153"shift PAGE_UP", "selection-page-up",154"shift PAGE_DOWN", "selection-page-down",155"ctrl shift PAGE_UP", "selection-page-left",156"ctrl shift PAGE_DOWN", "selection-page-right",157"shift UP", DefaultEditorKit.selectionUpAction,158"shift DOWN", DefaultEditorKit.selectionDownAction,159"ENTER", DefaultEditorKit.insertBreakAction,160"TAB", DefaultEditorKit.insertTabAction,161"control T", "next-link-action",162"control shift T", "previous-link-action",163"control SPACE", "activate-link-action",164"control shift O", "toggle-componentOrientation"/*DefaultEditorKit.toggleComponentOrientation*/165});166Object[] defaults = {167"TextField.focusInputMap", fieldInputMap,168"PasswordField.focusInputMap", passwordInputMap,169"TextArea.focusInputMap", multilineInputMap,170"TextPane.focusInputMap", multilineInputMap,171"EditorPane.focusInputMap", multilineInputMap,172"Button.focusInputMap",173new UIDefaults.LazyInputMap(new Object[]{174"SPACE", "pressed",175"released SPACE", "released"176}),177"CheckBox.focusInputMap",178new UIDefaults.LazyInputMap(new Object[]{179"SPACE", "pressed",180"released SPACE", "released"181}),182"ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[]{183"ESCAPE", "hidePopup",184"PAGE_UP", "pageUpPassThrough",185"PAGE_DOWN", "pageDownPassThrough",186"HOME", "homePassThrough",187"END", "endPassThrough",188"DOWN", "selectNext2",189"KP_DOWN", "selectNext2",190"UP", "selectPrevious2",191"KP_UP", "selectPrevious2",192"ENTER", "enterPressed",193"F4", "togglePopup",194"alt DOWN", "togglePopup",195"alt KP_DOWN", "togglePopup",196"alt UP", "togglePopup",197"alt KP_UP", "togglePopup"198}),199"Desktop.ancestorInputMap",200new UIDefaults.LazyInputMap(new Object[]{201"ctrl F5", "restore",202"ctrl F4", "close",203"ctrl F7", "move",204"ctrl F8", "resize",205"RIGHT", "right",206"KP_RIGHT", "right",207"LEFT", "left",208"KP_LEFT", "left",209"UP", "up",210"KP_UP", "up",211"DOWN", "down",212"KP_DOWN", "down",213"ESCAPE", "escape",214"ctrl F9", "minimize",215"ctrl F10", "maximize",216"ctrl F6", "selectNextFrame",217"ctrl TAB", "selectNextFrame",218"ctrl alt F6", "selectNextFrame",219"shift ctrl alt F6", "selectPreviousFrame",220"ctrl F12", "navigateNext",221"shift ctrl F12", "navigatePrevious"222}),223"FileChooser.ancestorInputMap",224new UIDefaults.LazyInputMap(new Object[]{225"ESCAPE", "cancelSelection",226"F2", "editFileName",227"F5", "refresh",228"BACK_SPACE", "Go Up",229"ENTER", "approveSelection",230"ctrl ENTER", "approveSelection"231}),232"InternalFrame.windowBindings", new Object[]{233"shift ESCAPE", "showSystemMenu",234"ctrl SPACE", "showSystemMenu",235"ESCAPE", "hideSystemMenu"236},237"List.focusInputMap",238new UIDefaults.LazyInputMap(new Object[]{239"ctrl C", "copy",240"ctrl V", "paste",241"ctrl X", "cut",242"COPY", "copy",243"PASTE", "paste",244"CUT", "cut",245"control INSERT", "copy",246"shift INSERT", "paste",247"shift DELETE", "cut",248"UP", "selectPreviousRow",249"KP_UP", "selectPreviousRow",250"shift UP", "selectPreviousRowExtendSelection",251"shift KP_UP", "selectPreviousRowExtendSelection",252"ctrl shift UP", "selectPreviousRowExtendSelection",253"ctrl shift KP_UP", "selectPreviousRowExtendSelection",254"ctrl UP", "selectPreviousRowChangeLead",255"ctrl KP_UP", "selectPreviousRowChangeLead",256"DOWN", "selectNextRow",257"KP_DOWN", "selectNextRow",258"shift DOWN", "selectNextRowExtendSelection",259"shift KP_DOWN", "selectNextRowExtendSelection",260"ctrl shift DOWN", "selectNextRowExtendSelection",261"ctrl shift KP_DOWN", "selectNextRowExtendSelection",262"ctrl DOWN", "selectNextRowChangeLead",263"ctrl KP_DOWN", "selectNextRowChangeLead",264"LEFT", "selectPreviousColumn",265"KP_LEFT", "selectPreviousColumn",266"shift LEFT", "selectPreviousColumnExtendSelection",267"shift KP_LEFT", "selectPreviousColumnExtendSelection",268"ctrl shift LEFT", "selectPreviousColumnExtendSelection",269"ctrl shift KP_LEFT", "selectPreviousColumnExtendSelection",270"ctrl LEFT", "selectPreviousColumnChangeLead",271"ctrl KP_LEFT", "selectPreviousColumnChangeLead",272"RIGHT", "selectNextColumn",273"KP_RIGHT", "selectNextColumn",274"shift RIGHT", "selectNextColumnExtendSelection",275"shift KP_RIGHT", "selectNextColumnExtendSelection",276"ctrl shift RIGHT", "selectNextColumnExtendSelection",277"ctrl shift KP_RIGHT", "selectNextColumnExtendSelection",278"ctrl RIGHT", "selectNextColumnChangeLead",279"ctrl KP_RIGHT", "selectNextColumnChangeLead",280"HOME", "selectFirstRow",281"shift HOME", "selectFirstRowExtendSelection",282"ctrl shift HOME", "selectFirstRowExtendSelection",283"ctrl HOME", "selectFirstRowChangeLead",284"END", "selectLastRow",285"shift END", "selectLastRowExtendSelection",286"ctrl shift END", "selectLastRowExtendSelection",287"ctrl END", "selectLastRowChangeLead",288"PAGE_UP", "scrollUp",289"shift PAGE_UP", "scrollUpExtendSelection",290"ctrl shift PAGE_UP", "scrollUpExtendSelection",291"ctrl PAGE_UP", "scrollUpChangeLead",292"PAGE_DOWN", "scrollDown",293"shift PAGE_DOWN", "scrollDownExtendSelection",294"ctrl shift PAGE_DOWN", "scrollDownExtendSelection",295"ctrl PAGE_DOWN", "scrollDownChangeLead",296"ctrl A", "selectAll",297"ctrl SLASH", "selectAll",298"ctrl BACK_SLASH", "clearSelection",299"SPACE", "addToSelection",300"ctrl SPACE", "toggleAndAnchor",301"shift SPACE", "extendTo",302"ctrl shift SPACE", "moveSelectionTo"303}),304"MenuBar.windowBindings", new Object[]{305"F10", "takeFocus"306},307"RadioButton.focusInputMap",308new UIDefaults.LazyInputMap(new Object[]{309"SPACE", "pressed",310"released SPACE", "released"311}),312"OptionPane.windowBindings", new Object[]{313"ESCAPE", "close"314},315"FormattedTextField.focusInputMap",316new UIDefaults.LazyInputMap(new Object[]{317"ctrl C", DefaultEditorKit.copyAction,318"ctrl V", DefaultEditorKit.pasteAction,319"ctrl X", DefaultEditorKit.cutAction,320"COPY", DefaultEditorKit.copyAction,321"PASTE", DefaultEditorKit.pasteAction,322"CUT", DefaultEditorKit.cutAction,323"control INSERT", DefaultEditorKit.copyAction,324"shift INSERT", DefaultEditorKit.pasteAction,325"shift DELETE", DefaultEditorKit.cutAction,326"shift LEFT", DefaultEditorKit.selectionBackwardAction,327"shift KP_LEFT", DefaultEditorKit.selectionBackwardAction,328"shift RIGHT", DefaultEditorKit.selectionForwardAction,329"shift KP_RIGHT", DefaultEditorKit.selectionForwardAction,330"ctrl LEFT", DefaultEditorKit.previousWordAction,331"ctrl KP_LEFT", DefaultEditorKit.previousWordAction,332"ctrl RIGHT", DefaultEditorKit.nextWordAction,333"ctrl KP_RIGHT", DefaultEditorKit.nextWordAction,334"ctrl shift LEFT", DefaultEditorKit.selectionPreviousWordAction,335"ctrl shift KP_LEFT", DefaultEditorKit.selectionPreviousWordAction,336"ctrl shift RIGHT", DefaultEditorKit.selectionNextWordAction,337"ctrl shift KP_RIGHT", DefaultEditorKit.selectionNextWordAction,338"ctrl A", DefaultEditorKit.selectAllAction,339"HOME", DefaultEditorKit.beginLineAction,340"END", DefaultEditorKit.endLineAction,341"shift HOME", DefaultEditorKit.selectionBeginLineAction,342"shift END", DefaultEditorKit.selectionEndLineAction,343"BACK_SPACE", DefaultEditorKit.deletePrevCharAction,344"shift BACK_SPACE", DefaultEditorKit.deletePrevCharAction,345"ctrl H", DefaultEditorKit.deletePrevCharAction,346"DELETE", DefaultEditorKit.deleteNextCharAction,347"ctrl DELETE", DefaultEditorKit.deleteNextWordAction,348"ctrl BACK_SPACE", DefaultEditorKit.deletePrevWordAction,349"RIGHT", DefaultEditorKit.forwardAction,350"LEFT", DefaultEditorKit.backwardAction,351"KP_RIGHT", DefaultEditorKit.forwardAction,352"KP_LEFT", DefaultEditorKit.backwardAction,353"ENTER", JTextField.notifyAction,354"ctrl BACK_SLASH", "unselect",355"control shift O", "toggle-componentOrientation",356"ESCAPE", "reset-field-edit",357"UP", "increment",358"KP_UP", "increment",359"DOWN", "decrement",360"KP_DOWN", "decrement",361}),362"RootPane.ancestorInputMap",363new UIDefaults.LazyInputMap(new Object[]{364"shift F10", "postPopup",365"CONTEXT_MENU", "postPopup"366}),367// These bindings are only enabled when there is a default368// button set on the rootpane.369"RootPane.defaultButtonWindowKeyBindings", new Object[]{370"ENTER", "press",371"released ENTER", "release",372"ctrl ENTER", "press",373"ctrl released ENTER", "release"374},375"ScrollBar.ancestorInputMap",376new UIDefaults.LazyInputMap(new Object[]{377"RIGHT", "positiveUnitIncrement",378"KP_RIGHT", "positiveUnitIncrement",379"DOWN", "positiveUnitIncrement",380"KP_DOWN", "positiveUnitIncrement",381"PAGE_DOWN", "positiveBlockIncrement",382"ctrl PAGE_DOWN", "positiveBlockIncrement",383"LEFT", "negativeUnitIncrement",384"KP_LEFT", "negativeUnitIncrement",385"UP", "negativeUnitIncrement",386"KP_UP", "negativeUnitIncrement",387"PAGE_UP", "negativeBlockIncrement",388"ctrl PAGE_UP", "negativeBlockIncrement",389"HOME", "minScroll",390"END", "maxScroll"391}),392"ScrollPane.ancestorInputMap",393new UIDefaults.LazyInputMap(new Object[]{394"RIGHT", "unitScrollRight",395"KP_RIGHT", "unitScrollRight",396"DOWN", "unitScrollDown",397"KP_DOWN", "unitScrollDown",398"LEFT", "unitScrollLeft",399"KP_LEFT", "unitScrollLeft",400"UP", "unitScrollUp",401"KP_UP", "unitScrollUp",402"PAGE_UP", "scrollUp",403"PAGE_DOWN", "scrollDown",404"ctrl PAGE_UP", "scrollLeft",405"ctrl PAGE_DOWN", "scrollRight",406"ctrl HOME", "scrollHome",407"ctrl END", "scrollEnd"408}),409"Slider.focusInputMap",410new UIDefaults.LazyInputMap(new Object[]{411"RIGHT", "positiveUnitIncrement",412"KP_RIGHT", "positiveUnitIncrement",413"DOWN", "negativeUnitIncrement",414"KP_DOWN", "negativeUnitIncrement",415"PAGE_DOWN", "negativeBlockIncrement",416"LEFT", "negativeUnitIncrement",417"KP_LEFT", "negativeUnitIncrement",418"UP", "positiveUnitIncrement",419"KP_UP", "positiveUnitIncrement",420"PAGE_UP", "positiveBlockIncrement",421"HOME", "minScroll",422"END", "maxScroll"423}),424"Spinner.ancestorInputMap",425new UIDefaults.LazyInputMap(new Object[]{426"UP", "increment",427"KP_UP", "increment",428"DOWN", "decrement",429"KP_DOWN", "decrement",430}),431"SplitPane.ancestorInputMap",432new UIDefaults.LazyInputMap(new Object[]{433"UP", "negativeIncrement",434"DOWN", "positiveIncrement",435"LEFT", "negativeIncrement",436"RIGHT", "positiveIncrement",437"KP_UP", "negativeIncrement",438"KP_DOWN", "positiveIncrement",439"KP_LEFT", "negativeIncrement",440"KP_RIGHT", "positiveIncrement",441"HOME", "selectMin",442"END", "selectMax",443"F8", "startResize",444"F6", "toggleFocus",445"ctrl TAB", "focusOutForward",446"ctrl shift TAB", "focusOutBackward"447}),448"TabbedPane.focusInputMap",449new UIDefaults.LazyInputMap(new Object[]{450"RIGHT", "navigateRight",451"KP_RIGHT", "navigateRight",452"LEFT", "navigateLeft",453"KP_LEFT", "navigateLeft",454"UP", "navigateUp",455"KP_UP", "navigateUp",456"DOWN", "navigateDown",457"KP_DOWN", "navigateDown",458"ctrl DOWN", "requestFocusForVisibleComponent",459"ctrl KP_DOWN", "requestFocusForVisibleComponent",460}),461"TabbedPane.ancestorInputMap",462new UIDefaults.LazyInputMap(new Object[]{463"ctrl TAB", "navigateNext",464"ctrl shift TAB", "navigatePrevious",465"ctrl PAGE_DOWN", "navigatePageDown",466"ctrl PAGE_UP", "navigatePageUp",467"ctrl UP", "requestFocus",468"ctrl KP_UP", "requestFocus",469}),470"TableHeader.ancestorInputMap",471new UIDefaults.LazyInputMap(new Object[] {472"SPACE", "toggleSortOrder",473"LEFT", "selectColumnToLeft",474"KP_LEFT", "selectColumnToLeft",475"RIGHT", "selectColumnToRight",476"KP_RIGHT", "selectColumnToRight",477"alt LEFT", "moveColumnLeft",478"alt KP_LEFT", "moveColumnLeft",479"alt RIGHT", "moveColumnRight",480"alt KP_RIGHT", "moveColumnRight",481"alt shift LEFT", "resizeLeft",482"alt shift KP_LEFT", "resizeLeft",483"alt shift RIGHT", "resizeRight",484"alt shift KP_RIGHT", "resizeRight",485"ESCAPE", "focusTable",486}),487"Table.ancestorInputMap",488new UIDefaults.LazyInputMap(new Object[]{489"ctrl C", "copy",490"ctrl V", "paste",491"ctrl X", "cut",492"COPY", "copy",493"PASTE", "paste",494"CUT", "cut",495"control INSERT", "copy",496"shift INSERT", "paste",497"shift DELETE", "cut",498"RIGHT", "selectNextColumn",499"KP_RIGHT", "selectNextColumn",500"shift RIGHT", "selectNextColumnExtendSelection",501"shift KP_RIGHT", "selectNextColumnExtendSelection",502"ctrl shift RIGHT", "selectNextColumnExtendSelection",503"ctrl shift KP_RIGHT", "selectNextColumnExtendSelection",504"ctrl RIGHT", "selectNextColumnChangeLead",505"ctrl KP_RIGHT", "selectNextColumnChangeLead",506"LEFT", "selectPreviousColumn",507"KP_LEFT", "selectPreviousColumn",508"shift LEFT", "selectPreviousColumnExtendSelection",509"shift KP_LEFT", "selectPreviousColumnExtendSelection",510"ctrl shift LEFT", "selectPreviousColumnExtendSelection",511"ctrl shift KP_LEFT", "selectPreviousColumnExtendSelection",512"ctrl LEFT", "selectPreviousColumnChangeLead",513"ctrl KP_LEFT", "selectPreviousColumnChangeLead",514"DOWN", "selectNextRow",515"KP_DOWN", "selectNextRow",516"shift DOWN", "selectNextRowExtendSelection",517"shift KP_DOWN", "selectNextRowExtendSelection",518"ctrl shift DOWN", "selectNextRowExtendSelection",519"ctrl shift KP_DOWN", "selectNextRowExtendSelection",520"ctrl DOWN", "selectNextRowChangeLead",521"ctrl KP_DOWN", "selectNextRowChangeLead",522"UP", "selectPreviousRow",523"KP_UP", "selectPreviousRow",524"shift UP", "selectPreviousRowExtendSelection",525"shift KP_UP", "selectPreviousRowExtendSelection",526"ctrl shift UP", "selectPreviousRowExtendSelection",527"ctrl shift KP_UP", "selectPreviousRowExtendSelection",528"ctrl UP", "selectPreviousRowChangeLead",529"ctrl KP_UP", "selectPreviousRowChangeLead",530"HOME", "selectFirstColumn",531"shift HOME", "selectFirstColumnExtendSelection",532"ctrl shift HOME", "selectFirstRowExtendSelection",533"ctrl HOME", "selectFirstRow",534"END", "selectLastColumn",535"shift END", "selectLastColumnExtendSelection",536"ctrl shift END", "selectLastRowExtendSelection",537"ctrl END", "selectLastRow",538"PAGE_UP", "scrollUpChangeSelection",539"shift PAGE_UP", "scrollUpExtendSelection",540"ctrl shift PAGE_UP", "scrollLeftExtendSelection",541"ctrl PAGE_UP", "scrollLeftChangeSelection",542"PAGE_DOWN", "scrollDownChangeSelection",543"shift PAGE_DOWN", "scrollDownExtendSelection",544"ctrl shift PAGE_DOWN", "scrollRightExtendSelection",545"ctrl PAGE_DOWN", "scrollRightChangeSelection",546"TAB", "selectNextColumnCell",547"shift TAB", "selectPreviousColumnCell",548"ENTER", "selectNextRowCell",549"shift ENTER", "selectPreviousRowCell",550"ctrl A", "selectAll",551"ctrl SLASH", "selectAll",552"ctrl BACK_SLASH", "clearSelection",553"ESCAPE", "cancel",554"F2", "startEditing",555"SPACE", "addToSelection",556"ctrl SPACE", "toggleAndAnchor",557"shift SPACE", "extendTo",558"ctrl shift SPACE", "moveSelectionTo",559"F8", "focusHeader"560}),561"ToggleButton.focusInputMap",562new UIDefaults.LazyInputMap(new Object[]{563"SPACE", "pressed",564"released SPACE", "released"565}),566"ToolBar.ancestorInputMap",567new UIDefaults.LazyInputMap(new Object[]{568"UP", "navigateUp",569"KP_UP", "navigateUp",570"DOWN", "navigateDown",571"KP_DOWN", "navigateDown",572"LEFT", "navigateLeft",573"KP_LEFT", "navigateLeft",574"RIGHT", "navigateRight",575"KP_RIGHT", "navigateRight"576}),577"Tree.focusInputMap",578new UIDefaults.LazyInputMap(new Object[]{579"ADD", "expand",580"SUBTRACT", "collapse",581"ctrl C", "copy",582"ctrl V", "paste",583"ctrl X", "cut",584"COPY", "copy",585"PASTE", "paste",586"CUT", "cut",587"control INSERT", "copy",588"shift INSERT", "paste",589"shift DELETE", "cut",590"UP", "selectPrevious",591"KP_UP", "selectPrevious",592"shift UP", "selectPreviousExtendSelection",593"shift KP_UP", "selectPreviousExtendSelection",594"ctrl shift UP", "selectPreviousExtendSelection",595"ctrl shift KP_UP", "selectPreviousExtendSelection",596"ctrl UP", "selectPreviousChangeLead",597"ctrl KP_UP", "selectPreviousChangeLead",598"DOWN", "selectNext",599"KP_DOWN", "selectNext",600"shift DOWN", "selectNextExtendSelection",601"shift KP_DOWN", "selectNextExtendSelection",602"ctrl shift DOWN", "selectNextExtendSelection",603"ctrl shift KP_DOWN", "selectNextExtendSelection",604"ctrl DOWN", "selectNextChangeLead",605"ctrl KP_DOWN", "selectNextChangeLead",606"RIGHT", "selectChild",607"KP_RIGHT", "selectChild",608"LEFT", "selectParent",609"KP_LEFT", "selectParent",610"PAGE_UP", "scrollUpChangeSelection",611"shift PAGE_UP", "scrollUpExtendSelection",612"ctrl shift PAGE_UP", "scrollUpExtendSelection",613"ctrl PAGE_UP", "scrollUpChangeLead",614"PAGE_DOWN", "scrollDownChangeSelection",615"shift PAGE_DOWN", "scrollDownExtendSelection",616"ctrl shift PAGE_DOWN", "scrollDownExtendSelection",617"ctrl PAGE_DOWN", "scrollDownChangeLead",618"HOME", "selectFirst",619"shift HOME", "selectFirstExtendSelection",620"ctrl shift HOME", "selectFirstExtendSelection",621"ctrl HOME", "selectFirstChangeLead",622"END", "selectLast",623"shift END", "selectLastExtendSelection",624"ctrl shift END", "selectLastExtendSelection",625"ctrl END", "selectLastChangeLead",626"F2", "startEditing",627"ctrl A", "selectAll",628"ctrl SLASH", "selectAll",629"ctrl BACK_SLASH", "clearSelection",630"ctrl LEFT", "scrollLeft",631"ctrl KP_LEFT", "scrollLeft",632"ctrl RIGHT", "scrollRight",633"ctrl KP_RIGHT", "scrollRight",634"SPACE", "addToSelection",635"ctrl SPACE", "toggleAndAnchor",636"shift SPACE", "extendTo",637"ctrl shift SPACE", "moveSelectionTo"638}),639"Tree.ancestorInputMap",640new UIDefaults.LazyInputMap(new Object[]{641"ESCAPE", "cancel"642}),643};644table.putDefaults(defaults);645}646647}648649650