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

📄 metallookandfeel.java

📁 Mobile 应用程序使用 Java Micro Edition (Java ME) 平台
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
            "FileView.hardDriveIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getTreeHardDriveIcon"),            "FileView.floppyDriveIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getTreeFloppyDriveIcon"),            // File Chooser            "FileChooser.detailsViewIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getFileChooserDetailViewIcon"),            "FileChooser.homeFolderIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getFileChooserHomeFolderIcon"),            "FileChooser.listViewIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getFileChooserListViewIcon"),            "FileChooser.newFolderIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getFileChooserNewFolderIcon"),            "FileChooser.upFolderIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getFileChooserUpFolderIcon"),            "FileChooser.lookInLabelMnemonic", new Integer(KeyEvent.VK_I),            "FileChooser.fileNameLabelMnemonic", new Integer(KeyEvent.VK_N),            "FileChooser.filesOfTypeLabelMnemonic", new Integer(KeyEvent.VK_T),	    "FileChooser.usesSingleFilePane", Boolean.TRUE,	    "FileChooser.ancestorInputMap", 	       new UIDefaults.LazyInputMap(new Object[] {		     "ESCAPE", "cancelSelection",		     "F2", "editFileName",		     "F5", "refresh",		     "BACK_SPACE", "Go Up",		     "ENTER", "approveSelection",		"ctrl ENTER", "approveSelection"		 }),            // ToolTip            "ToolTip.font", systemTextValue,            "ToolTip.border", toolTipBorder,            "ToolTip.borderInactive", toolTipBorderInactive,            "ToolTip.backgroundInactive", control,            "ToolTip.foregroundInactive", controlDarkShadow,            "ToolTip.hideAccelerator", Boolean.FALSE,                            // ToolTipManager            "ToolTipManager.enableToolTipMode", "activeApplication",             // Slider Defaults            "Slider.font", controlTextValue,            "Slider.border", null,            "Slider.foreground", primaryControlShadow,            "Slider.focus", focusColor,	    "Slider.focusInsets", zeroInsets,            "Slider.trackWidth", new Integer( 7 ),            "Slider.majorTickLength", new Integer( 6 ),            "Slider.horizontalThumbIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getHorizontalSliderThumbIcon"),            "Slider.verticalThumbIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getVerticalSliderThumbIcon"),	    "Slider.focusInputMap",	       new UIDefaults.LazyInputMap(new Object[] {		       "RIGHT", "positiveUnitIncrement",		    "KP_RIGHT", "positiveUnitIncrement",		        "DOWN", "negativeUnitIncrement",		     "KP_DOWN", "negativeUnitIncrement",		   "PAGE_DOWN", "negativeBlockIncrement",	      "ctrl PAGE_DOWN", "negativeBlockIncrement",		        "LEFT", "negativeUnitIncrement",		     "KP_LEFT", "negativeUnitIncrement",		          "UP", "positiveUnitIncrement",		       "KP_UP", "positiveUnitIncrement",		     "PAGE_UP", "positiveBlockIncrement",                "ctrl PAGE_UP", "positiveBlockIncrement",		        "HOME", "minScroll",		         "END", "maxScroll"		 }),            // Progress Bar	    "ProgressBar.font", controlTextValue,            "ProgressBar.foreground", primaryControlShadow, 	    "ProgressBar.selectionBackground", primaryControlDarkShadow, 	    "ProgressBar.border", progressBarBorder,            "ProgressBar.cellSpacing", zero,            "ProgressBar.cellLength", new Integer(1),            // Combo Box            "ComboBox.background", control,            "ComboBox.foreground", controlTextColor,            "ComboBox.selectionBackground", primaryControlShadow,            "ComboBox.selectionForeground", controlTextColor,            "ComboBox.font", controlTextValue,	    "ComboBox.ancestorInputMap", new UIDefaults.LazyInputMap(new Object[] {		     "ESCAPE", "hidePopup",		    "PAGE_UP", "pageUpPassThrough",		  "PAGE_DOWN", "pageDownPassThrough",		       "HOME", "homePassThrough",		        "END", "endPassThrough",		       "DOWN", "selectNext",		    "KP_DOWN", "selectNext",		   "alt DOWN", "togglePopup",		"alt KP_DOWN", "togglePopup",		     "alt UP", "togglePopup",		  "alt KP_UP", "togglePopup",		      "SPACE", "spacePopup",		     "ENTER", "enterPressed",		         "UP", "selectPrevious",		      "KP_UP", "selectPrevious"	      }),            // Internal Frame Defaults            "InternalFrame.icon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory", "getInternalFrameDefaultMenuIcon"),            "InternalFrame.border", new SwingLazyValue("javax.swing.plaf.metal.MetalBorders$InternalFrameBorder"),            "InternalFrame.optionDialogBorder", new SwingLazyValue("javax.swing.plaf.metal.MetalBorders$OptionDialogBorder"),            "InternalFrame.paletteBorder", new SwingLazyValue("javax.swing.plaf.metal.MetalBorders$PaletteBorder"),	    "InternalFrame.paletteTitleHeight", new Integer(11),	    "InternalFrame.paletteCloseIcon", new SwingLazyValue("javax.swing.plaf.metal.MetalIconFactory$PaletteCloseIcon"),            "InternalFrame.closeIcon",                   new SwingLazyValue(				     "javax.swing.plaf.metal.MetalIconFactory", 				     "getInternalFrameCloseIcon",				     internalFrameIconArgs),            "InternalFrame.maximizeIcon",                   new SwingLazyValue(				     "javax.swing.plaf.metal.MetalIconFactory", 				     "getInternalFrameMaximizeIcon",				     internalFrameIconArgs),            "InternalFrame.iconifyIcon",                   new SwingLazyValue(				     "javax.swing.plaf.metal.MetalIconFactory", 				     "getInternalFrameMinimizeIcon",				     internalFrameIconArgs),            "InternalFrame.minimizeIcon",                   new SwingLazyValue(				     "javax.swing.plaf.metal.MetalIconFactory", 				     "getInternalFrameAltMaximizeIcon",				     internalFrameIconArgs),            "InternalFrame.titleFont",  windowTitleValue,	    "InternalFrame.windowBindings", null,	    // Internal Frame Auditory Cue Mappings            "InternalFrame.closeSound", "sounds/FrameClose.wav",            "InternalFrame.maximizeSound", "sounds/FrameMaximize.wav",            "InternalFrame.minimizeSound", "sounds/FrameMinimize.wav",            "InternalFrame.restoreDownSound", "sounds/FrameRestoreDown.wav",            "InternalFrame.restoreUpSound", "sounds/FrameRestoreUp.wav",            // Desktop Icon            "DesktopIcon.border", desktopIconBorder,            "DesktopIcon.font", controlTextValue,            "DesktopIcon.foreground", controlTextColor,            "DesktopIcon.background", control,            "DesktopIcon.width", new Integer(160),	    "Desktop.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {		 "ctrl F5", "restore", 		 "ctrl F4", "close",		 "ctrl F7", "move", 		 "ctrl F8", "resize",		   "RIGHT", "right",		"KP_RIGHT", "right",             "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",                   "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"		 }),            // 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"

⌨️ 快捷键说明

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