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

📄 metallookandfeel.java

📁 Mobile 应用程序使用 Java Micro Edition (Java ME) 平台
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
		 }),	    // 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.dropLineColor", focusColor,            "Table.dropLineShortColor", primaryControlDarkShadow,      	    "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",                       "control INSERT", "copy",                         "shift INSERT", "paste",                         "shift DELETE", "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",                                   "F8", "focusHeader"		 }),            "Table.ascendingSortIcon",                SwingUtilities2.makeIcon(getClass(), MetalLookAndFeel.class,                "icons/sortUp.png"),            "Table.descendingSortIcon",                SwingUtilities2.makeIcon(getClass(), MetalLookAndFeel.class,                "icons/sortDown.png"),	    "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,            "Menu.selectionBackground", menuSelectedBackground,            "Menu.disabledForeground", menuDisabledForeground,            "Menu.acceleratorFont", subTextValue,            "Menu.acceleratorForeground", acceleratorForeground,            "Menu.acceleratorSelectionForeground", acceleratorSelectedForeground,            "Menu.checkIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getMenuItemCheckIcon"),            "Menu.arrowIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getMenuArrowIcon"),            // Menu Item            "MenuItem.border", menuItemBorder,            "MenuItem.borderPainted", Boolean.TRUE,            "MenuItem.font", menuTextValue,            "MenuItem.selectionForeground", menuSelectedForeground,            "MenuItem.selectionBackground", menuSelectedBackground,            "MenuItem.disabledForeground", menuDisabledForeground,            "MenuItem.acceleratorFont", subTextValue,            "MenuItem.acceleratorForeground", acceleratorForeground,            "MenuItem.acceleratorSelectionForeground", acceleratorSelectedForeground,	    "MenuItem.acceleratorDelimiter", menuItemAcceleratorDelimiter,            "MenuItem.checkIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getMenuItemCheckIcon"),            "MenuItem.arrowIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getMenuItemArrowIcon"),	         // Menu Item Auditory Cue Mapping	    "MenuItem.commandSound", "sounds/MenuItemCommand.wav",	    // OptionPane.	    "OptionPane.windowBindings", new Object[] {		"ESCAPE", "close" },	    // Option Pane Auditory Cue Mappings            "OptionPane.informationSound", "sounds/OptionPaneInformation.wav",            "OptionPane.warningSound", "sounds/OptionPaneWarning.wav",            "OptionPane.errorSound", "sounds/OptionPaneError.wav",            "OptionPane.questionSound", "sounds/OptionPaneQuestion.wav",            // Option Pane Special Dialog Colors, used when MetalRootPaneUI            // is providing window manipulation widgets.            "OptionPane.errorDialog.border.background",                        new ColorUIResource(153, 51, 51),            "OptionPane.errorDialog.titlePane.foreground",                        new ColorUIResource(51, 0, 0),            "OptionPane.errorDialog.titlePane.background",                        new ColorUIResource(255, 153, 153),            "OptionPane.errorDialog.titlePane.shadow",                        new ColorUIResource(204, 102, 102),            "OptionPane.questionDialog.border.background",                        new ColorUIResource(51, 102, 51),            "OptionPane.questionDialog.titlePane.foreground",                        new ColorUIResource(0, 51, 0),            "OptionPane.questionDialog.titlePane.background",                        new ColorUIResource(153, 204, 153),            "OptionPane.questionDialog.titlePane.shadow",                        new ColorUIResource(102, 153, 102),            "OptionPane.warningDialog.border.background",                        new ColorUIResource(153, 102, 51),            "OptionPane.warningDialog.titlePane.foreground",                        new ColorUIResource(102, 51, 0),            "OptionPane.warningDialog.titlePane.background",                        new ColorUIResource(255, 204, 153),            "OptionPane.warningDialog.titlePane.shadow",                        new ColorUIResource(204, 153, 102),            // OptionPane fonts are defined below                       // Separator            "Separator.background", getSeparatorBackground(),            "Separator.foreground", getSeparatorForeground(),            // Popup Menu            "PopupMenu.border", popupMenuBorder,          	         // Popup Menu Auditory Cue Mappings            "PopupMenu.popupSound", "sounds/PopupMenuPopup.wav",            "PopupMenu.font", menuTextValue,            // CB & RB Menu Item            "CheckBoxMenuItem.border", menuItemBorder,            "CheckBoxMenuItem.borderPainted", Boolean.TRUE,            "CheckBoxMenuItem.font", menuTextValue,            "CheckBoxMenuItem.selectionForeground", menuSelectedForeground,            "CheckBoxMenuItem.selectionBackground", menuSelectedBackground,            "CheckBoxMenuItem.disabledForeground", menuDisabledForeground,            "CheckBoxMenuItem.acceleratorFont", subTextValue,            "CheckBoxMenuItem.acceleratorForeground", acceleratorForeground,            "CheckBoxMenuItem.acceleratorSelectionForeground", acceleratorSelectedForeground,            "CheckBoxMenuItem.checkIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getCheckBoxMenuItemIcon"),            "CheckBoxMenuItem.arrowIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getMenuItemArrowIcon"),	    "CheckBoxMenuItem.commandSound", "sounds/MenuItemCommand.wav",            "RadioButtonMenuItem.border", menuItemBorder,            "RadioButtonMenuItem.borderPainted", Boolean.TRUE,            "RadioButtonMenuItem.font", menuTextValue,            "RadioButtonMenuItem.selectionForeground", menuSelectedForeground,            "RadioButtonMenuItem.selectionBackground", menuSelectedBackground,            "RadioButtonMenuItem.disabledForeground", menuDisabledForeground,            "RadioButtonMenuItem.acceleratorFont", subTextValue,            "RadioButtonMenuItem.acceleratorForeground", acceleratorForeground,            "RadioButtonMenuItem.acceleratorSelectionForeground", acceleratorSelectedForeground,            "RadioButtonMenuItem.checkIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getRadioButtonMenuItemIcon"),            "RadioButtonMenuItem.arrowIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getMenuItemArrowIcon"),	    "RadioButtonMenuItem.commandSound", "sounds/MenuItemCommand.wav",            "Spinner.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {                               "UP", "increment",                            "KP_UP", "increment",                             "DOWN", "decrement",                          "KP_DOWN", "decrement",               }),	    "Spinner.arrowButtonInsets", zeroInsets,	    "Spinner.border", textFieldBorder,	    "Spinner.arrowButtonBorder", buttonBorder,            "Spinner.font", controlTextValue,	    // SplitPane	    "SplitPane.dividerSize", new Integer(10),	    "SplitPane.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {		        "UP", "negativeIncrement",		      "DOWN", "positiveIn

⌨️ 快捷键说明

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