gtklookandfeel.java

来自「JAVA 所有包」· Java 代码 · 共 1,369 行 · 第 1/5 页

JAVA
1,369
字号
            "RootPane.defaultButtonWindowKeyBindings", new Object[] {		               "ENTER", "press",		      "released ENTER", "release",		          "ctrl ENTER", "press",                 "ctrl released ENTER", "release"            },            "ScrollBar.squareButtons", Boolean.TRUE,            "ScrollBar.thumbHeight", new Integer(14),            "ScrollBar.width", new Integer(16),            "ScrollBar.minimumThumbSize", new Dimension(8, 8),            "ScrollBar.maximumThumbSize", new Dimension(4096, 4096),            "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"                   }),            "ScrollBar.ancestorInputMap.RightToLeft",                    new UIDefaults.LazyInputMap(new Object[] {		       "RIGHT", "negativeUnitIncrement",		    "KP_RIGHT", "negativeUnitIncrement",		        "LEFT", "positiveUnitIncrement",		     "KP_LEFT", "positiveUnitIncrement",                    }),	    "Spinner.disableOnBoundaryValues", Boolean.TRUE,            "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"                    }),            "ScrollPane.ancestorInputMap.RightToLeft",                    new UIDefaults.LazyInputMap(new Object[] {		    "ctrl PAGE_UP", "scrollRight",		  "ctrl PAGE_DOWN", "scrollLeft",                    }),            "ScrollPane.font", new FontLazyValue(Region.SCROLL_PANE),            "Separator.insets", zeroInsets,            "Separator.thickness", new Integer(2),            "Slider.paintValue", Boolean.TRUE,            "Slider.thumbWidth", new Integer(30),            "Slider.thumbHeight", new Integer(14),            "Slider.focusInputMap",                    new UIDefaults.LazyInputMap(new Object[] {                            "RIGHT", "positiveUnitIncrement",                         "KP_RIGHT", "positiveUnitIncrement",                             "DOWN", "negativeUnitIncrement",                          "KP_DOWN", "negativeUnitIncrement",                        "PAGE_DOWN", "negativeBlockIncrement",                             "LEFT", "negativeUnitIncrement",                          "KP_LEFT", "negativeUnitIncrement",                               "UP", "positiveUnitIncrement",                            "KP_UP", "positiveUnitIncrement",                          "PAGE_UP", "positiveBlockIncrement",                             "HOME", "minScroll",                              "END", "maxScroll"                        }),            "Slider.focusInputMap.RightToLeft",                    new UIDefaults.LazyInputMap(new Object[] {                            "RIGHT", "negativeUnitIncrement",                         "KP_RIGHT", "negativeUnitIncrement",                             "LEFT", "positiveUnitIncrement",                          "KP_LEFT", "positiveUnitIncrement",                         }),            "Spinner.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {                               "UP", "increment",                            "KP_UP", "increment",                             "DOWN", "decrement",                          "KP_DOWN", "decrement",               }),            "Spinner.font", new FontLazyValue(Region.SPINNER),            "Spinner.editorAlignment", JTextField.LEADING,            "SplitPane.ancestorInputMap",                    new UIDefaults.LazyInputMap(new Object[] {   		        "UP", "negativeIncrement",		      "DOWN", "positiveIncrement",		      "LEFT", "negativeIncrement",		     "RIGHT", "positiveIncrement",		     "KP_UP", "negativeIncrement",		   "KP_DOWN", "positiveIncrement",		   "KP_LEFT", "negativeIncrement",		  "KP_RIGHT", "positiveIncrement",		      "HOME", "selectMin",		       "END", "selectMax",		        "F8", "startResize",		        "F6", "toggleFocus",		  "ctrl TAB", "focusOutForward", 	    "ctrl shift TAB", "focusOutBackward"                    }),            "SplitPane.size", new Integer(7),            "SplitPane.oneTouchOffset", new Integer(2),            "SplitPane.oneTouchButtonSize", new Integer(5),            "SplitPane.supportsOneTouchButtons", Boolean.FALSE,	    "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",			 "SPACE", "selectTabWithFocus"		}),	    "TabbedPane.ancestorInputMap",	       new UIDefaults.LazyInputMap(new Object[] {		         "ctrl TAB", "navigateNext",		   "ctrl shift TAB", "navigatePrevious",		   "ctrl PAGE_DOWN", "navigatePageDown",	             "ctrl PAGE_UP", "navigatePageUp",	                  "ctrl UP", "requestFocus",	               "ctrl KP_UP", "requestFocus",		 }),            "TabbedPane.selectionFollowsFocus", Boolean.FALSE,            "TabbedPane.font", new FontLazyValue(Region.TABBED_PANE),            "Table.focusCellBackground", tableFocusCellBg,            "Table.focusCellForeground", tableFocusCellFg,            "Table.focusCellHighlightBorder", focusBorder,            "Table.focusSelectedCellHighlightBorder", focusSelectedBorder,            "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.ancestorInputMap.RightToLeft",                    new UIDefaults.LazyInputMap(new Object[] {                                "RIGHT", "selectPreviousColumn",                             "KP_RIGHT", "selectPreviousColumn",                          "shift RIGHT", "selectPreviousColumnExtendSelection",                       "shift KP_RIGHT", "selectPreviousColumnExtendSelection",                     "ctrl shift RIGHT", "selectPreviousColumnExtendSelection",                  "ctrl shift KP_RIGHT", "selectPreviousColumnExtendSelection",                          "shift RIGHT", "selectPreviousColumnChangeLead",                       "shift KP_RIGHT", "selectPreviousColumnChangeLead",                                 "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",                         "ctrl PAGE_UP", "scrollRightChangeSelection",                       "ctrl PAGE_DOWN", "scrollLeftChangeSelection",                   "ctrl shift PAGE_UP", "scrollRightExtendSelection",                 "ctrl shift PAGE_DOWN", "scrollLeftExtendSelection",                    }),            "Table.font", new FontLazyValue(Region.TABLE),            "Table.ascendingSortIcon",  new GTKStyle.GTKLazyValue(                              "com.sun.java.swing.plaf.gtk.GTKIconFactory",                              "getAscendingSortIcon"),            "Table.descendingSortIcon",  new GTKStyle.GTKLazyValue(                              "com.sun.java.swing.plaf.gtk.GTKIconFactory",                              "getDescendingSortIcon"),                        "TableHeader.font", new FontLazyValue(Region.TABLE_HEADER),            "TextArea.caretForeground", caretColor,            "TextArea.caretAspectRatio", defaultCaretAspectRatio,            "TextArea.caretBlinkRate", caretBlinkRate,            "TextArea.margin", zeroInsets,            "TextArea.focusInputMap", multilineInputMap,            "TextArea.font", new FontLazyValue(Region.TEXT_AREA),

⌨️ 快捷键说明

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