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

📄 basiclookandfeel.java

📁 Mobile 应用程序使用 Java Micro Edition (Java ME) 平台
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
           "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"	      }),	    // *** Label	    "Label.font", dialogPlain12,	    "Label.background", control,	    "Label.foreground", controlText,	    "Label.disabledForeground", white,	    "Label.disabledShadow", controlShadow,            "Label.border", null,	    // *** List	    "List.font", dialogPlain12, 	    "List.background", window,	    "List.foreground", textText,	    "List.selectionBackground", textHighlight,	    "List.selectionForeground", textHighlightText,	    "List.focusCellHighlightBorder", focusCellHighlightBorder,            "List.dropLineColor", controlShadow,	    "List.border", null,	    "List.cellRenderer", listCellRendererActiveValue,	    "List.timeFactor", oneThousand,	    "List.focusInputMap",	       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",		               "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"		 }),	    "List.focusInputMap.RightToLeft",	       new UIDefaults.LazyInputMap(new Object[] {		             "LEFT", "selectNextColumn",		          "KP_LEFT", "selectNextColumn",		       "shift LEFT", "selectNextColumnExtendSelection",		    "shift KP_LEFT", "selectNextColumnExtendSelection",                  "ctrl shift LEFT", "selectNextColumnExtendSelection",               "ctrl shift KP_LEFT", "selectNextColumnExtendSelection",                        "ctrl LEFT", "selectNextColumnChangeLead",                     "ctrl KP_LEFT", "selectNextColumnChangeLead",		            "RIGHT", "selectPreviousColumn",		         "KP_RIGHT", "selectPreviousColumn",		      "shift RIGHT", "selectPreviousColumnExtendSelection",		   "shift KP_RIGHT", "selectPreviousColumnExtendSelection",                 "ctrl shift RIGHT", "selectPreviousColumnExtendSelection",              "ctrl shift KP_RIGHT", "selectPreviousColumnExtendSelection",                       "ctrl RIGHT", "selectPreviousColumnChangeLead",                    "ctrl KP_RIGHT", "selectPreviousColumnChangeLead",		 }),	    // *** Menus	    "MenuBar.font", dialogPlain12,	    "MenuBar.background", menu,	    "MenuBar.foreground", menuText,	    "MenuBar.shadow", controlShadow,            "MenuBar.highlight", controlLtHighlight,	    "MenuBar.border", menuBarBorder,	    "MenuBar.windowBindings", new Object[] {		"F10", "takeFocus" },	    "MenuItem.font", dialogPlain12,	    "MenuItem.acceleratorFont", dialogPlain12,	    "MenuItem.background", menu,	    "MenuItem.foreground", menuText,	    "MenuItem.selectionForeground", textHighlightText,	    "MenuItem.selectionBackground", textHighlight,	    "MenuItem.disabledForeground", null,	    "MenuItem.acceleratorForeground", menuText,	    "MenuItem.acceleratorSelectionForeground", textHighlightText,	    "MenuItem.acceleratorDelimiter", menuItemAcceleratorDelimiter,	    "MenuItem.border", marginBorder,	    "MenuItem.borderPainted", Boolean.FALSE,	    "MenuItem.margin", twoInsets,	    "MenuItem.checkIcon", menuItemCheckIcon,	    "MenuItem.arrowIcon", menuItemArrowIcon,	    "MenuItem.commandSound", null,	    "RadioButtonMenuItem.font", dialogPlain12,	    "RadioButtonMenuItem.acceleratorFont", dialogPlain12,	    "RadioButtonMenuItem.background", menu,	    "RadioButtonMenuItem.foreground", menuText,	    "RadioButtonMenuItem.selectionForeground", textHighlightText,	    "RadioButtonMenuItem.selectionBackground", textHighlight,	    "RadioButtonMenuItem.disabledForeground", null,	    "RadioButtonMenuItem.acceleratorForeground", menuText,	    "RadioButtonMenuItem.acceleratorSelectionForeground", textHighlightText,	    "RadioButtonMenuItem.border", marginBorder,	    "RadioButtonMenuItem.borderPainted", Boolean.FALSE,	    "RadioButtonMenuItem.margin", twoInsets,	    "RadioButtonMenuItem.checkIcon", radioButtonMenuItemIcon,	    "RadioButtonMenuItem.arrowIcon", menuItemArrowIcon,	    "RadioButtonMenuItem.commandSound", null,	    "CheckBoxMenuItem.font", dialogPlain12,	    "CheckBoxMenuItem.acceleratorFont", dialogPlain12,	    "CheckBoxMenuItem.background", menu,	    "CheckBoxMenuItem.foreground", menuText,	    "CheckBoxMenuItem.selectionForeground", textHighlightText,	    "CheckBoxMenuItem.selectionBackground", textHighlight,	    "CheckBoxMenuItem.disabledForeground", null,	    "CheckBoxMenuItem.acceleratorForeground", menuText,	    "CheckBoxMenuItem.acceleratorSelectionForeground", textHighlightText,	    "CheckBoxMenuItem.border", marginBorder,	    "CheckBoxMenuItem.borderPainted", Boolean.FALSE,	    "CheckBoxMenuItem.margin", twoInsets,	    "CheckBoxMenuItem.checkIcon", checkBoxMenuItemIcon,	    "CheckBoxMenuItem.arrowIcon", menuItemArrowIcon,	    "CheckBoxMenuItem.commandSound", null,	    "Menu.font", dialogPlain12,	    "Menu.acceleratorFont", dialogPlain12,	    "Menu.background", menu,	    "Menu.foreground", menuText,	    "Menu.selectionForeground", textHighlightText,	    "Menu.selectionBackground", textHighlight,	    "Menu.disabledForeground", null,	    "Menu.acceleratorForeground", menuText,	    "Menu.acceleratorSelectionForeground", textHighlightText,	    "Menu.border", marginBorder,	    "Menu.borderPainted", Boolean.FALSE,	    "Menu.margin", twoInsets,	    "Menu.checkIcon", menuItemCheckIcon,	    "Menu.arrowIcon", menuArrowIcon,	    "Menu.menuPopupOffsetX", new Integer(0),	    "Menu.menuPopupOffsetY", new Integer(0),	    "Menu.submenuPopupOffsetX", new Integer(0),	    "Menu.submenuPopupOffsetY", new Integer(0), 	    "Menu.shortcutKeys", new int[] {KeyEvent.ALT_MASK},            "Menu.crossMenuMnemonic", Boolean.TRUE,	    // PopupMenu	    "PopupMenu.font", dialogPlain12,	    "PopupMenu.background", menu,	    "PopupMenu.foreground", menuText,	    "PopupMenu.border", popupMenuBorder,	         // Internal Frame Auditory Cue Mappings            "PopupMenu.popupSound", null,	    // These window InputMap bindings are used when the Menu is	    // selected.	    "PopupMenu.selectedWindowInputMapBindings", new Object[] {		  "ESCAPE", "cancel",                    "DOWN", "selectNext",		 "KP_DOWN", "selectNext",		      "UP", "selectPrevious",		   "KP_UP", "selectPrevious",		    "LEFT", "selectParent",		 "KP_LEFT", "selectParent",		   "RIGHT", "selectChild",		"KP_RIGHT", "selectChild",		   "ENTER", "return",              "ctrl ENTER", "return",		   "SPACE", "return"	    },	    "PopupMenu.selectedWindowInputMapBindings.RightToLeft", new Object[] {		    "LEFT", "selectChild",		 "KP_LEFT", "selectChild",		   "RIGHT", "selectParent",		"KP_RIGHT", "selectParent",	    },            "PopupMenu.consumeEventOnClose", Boolean.FALSE,	    // *** OptionPane            // You can additionaly define OptionPane.messageFont which will            // dictate the fonts used for the message, and            // OptionPane.buttonFont, which defines the font for the buttons.	    "OptionPane.font", dialogPlain12,	    "OptionPane.background", control,	    "OptionPane.foreground", controlText,            "OptionPane.messageForeground", controlText,	    "OptionPane.border", optionPaneBorder,            "OptionPane.messageAreaBorder", zeroBorder,            "OptionPane.buttonAreaBorder", optionPaneButtonAreaBorder,            "OptionPane.minimumSize", optionPaneMinimumSize,	    "OptionPane.errorIcon", SwingUtilities2.makeIcon(getClass(),                                                             BasicLookAndFeel.class,                                                             "icons/Error.gif"),            "OptionPane.informationIcon", SwingUtilities2.makeIcon(getClass(),                                                                   BasicLookAndFeel.class,                                                                   "icons/Inform.gif"),            "OptionPane.warningIcon", SwingUtilities2.makeIcon(getClass(),                                                               BasicLookAndFeel.class,                                                               "icons/Warn.gif"),            "OptionPane.questionIcon", SwingUtilities2.makeIcon(getClass(),                                                                BasicLookAndFeel.class,                                                                "icons/Question.gif"),	    "OptionPane.windowBindings", new Object[] {		"ESCAPE", "close" },	         // OptionPane Auditory Cue Mappings            "OptionPane.errorSound", null,            "OptionPane.informationSound", null, // Info and Plain            "OptionPane.questionSound", null,            "OptionPane.warningSound", null,	    "OptionPane.buttonClickThreshhold", fiveHundred,	    // *** Panel	    "Panel.font", dialogPlain12,	    "Panel.background", control,	    "Panel.foreground", textText,	    // *** ProgressBar	    "ProgressBar.font", dialogPlain12,	    "ProgressBar.foreground",  textHighlight,	    "ProgressBar.background", control,	    "ProgressBar.selectionForeground", control,	    "ProgressBar.selectionBackground", textHighlight,	    "ProgressBar.border", progressBarBorder,            "ProgressBar.cellLength", new Integer(1),            "ProgressBar.cellSpacing", zero,            "ProgressBar.repaintInterval", new Integer(50),            "ProgressBar.cycleTime", new Integer(3000),            "ProgressBar.horizontalSize", new DimensionUIResource(146, 12),            "ProgressBar.verticalSize", new DimensionUIResource(12, 146),           // *** Separator            "Separator.shadow", controlShadow,          // DEPRECATED - DO NOT USE!            "Separator.highlight", controlLtHighlight,  // DEPRECATED - DO NOT USE!            "Separator.background", controlLtHighlight,            "Separator.foreground", controlShadow,	    // *** ScrollBar/ScrollPane/Viewport	    "ScrollBar.background", scrollBarTrack,	    "ScrollBar.foreground", control,	    "ScrollBar.track", table.get("scrollbar"),	    "ScrollBar.trackHighlight", controlDkShadow,	    "ScrollBar.thumb", control,	    "ScrollBar.thumbHighlight", controlLtHighlight,	    "ScrollBar.thumbDarkShadow", controlDkShadow,	    "ScrollBar.thumbShadow", controlShadow,	    "ScrollBar.border", null,	    "ScrollBar.minimumThumbSize", minimumThumbSize,	    "ScrollBar.maximumThumbSize", maximumThumbSize,	    "ScrollBar.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {

⌨️ 快捷键说明

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