⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 metallookandfeel.java

📁 JAVA的一些源码 JAVA2 STANDARD EDITION DEVELOPMENT KIT 5.0
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
             "shift RIGHT", "shrinkRight",          "shift KP_RIGHT", "shrinkRight",		    "LEFT", "left",		 "KP_LEFT", "left",              "shift LEFT", "shrinkLeft",           "shift KP_LEFT", "shrinkLeft",		      "UP", "up",		   "KP_UP", "up",                "shift UP", "shrinkUp",             "shift KP_UP", "shrinkUp",		    "DOWN", "down",		 "KP_DOWN", "down",              "shift DOWN", "shrinkDown",           "shift KP_DOWN", "shrinkDown",		  "ESCAPE", "escape",		 "ctrl F9", "minimize", 		"ctrl F10", "maximize",		 "ctrl F6", "selectNextFrame",		"ctrl TAB", "selectNextFrame",	     "ctrl alt F6", "selectNextFrame",       "shift ctrl alt F6", "selectPreviousFrame",                "ctrl F12", "navigateNext",           "shift ctrl F12", "navigatePrevious"	      }),            // Titled Border            "TitledBorder.font", controlTextValue,            "TitledBorder.titleColor", systemTextColor,            "TitledBorder.border", titledBorderBorder,            // Label            "Label.font", controlTextValue,            "Label.foreground", systemTextColor,            "Label.disabledForeground", getInactiveSystemTextColor(),            // List            "List.font", controlTextValue,            "List.focusCellHighlightBorder", focusCellHighlightBorder,	    "List.focusInputMap",	       new UIDefaults.LazyInputMap(new Object[] {                           "ctrl C", "copy",                           "ctrl V", "paste",                           "ctrl X", "cut",                             "COPY", "copy",                            "PASTE", "paste",                              "CUT", "cut",		               "UP", "selectPreviousRow",		            "KP_UP", "selectPreviousRow",		         "shift UP", "selectPreviousRowExtendSelection",		      "shift KP_UP", "selectPreviousRowExtendSelection",                    "ctrl shift UP", "selectPreviousRowExtendSelection",                 "ctrl shift KP_UP", "selectPreviousRowExtendSelection",                          "ctrl UP", "selectPreviousRowChangeLead",                       "ctrl KP_UP", "selectPreviousRowChangeLead",		             "DOWN", "selectNextRow",		          "KP_DOWN", "selectNextRow",		       "shift DOWN", "selectNextRowExtendSelection",		    "shift KP_DOWN", "selectNextRowExtendSelection",                  "ctrl shift DOWN", "selectNextRowExtendSelection",               "ctrl shift KP_DOWN", "selectNextRowExtendSelection",                        "ctrl DOWN", "selectNextRowChangeLead",                     "ctrl KP_DOWN", "selectNextRowChangeLead",		             "LEFT", "selectPreviousColumn",		          "KP_LEFT", "selectPreviousColumn",		       "shift LEFT", "selectPreviousColumnExtendSelection",		    "shift KP_LEFT", "selectPreviousColumnExtendSelection",                  "ctrl shift LEFT", "selectPreviousColumnExtendSelection",               "ctrl shift KP_LEFT", "selectPreviousColumnExtendSelection",                        "ctrl LEFT", "selectPreviousColumnChangeLead",                     "ctrl KP_LEFT", "selectPreviousColumnChangeLead",		            "RIGHT", "selectNextColumn",		         "KP_RIGHT", "selectNextColumn",		      "shift RIGHT", "selectNextColumnExtendSelection",		   "shift KP_RIGHT", "selectNextColumnExtendSelection",                 "ctrl shift RIGHT", "selectNextColumnExtendSelection",              "ctrl shift KP_RIGHT", "selectNextColumnExtendSelection",                       "ctrl RIGHT", "selectNextColumnChangeLead",                    "ctrl KP_RIGHT", "selectNextColumnChangeLead",		             "HOME", "selectFirstRow",		       "shift HOME", "selectFirstRowExtendSelection",                  "ctrl shift HOME", "selectFirstRowExtendSelection",                        "ctrl HOME", "selectFirstRowChangeLead",		              "END", "selectLastRow",		        "shift END", "selectLastRowExtendSelection",                   "ctrl shift END", "selectLastRowExtendSelection",                         "ctrl END", "selectLastRowChangeLead",		          "PAGE_UP", "scrollUp",		    "shift PAGE_UP", "scrollUpExtendSelection",               "ctrl shift PAGE_UP", "scrollUpExtendSelection",                     "ctrl PAGE_UP", "scrollUpChangeLead",		        "PAGE_DOWN", "scrollDown",		  "shift PAGE_DOWN", "scrollDownExtendSelection",             "ctrl shift PAGE_DOWN", "scrollDownExtendSelection",                   "ctrl PAGE_DOWN", "scrollDownChangeLead",		           "ctrl A", "selectAll",		       "ctrl SLASH", "selectAll",		  "ctrl BACK_SLASH", "clearSelection",                            "SPACE", "addToSelection",                       "ctrl SPACE", "toggleAndAnchor",                      "shift SPACE", "extendTo",                 "ctrl shift SPACE", "moveSelectionTo"		 }),            // ScrollBar            "ScrollBar.background", control,            "ScrollBar.highlight", controlHighlight,            "ScrollBar.shadow", controlShadow,            "ScrollBar.darkShadow", controlDarkShadow,            "ScrollBar.thumb", primaryControlShadow,            "ScrollBar.thumbShadow", primaryControlDarkShadow,            "ScrollBar.thumbHighlight", primaryControl,            "ScrollBar.width", new Integer( 17 ),	    "ScrollBar.allowsAbsolutePositioning", Boolean.TRUE,	    "ScrollBar.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {		       "RIGHT", "positiveUnitIncrement",		    "KP_RIGHT", "positiveUnitIncrement",		        "DOWN", "positiveUnitIncrement",		     "KP_DOWN", "positiveUnitIncrement",		   "PAGE_DOWN", "positiveBlockIncrement",		        "LEFT", "negativeUnitIncrement",		     "KP_LEFT", "negativeUnitIncrement",		          "UP", "negativeUnitIncrement",		       "KP_UP", "negativeUnitIncrement",		     "PAGE_UP", "negativeBlockIncrement",		        "HOME", "minScroll",		         "END", "maxScroll"		 }),	    // ScrollPane	    "ScrollPane.border", scrollPaneBorder,	    "ScrollPane.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {		           "RIGHT", "unitScrollRight",		        "KP_RIGHT", "unitScrollRight",		            "DOWN", "unitScrollDown",		         "KP_DOWN", "unitScrollDown",		            "LEFT", "unitScrollLeft",		         "KP_LEFT", "unitScrollLeft",		              "UP", "unitScrollUp",		           "KP_UP", "unitScrollUp",		         "PAGE_UP", "scrollUp",		       "PAGE_DOWN", "scrollDown",		    "ctrl PAGE_UP", "scrollLeft",		  "ctrl PAGE_DOWN", "scrollRight",		       "ctrl HOME", "scrollHome",		        "ctrl END", "scrollEnd"		 }),            // Tabbed Pane            "TabbedPane.font", controlTextValue,            "TabbedPane.tabAreaBackground", control,            "TabbedPane.background", controlShadow,            "TabbedPane.light", control,            "TabbedPane.focus", primaryControlDarkShadow,            "TabbedPane.selected", control,            "TabbedPane.selectHighlight", controlHighlight,            "TabbedPane.tabAreaInsets", tabbedPaneTabAreaInsets,            "TabbedPane.tabInsets", tabbedPaneTabInsets,	    "TabbedPane.focusInputMap",	      new UIDefaults.LazyInputMap(new Object[] {		         "RIGHT", "navigateRight",	              "KP_RIGHT", "navigateRight",	                  "LEFT", "navigateLeft",	               "KP_LEFT", "navigateLeft",	                    "UP", "navigateUp",	                 "KP_UP", "navigateUp",	                  "DOWN", "navigateDown",	               "KP_DOWN", "navigateDown",	             "ctrl DOWN", "requestFocusForVisibleComponent",	          "ctrl KP_DOWN", "requestFocusForVisibleComponent",		}),	    "TabbedPane.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {		   "ctrl PAGE_DOWN", "navigatePageDown",	             "ctrl PAGE_UP", "navigatePageUp",	                  "ctrl UP", "requestFocus",	               "ctrl KP_UP", "requestFocus",		 }),                        // Table	    "Table.font", userTextValue,            "Table.focusCellHighlightBorder", focusCellHighlightBorder,            "Table.scrollPaneBorder", scrollPaneBorder,      	    "Table.gridColor", controlShadow,  // grid line color	    "Table.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {                               "ctrl C", "copy",                               "ctrl V", "paste",                               "ctrl X", "cut",                                 "COPY", "copy",                                "PASTE", "paste",                                  "CUT", "cut",		                "RIGHT", "selectNextColumn",		             "KP_RIGHT", "selectNextColumn",                          "shift RIGHT", "selectNextColumnExtendSelection",                       "shift KP_RIGHT", "selectNextColumnExtendSelection",                     "ctrl shift RIGHT", "selectNextColumnExtendSelection",                  "ctrl shift KP_RIGHT", "selectNextColumnExtendSelection",                           "ctrl RIGHT", "selectNextColumnChangeLead",                        "ctrl KP_RIGHT", "selectNextColumnChangeLead",		                 "LEFT", "selectPreviousColumn",		              "KP_LEFT", "selectPreviousColumn",                           "shift LEFT", "selectPreviousColumnExtendSelection",                        "shift KP_LEFT", "selectPreviousColumnExtendSelection",                      "ctrl shift LEFT", "selectPreviousColumnExtendSelection",                   "ctrl shift KP_LEFT", "selectPreviousColumnExtendSelection",                            "ctrl LEFT", "selectPreviousColumnChangeLead",                         "ctrl KP_LEFT", "selectPreviousColumnChangeLead",		                 "DOWN", "selectNextRow",		              "KP_DOWN", "selectNextRow",                           "shift DOWN", "selectNextRowExtendSelection",                        "shift KP_DOWN", "selectNextRowExtendSelection",                      "ctrl shift DOWN", "selectNextRowExtendSelection",                   "ctrl shift KP_DOWN", "selectNextRowExtendSelection",                            "ctrl DOWN", "selectNextRowChangeLead",                         "ctrl KP_DOWN", "selectNextRowChangeLead",		                   "UP", "selectPreviousRow",		                "KP_UP", "selectPreviousRow",                             "shift UP", "selectPreviousRowExtendSelection",                          "shift KP_UP", "selectPreviousRowExtendSelection",                        "ctrl shift UP", "selectPreviousRowExtendSelection",                     "ctrl shift KP_UP", "selectPreviousRowExtendSelection",                              "ctrl UP", "selectPreviousRowChangeLead",                           "ctrl KP_UP", "selectPreviousRowChangeLead",                                 "HOME", "selectFirstColumn",                           "shift HOME", "selectFirstColumnExtendSelection",                      "ctrl shift HOME", "selectFirstRowExtendSelection",                            "ctrl HOME", "selectFirstRow",                                  "END", "selectLastColumn",                            "shift END", "selectLastColumnExtendSelection",                       "ctrl shift END", "selectLastRowExtendSelection",                             "ctrl END", "selectLastRow",		              "PAGE_UP", "scrollUpChangeSelection",                        "shift PAGE_UP", "scrollUpExtendSelection",                   "ctrl shift PAGE_UP", "scrollLeftExtendSelection",                         "ctrl PAGE_UP", "scrollLeftChangeSelection",		            "PAGE_DOWN", "scrollDownChangeSelection",		      "shift PAGE_DOWN", "scrollDownExtendSelection",                 "ctrl shift PAGE_DOWN", "scrollRightExtendSelection",		       "ctrl PAGE_DOWN", "scrollRightChangeSelection",		                  "TAB", "selectNextColumnCell",		            "shift TAB", "selectPreviousColumnCell",		                "ENTER", "selectNextRowCell",		          "shift ENTER", "selectPreviousRowCell",		               "ctrl A", "selectAll",                           "ctrl SLASH", "selectAll",                      "ctrl BACK_SLASH", "clearSelection",		               "ESCAPE", "cancel",		                   "F2", "startEditing",                                "SPACE", "addToSelection",                           "ctrl SPACE", "toggleAndAnchor",                          "shift SPACE", "extendTo",                     "ctrl shift SPACE", "moveSelectionTo"		 }),	    "TableHeader.font", userTextValue,	    "TableHeader.cellBorder", new SwingLazyValue(					  "javax.swing.plaf.metal.MetalBorders$TableHeaderBorder"),            // MenuBar            "MenuBar.border", menuBarBorder,            "MenuBar.font", menuTextValue,	    "MenuBar.windowBindings", new Object[] {		"F10", "takeFocus" },            // Menu            "Menu.border", menuItemBorder,            "Menu.borderPainted", Boolean.TRUE,	    "Menu.menuPopupOffsetX", zero,	    "Menu.menuPopupOffsetY", zero,	    "Menu.submenuPopupOffsetX", new Integer(-4),	    "Menu.submenuPopupOffsetY", new Integer(-3),            "Menu.font", menuTextValue,            "Menu.selectionForeground", menuSelectedForeground,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -