2362N/A * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * The Java Look and Feel, otherwise known as Metal. 0N/A * Each of the {@code ComponentUI}s provided by {@code 0N/A * MetalLookAndFeel} derives its behavior from the defaults 0N/A * table. Unless otherwise noted each of the {@code ComponentUI} 0N/A * implementations in this package document the set of defaults they 0N/A * use. Unless otherwise noted the defaults are installed at the time 0N/A * {@code installUI} is invoked, and follow the recommendations 0N/A * outlined in {@code LookAndFeel} for installing defaults. 0N/A * {@code MetalLookAndFeel} derives it's color palette and fonts from 0N/A * {@code MetalTheme}. The default theme is {@code OceanTheme}. The theme 0N/A * can be changed using the {@code setCurrentTheme} method, refer to it 0N/A * for details on changing the theme. Prior to 1.5 the default 0N/A * theme was {@code DefaultMetalTheme}. The system property 0N/A * {@code "swing.metalTheme"} can be set to {@code "steel"} to indicate 0N/A * the default should be {@code DefaultMetalTheme}. 0N/A * <strong>Warning:</strong> 0N/A * Serialized objects of this class will not be compatible with 0N/A * future Swing releases. The current serialization support is 0N/A * appropriate for short term storage or RMI between applications running 0N/A * the same version of Swing. As of 1.4, support for long term storage 0N/A * of all JavaBeans<sup><font size="-2">TM</font></sup> 0N/A * has been added to the <code>java.beans</code> package. 0N/A * @see DefaultMetalTheme 0N/A * @author Steve Wilson 0N/A * True if checked for windows yet. 0N/A * True if running on Windows. 0N/A * Set to true first time we've checked swing.useSystemFontSettings. 0N/A * True indicates we should use system fonts, unless the developer has 0N/A * specified otherwise with Application.useSystemFontSettings. 0N/A * Returns true if running on Windows. 0N/A * Returns true if system fonts should be used, this is only useful 0N/A "Application.useSystemFontSettings");
0N/A // If an instanceof MetalLookAndFeel hasn't been inited yet, we 0N/A // don't want to trigger loading of a UI by asking the UIManager 0N/A // for a property, assume the user wants system fonts. This will 0N/A // be properly adjusted when install is invoked on the 0N/A * Returns true if the high contrast theme should be used as the default 0N/A * Returns true if we're using the Ocean Theme. 0N/A * Returns the name of this look and feel. This returns 0N/A * @return the name of this look and feel 0N/A * Returns an identifier for this look and feel. This returns 0N/A * @return the identifier of this look and feel 0N/A * Returns a short description of this look and feel. This returns 0N/A * {@code "The Java(tm) Look and Feel"}. 0N/A * @return a short description for the look and feel 0N/A return "The Java(tm) Look and Feel";
0N/A * Returns {@code false}; {@code MetalLookAndFeel} is not a native 0N/A * @return {@code false} 0N/A * Returns {@code true}; {@code MetalLookAndFeel} can be run on 0N/A * @return {@code true} 0N/A * Returns {@code true}; metal can provide {@code Window} 0N/A * @return {@code true} 0N/A * @see JDialog#setDefaultLookAndFeelDecorated 0N/A * @see JFrame#setDefaultLookAndFeelDecorated 0N/A * @see JRootPane#setWindowDecorationStyle 0N/A * Populates {@code table} with mappings from {@code uiClassID} to 0N/A * the fully qualified name of the ui class. {@code 0N/A * MetalLookAndFeel} registers an entry for each of the classes in 0N/A * the package {@code javax.swing.plaf.metal} that are named 0N/A * MetalXXXUI. The string {@code XXX} is one of Swing's uiClassIDs. For 0N/A * the {@code uiClassIDs} that do not have a class in metal, the 0N/A * corresponding class in {@code javax.swing.plaf.basic} is 0N/A * used. For example, metal does not have a class named {@code 0N/A * "MetalColorChooserUI"}, as such, {@code 0N/A * javax.swing.plaf.basic.BasicColorChooserUI} is used. 0N/A * @param table the {@code UIDefaults} instance the entries are 0N/A * @throws NullPointerException if {@code table} is {@code null} 0N/A * @see javax.swing.plaf.basic.BasicLookAndFeel#initClassDefaults 0N/A * Populates {@code table} with system colors. The following values are 0N/A * added to {@code table}: 0N/A * <table border="1" cellpadding="1" cellspacing="0" 0N/A * summary="Metal's system color mapping" 0N/A * <tr valign="top" align="left"> 0N/A * <th bgcolor="#CCCCFF" align="left">Key 0N/A * <th bgcolor="#CCCCFF" align="left">Value 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getDesktopColor()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"activeCaption" 0N/A * <td>{@code theme.getWindowTitleBackground()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"activeCaptionText" 0N/A * <td>{@code theme.getWindowTitleForeground()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"activeCaptionBorder" 0N/A * <td>{@code theme.getPrimaryControlShadow()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"inactiveCaption" 0N/A * <td>{@code theme.getWindowTitleInactiveBackground()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"inactiveCaptionText" 0N/A * <td>{@code theme.getWindowTitleInactiveForeground()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"inactiveCaptionBorder" 0N/A * <td>{@code theme.getControlShadow()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getWindowBackground()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"windowBorder" 0N/A * <td>{@code theme.getControl()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getUserTextColor()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getMenuBackground()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getMenuForeground()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getWindowBackground()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getUserTextColor()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"textHighlight" 0N/A * <td>{@code theme.getTextHighlightColor()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"textHighlightText" 0N/A * <td>{@code theme.getHighlightedTextColor()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"textInactiveText" 0N/A * <td>{@code theme.getInactiveSystemTextColor()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getControl()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getControlTextColor()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"controlHighlight" 0N/A * <td>{@code theme.getControlHighlight()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"controlLtHighlight" 0N/A * <td>{@code theme.getControlHighlight()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"controlShadow" 0N/A * <td>{@code theme.getControlShadow()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>"controlDkShadow" 0N/A * <td>{@code theme.getControlDarkShadow()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getControl()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getPrimaryControl()} 0N/A * <tr valign="top" align="left"> 0N/A * <td>{@code theme.getPrimaryControlInfo()} 0N/A * The value {@code theme} corresponds to the current {@code MetalTheme}. 0N/A * @param table the {@code UIDefaults} object the values are added to 0N/A * @throws NullPointerException if {@code table} is {@code null} 0N/A "control",
control,
/* Default color for controls (buttons, sliders, etc) */ 0N/A "scrollbar",
control,
/* Scrollbar background (usually the "track") */ 0N/A * Initialize the defaults table with the name of the ResourceBundle 0N/A * used for getting localized defaults. 0N/A * Populates {@code table} with the defaults for metal. 0N/A * @param table the {@code UIDefaults} to add the values to 0N/A * @throws NullPointerException if {@code table} is {@code null} 0N/A "getTextFieldBorder");
0N/A "javax.swing.plaf.metal.MetalBorders$DialogBorder");
0N/A "javax.swing.plaf.metal.MetalBorders$QuestionDialogBorder");
0N/A "ctrl BACK_SLASH",
"unselect"/*DefaultEditorKit.unselectAction*/,
0N/A "control shift O",
"toggle-componentOrientation"/*DefaultEditorKit.toggleComponentOrientation*/ 0N/A "ctrl BACK_SLASH",
"unselect"/*DefaultEditorKit.unselectAction*/,
0N/A "control shift O",
"toggle-componentOrientation"/*DefaultEditorKit.toggleComponentOrientation*/ 0N/A "shift PAGE_UP",
"selection-page-up",
0N/A "shift PAGE_DOWN",
"selection-page-down",
0N/A "ctrl shift PAGE_UP",
"selection-page-left",
0N/A "ctrl shift PAGE_DOWN",
"selection-page-right",
0N/A "ctrl BACK_SLASH",
"unselect"/*DefaultEditorKit.unselectAction*/,
0N/A "ctrl T",
"next-link-action",
0N/A "ctrl shift T",
"previous-link-action",
0N/A "ctrl SPACE",
"activate-link-action",
0N/A "control shift O",
"toggle-componentOrientation"/*DefaultEditorKit.toggleComponentOrientation*/ 0N/A "getToggleButtonBorder");
0N/A "javax.swing.plaf.BorderUIResource$LineBorderUIResource",
0N/A "javax.swing.plaf.metal.MetalBorders",
0N/A "getDesktopIconBorder");
0N/A "javax.swing.plaf.metal.MetalBorders$MenuBarBorder");
0N/A "javax.swing.plaf.metal.MetalBorders$PopupMenuBorder");
0N/A "javax.swing.plaf.metal.MetalBorders$MenuItemBorder");
0N/A "javax.swing.plaf.BorderUIResource$LineBorderUIResource",
0N/A "javax.swing.plaf.BorderUIResource$LineBorderUIResource",
0N/A "javax.swing.plaf.BorderUIResource$LineBorderUIResource",
0N/A "javax.swing.plaf.BorderUIResource$LineBorderUIResource",
0N/A "OptionPane.errorSound",
0N/A "OptionPane.informationSound",
0N/A "OptionPane.questionSound",
0N/A "OptionPane.warningSound" };
0N/A // *** Auditory Feedback 0N/A // this key defines which of the various cues to render 0N/A // This is disabled until sound bugs can be resolved. 0N/A "AuditoryCues.playList",
null,
// defaultCueList, 0N/A // Text (Note: many are inherited) 0N/A // passwordField.font should actually map to 0N/A // win.ansiFixed.font.height on windows. 0N/A "PasswordField.echoChar", (
char)
0x2022,
0N/A // TextArea.font should actually map to win.ansiFixed.font.height 0N/A // FormattedTextFields 0N/A "FormattedTextField.focusInputMap",
0N/A "ctrl BACK_SLASH",
"unselect",
0N/A "control shift O",
"toggle-componentOrientation",
0N/A "ESCAPE",
"reset-field-edit",
0N/A "KP_UP",
"increment",
0N/A "DOWN",
"decrement",
0N/A "KP_DOWN",
"decrement",
0N/A "released SPACE",
"released" 0N/A "CheckBox.icon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getCheckBoxIcon"),
0N/A "CheckBox.focusInputMap",
0N/A "released SPACE",
"released" 0N/A // margin is 2 all the way around, BasicBorders.RadioButtonBorder 0N/A // (checkbox uses RadioButtonBorder) is 2 all the way around too. 0N/A "CheckBox.totalInsets",
new Insets(
4,
4,
4,
4),
0N/A "RadioButton.icon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getRadioButtonIcon"),
0N/A "RadioButton.focusInputMap",
0N/A "released SPACE",
"released" 0N/A // margin is 2 all the way around, BasicBorders.RadioButtonBorder 0N/A // is 2 all the way around too. 0N/A "RadioButton.totalInsets",
new Insets(
4,
4,
4,
4),
0N/A "ToggleButton.focusInputMap",
0N/A "released SPACE",
"released" 0N/A "FileView.directoryIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getTreeFolderIcon"),
0N/A "FileView.fileIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getTreeLeafIcon"),
0N/A "FileView.computerIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getTreeComputerIcon"),
0N/A "FileView.hardDriveIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getTreeHardDriveIcon"),
0N/A "FileView.floppyDriveIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getTreeFloppyDriveIcon"),
0N/A "FileChooser.detailsViewIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getFileChooserDetailViewIcon"),
0N/A "FileChooser.homeFolderIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getFileChooserHomeFolderIcon"),
0N/A "FileChooser.listViewIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getFileChooserListViewIcon"),
0N/A "FileChooser.newFolderIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getFileChooserNewFolderIcon"),
0N/A "FileChooser.upFolderIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getFileChooserUpFolderIcon"),
0N/A "FileChooser.ancestorInputMap",
0N/A "ESCAPE",
"cancelSelection",
0N/A "F2",
"editFileName",
0N/A "ToolTipManager.enableToolTipMode",
"activeApplication",
0N/A "Slider.horizontalThumbIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getHorizontalSliderThumbIcon"),
0N/A "Slider.verticalThumbIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getVerticalSliderThumbIcon"),
0N/A "Slider.focusInputMap",
0N/A "RIGHT",
"positiveUnitIncrement",
0N/A "KP_RIGHT",
"positiveUnitIncrement",
0N/A "DOWN",
"negativeUnitIncrement",
0N/A "KP_DOWN",
"negativeUnitIncrement",
0N/A "PAGE_DOWN",
"negativeBlockIncrement",
0N/A "ctrl PAGE_DOWN",
"negativeBlockIncrement",
0N/A "LEFT",
"negativeUnitIncrement",
0N/A "KP_LEFT",
"negativeUnitIncrement",
0N/A "UP",
"positiveUnitIncrement",
0N/A "KP_UP",
"positiveUnitIncrement",
0N/A "PAGE_UP",
"positiveBlockIncrement",
0N/A "ctrl PAGE_UP",
"positiveBlockIncrement",
0N/A "HOME",
"minScroll",
0N/A "ESCAPE",
"hidePopup",
0N/A "PAGE_UP",
"pageUpPassThrough",
0N/A "PAGE_DOWN",
"pageDownPassThrough",
0N/A "HOME",
"homePassThrough",
0N/A "END",
"endPassThrough",
0N/A "DOWN",
"selectNext",
0N/A "KP_DOWN",
"selectNext",
0N/A "alt DOWN",
"togglePopup",
0N/A "alt KP_DOWN",
"togglePopup",
0N/A "alt UP",
"togglePopup",
0N/A "alt KP_UP",
"togglePopup",
0N/A "SPACE",
"spacePopup",
0N/A "ENTER",
"enterPressed",
0N/A "UP",
"selectPrevious",
0N/A "KP_UP",
"selectPrevious" 0N/A // Internal Frame Defaults 0N/A "InternalFrame.icon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getInternalFrameDefaultMenuIcon"),
0N/A "InternalFrame.border",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalBorders$InternalFrameBorder"),
0N/A "InternalFrame.optionDialogBorder",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalBorders$OptionDialogBorder"),
0N/A "InternalFrame.paletteBorder",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalBorders$PaletteBorder"),
0N/A "InternalFrame.paletteTitleHeight",
new Integer(
11),
0N/A "InternalFrame.paletteCloseIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory$PaletteCloseIcon"),
0N/A "InternalFrame.closeIcon",
0N/A "javax.swing.plaf.metal.MetalIconFactory",
0N/A "getInternalFrameCloseIcon",
0N/A "InternalFrame.maximizeIcon",
0N/A "javax.swing.plaf.metal.MetalIconFactory",
0N/A "getInternalFrameMaximizeIcon",
0N/A "InternalFrame.iconifyIcon",
0N/A "javax.swing.plaf.metal.MetalIconFactory",
0N/A "getInternalFrameMinimizeIcon",
0N/A "InternalFrame.minimizeIcon",
0N/A "javax.swing.plaf.metal.MetalIconFactory",
0N/A "getInternalFrameAltMaximizeIcon",
0N/A "InternalFrame.windowBindings",
null,
0N/A // Internal Frame Auditory Cue Mappings 0N/A "Desktop.ancestorInputMap",
0N/A "ctrl F5",
"restore",
0N/A "ctrl F8",
"resize",
0N/A "KP_RIGHT",
"right",
0N/A "shift RIGHT",
"shrinkRight",
0N/A "shift KP_RIGHT",
"shrinkRight",
0N/A "shift LEFT",
"shrinkLeft",
0N/A "shift KP_LEFT",
"shrinkLeft",
0N/A "shift UP",
"shrinkUp",
0N/A "shift KP_UP",
"shrinkUp",
0N/A "shift DOWN",
"shrinkDown",
0N/A "shift KP_DOWN",
"shrinkDown",
0N/A "ctrl F9",
"minimize",
0N/A "ctrl F10",
"maximize",
0N/A "ctrl F6",
"selectNextFrame",
0N/A "ctrl TAB",
"selectNextFrame",
0N/A "ctrl alt F6",
"selectNextFrame",
0N/A "shift ctrl alt F6",
"selectPreviousFrame",
0N/A "ctrl F12",
"navigateNext",
0N/A "shift ctrl F12",
"navigatePrevious" 0N/A "List.focusInputMap",
0N/A "control INSERT",
"copy",
0N/A "shift INSERT",
"paste",
0N/A "shift DELETE",
"cut",
0N/A "UP",
"selectPreviousRow",
0N/A "KP_UP",
"selectPreviousRow",
0N/A "shift UP",
"selectPreviousRowExtendSelection",
0N/A "shift KP_UP",
"selectPreviousRowExtendSelection",
0N/A "ctrl shift UP",
"selectPreviousRowExtendSelection",
0N/A "ctrl shift KP_UP",
"selectPreviousRowExtendSelection",
0N/A "ctrl UP",
"selectPreviousRowChangeLead",
0N/A "ctrl KP_UP",
"selectPreviousRowChangeLead",
0N/A "DOWN",
"selectNextRow",
0N/A "KP_DOWN",
"selectNextRow",
0N/A "shift DOWN",
"selectNextRowExtendSelection",
0N/A "shift KP_DOWN",
"selectNextRowExtendSelection",
0N/A "ctrl shift DOWN",
"selectNextRowExtendSelection",
0N/A "ctrl shift KP_DOWN",
"selectNextRowExtendSelection",
0N/A "ctrl DOWN",
"selectNextRowChangeLead",
0N/A "ctrl KP_DOWN",
"selectNextRowChangeLead",
0N/A "LEFT",
"selectPreviousColumn",
0N/A "KP_LEFT",
"selectPreviousColumn",
0N/A "shift LEFT",
"selectPreviousColumnExtendSelection",
0N/A "shift KP_LEFT",
"selectPreviousColumnExtendSelection",
0N/A "ctrl shift LEFT",
"selectPreviousColumnExtendSelection",
0N/A "ctrl shift KP_LEFT",
"selectPreviousColumnExtendSelection",
0N/A "ctrl LEFT",
"selectPreviousColumnChangeLead",
0N/A "ctrl KP_LEFT",
"selectPreviousColumnChangeLead",
0N/A "RIGHT",
"selectNextColumn",
0N/A "KP_RIGHT",
"selectNextColumn",
0N/A "shift RIGHT",
"selectNextColumnExtendSelection",
0N/A "shift KP_RIGHT",
"selectNextColumnExtendSelection",
0N/A "ctrl shift RIGHT",
"selectNextColumnExtendSelection",
0N/A "ctrl shift KP_RIGHT",
"selectNextColumnExtendSelection",
0N/A "ctrl RIGHT",
"selectNextColumnChangeLead",
0N/A "ctrl KP_RIGHT",
"selectNextColumnChangeLead",
0N/A "HOME",
"selectFirstRow",
0N/A "shift HOME",
"selectFirstRowExtendSelection",
0N/A "ctrl shift HOME",
"selectFirstRowExtendSelection",
0N/A "ctrl HOME",
"selectFirstRowChangeLead",
0N/A "END",
"selectLastRow",
0N/A "shift END",
"selectLastRowExtendSelection",
0N/A "ctrl shift END",
"selectLastRowExtendSelection",
0N/A "ctrl END",
"selectLastRowChangeLead",
0N/A "PAGE_UP",
"scrollUp",
0N/A "shift PAGE_UP",
"scrollUpExtendSelection",
0N/A "ctrl shift PAGE_UP",
"scrollUpExtendSelection",
0N/A "ctrl PAGE_UP",
"scrollUpChangeLead",
0N/A "PAGE_DOWN",
"scrollDown",
0N/A "shift PAGE_DOWN",
"scrollDownExtendSelection",
0N/A "ctrl shift PAGE_DOWN",
"scrollDownExtendSelection",
0N/A "ctrl PAGE_DOWN",
"scrollDownChangeLead",
0N/A "ctrl A",
"selectAll",
0N/A "ctrl SLASH",
"selectAll",
0N/A "ctrl BACK_SLASH",
"clearSelection",
0N/A "SPACE",
"addToSelection",
0N/A "ctrl SPACE",
"toggleAndAnchor",
0N/A "shift SPACE",
"extendTo",
0N/A "ctrl shift SPACE",
"moveSelectionTo" 0N/A "ScrollBar.ancestorInputMap",
0N/A "RIGHT",
"positiveUnitIncrement",
0N/A "KP_RIGHT",
"positiveUnitIncrement",
0N/A "DOWN",
"positiveUnitIncrement",
0N/A "KP_DOWN",
"positiveUnitIncrement",
0N/A "PAGE_DOWN",
"positiveBlockIncrement",
0N/A "LEFT",
"negativeUnitIncrement",
0N/A "KP_LEFT",
"negativeUnitIncrement",
0N/A "UP",
"negativeUnitIncrement",
0N/A "KP_UP",
"negativeUnitIncrement",
0N/A "PAGE_UP",
"negativeBlockIncrement",
0N/A "HOME",
"minScroll",
0N/A "ScrollPane.ancestorInputMap",
0N/A "RIGHT",
"unitScrollRight",
0N/A "KP_RIGHT",
"unitScrollRight",
0N/A "DOWN",
"unitScrollDown",
0N/A "KP_DOWN",
"unitScrollDown",
0N/A "LEFT",
"unitScrollLeft",
0N/A "KP_LEFT",
"unitScrollLeft",
0N/A "UP",
"unitScrollUp",
0N/A "KP_UP",
"unitScrollUp",
0N/A "PAGE_UP",
"scrollUp",
0N/A "PAGE_DOWN",
"scrollDown",
0N/A "ctrl PAGE_UP",
"scrollLeft",
0N/A "ctrl PAGE_DOWN",
"scrollRight",
0N/A "ctrl HOME",
"scrollHome",
0N/A "ctrl END",
"scrollEnd" 0N/A "TabbedPane.focusInputMap",
0N/A "RIGHT",
"navigateRight",
0N/A "KP_RIGHT",
"navigateRight",
0N/A "LEFT",
"navigateLeft",
0N/A "KP_LEFT",
"navigateLeft",
0N/A "KP_UP",
"navigateUp",
0N/A "DOWN",
"navigateDown",
0N/A "KP_DOWN",
"navigateDown",
0N/A "ctrl DOWN",
"requestFocusForVisibleComponent",
0N/A "ctrl KP_DOWN",
"requestFocusForVisibleComponent",
0N/A "TabbedPane.ancestorInputMap",
0N/A "ctrl PAGE_DOWN",
"navigatePageDown",
0N/A "ctrl PAGE_UP",
"navigatePageUp",
0N/A "ctrl UP",
"requestFocus",
0N/A "ctrl KP_UP",
"requestFocus",
0N/A "Table.ancestorInputMap",
0N/A "control INSERT",
"copy",
0N/A "shift INSERT",
"paste",
0N/A "shift DELETE",
"cut",
0N/A "RIGHT",
"selectNextColumn",
0N/A "KP_RIGHT",
"selectNextColumn",
0N/A "shift RIGHT",
"selectNextColumnExtendSelection",
0N/A "shift KP_RIGHT",
"selectNextColumnExtendSelection",
0N/A "ctrl shift RIGHT",
"selectNextColumnExtendSelection",
0N/A "ctrl shift KP_RIGHT",
"selectNextColumnExtendSelection",
0N/A "ctrl RIGHT",
"selectNextColumnChangeLead",
0N/A "ctrl KP_RIGHT",
"selectNextColumnChangeLead",
0N/A "LEFT",
"selectPreviousColumn",
0N/A "KP_LEFT",
"selectPreviousColumn",
0N/A "shift LEFT",
"selectPreviousColumnExtendSelection",
0N/A "shift KP_LEFT",
"selectPreviousColumnExtendSelection",
0N/A "ctrl shift LEFT",
"selectPreviousColumnExtendSelection",
0N/A "ctrl shift KP_LEFT",
"selectPreviousColumnExtendSelection",
0N/A "ctrl LEFT",
"selectPreviousColumnChangeLead",
0N/A "ctrl KP_LEFT",
"selectPreviousColumnChangeLead",
0N/A "DOWN",
"selectNextRow",
0N/A "KP_DOWN",
"selectNextRow",
0N/A "shift DOWN",
"selectNextRowExtendSelection",
0N/A "shift KP_DOWN",
"selectNextRowExtendSelection",
0N/A "ctrl shift DOWN",
"selectNextRowExtendSelection",
0N/A "ctrl shift KP_DOWN",
"selectNextRowExtendSelection",
0N/A "ctrl DOWN",
"selectNextRowChangeLead",
0N/A "ctrl KP_DOWN",
"selectNextRowChangeLead",
0N/A "UP",
"selectPreviousRow",
0N/A "KP_UP",
"selectPreviousRow",
0N/A "shift UP",
"selectPreviousRowExtendSelection",
0N/A "shift KP_UP",
"selectPreviousRowExtendSelection",
0N/A "ctrl shift UP",
"selectPreviousRowExtendSelection",
0N/A "ctrl shift KP_UP",
"selectPreviousRowExtendSelection",
0N/A "ctrl UP",
"selectPreviousRowChangeLead",
0N/A "ctrl KP_UP",
"selectPreviousRowChangeLead",
0N/A "HOME",
"selectFirstColumn",
0N/A "shift HOME",
"selectFirstColumnExtendSelection",
0N/A "ctrl shift HOME",
"selectFirstRowExtendSelection",
0N/A "ctrl HOME",
"selectFirstRow",
0N/A "END",
"selectLastColumn",
0N/A "shift END",
"selectLastColumnExtendSelection",
0N/A "ctrl shift END",
"selectLastRowExtendSelection",
0N/A "ctrl END",
"selectLastRow",
0N/A "PAGE_UP",
"scrollUpChangeSelection",
0N/A "shift PAGE_UP",
"scrollUpExtendSelection",
0N/A "ctrl shift PAGE_UP",
"scrollLeftExtendSelection",
0N/A "ctrl PAGE_UP",
"scrollLeftChangeSelection",
0N/A "PAGE_DOWN",
"scrollDownChangeSelection",
0N/A "shift PAGE_DOWN",
"scrollDownExtendSelection",
0N/A "ctrl shift PAGE_DOWN",
"scrollRightExtendSelection",
0N/A "ctrl PAGE_DOWN",
"scrollRightChangeSelection",
0N/A "TAB",
"selectNextColumnCell",
0N/A "shift TAB",
"selectPreviousColumnCell",
0N/A "ENTER",
"selectNextRowCell",
0N/A "shift ENTER",
"selectPreviousRowCell",
0N/A "ctrl A",
"selectAll",
0N/A "ctrl SLASH",
"selectAll",
0N/A "ctrl BACK_SLASH",
"clearSelection",
0N/A "F2",
"startEditing",
0N/A "SPACE",
"addToSelection",
0N/A "ctrl SPACE",
"toggleAndAnchor",
0N/A "shift SPACE",
"extendTo",
0N/A "ctrl shift SPACE",
"moveSelectionTo",
0N/A "Table.ascendingSortIcon",
0N/A "Table.descendingSortIcon",
0N/A "javax.swing.plaf.metal.MetalBorders$TableHeaderBorder"),
0N/A "F10",
"takeFocus" },
0N/A "Menu.checkIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getMenuItemCheckIcon"),
0N/A "Menu.arrowIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getMenuArrowIcon"),
0N/A "MenuItem.checkIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getMenuItemCheckIcon"),
0N/A "MenuItem.arrowIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getMenuItemArrowIcon"),
0N/A // Menu Item Auditory Cue Mapping 0N/A "ESCAPE",
"close" },
0N/A // Option Pane Auditory Cue Mappings 0N/A // Option Pane Special Dialog Colors, used when MetalRootPaneUI 0N/A // is providing window manipulation widgets. 0N/A "OptionPane.errorDialog.border.background",
0N/A "OptionPane.errorDialog.titlePane.foreground",
0N/A "OptionPane.errorDialog.titlePane.background",
0N/A "OptionPane.errorDialog.titlePane.shadow",
0N/A "OptionPane.questionDialog.border.background",
0N/A "OptionPane.questionDialog.titlePane.foreground",
0N/A "OptionPane.questionDialog.titlePane.background",
0N/A "OptionPane.questionDialog.titlePane.shadow",
0N/A "OptionPane.warningDialog.border.background",
0N/A "OptionPane.warningDialog.titlePane.foreground",
0N/A "OptionPane.warningDialog.titlePane.background",
0N/A "OptionPane.warningDialog.titlePane.shadow",
0N/A // OptionPane fonts are defined below 0N/A // Popup Menu Auditory Cue Mappings 0N/A // CB & RB Menu Item 0N/A "CheckBoxMenuItem.checkIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getCheckBoxMenuItemIcon"),
0N/A "CheckBoxMenuItem.arrowIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getMenuItemArrowIcon"),
0N/A "RadioButtonMenuItem.checkIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getRadioButtonMenuItemIcon"),
0N/A "RadioButtonMenuItem.arrowIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getMenuItemArrowIcon"),
0N/A "Spinner.ancestorInputMap",
0N/A "KP_UP",
"increment",
0N/A "DOWN",
"decrement",
0N/A "KP_DOWN",
"decrement",
0N/A "SplitPane.ancestorInputMap",
0N/A "UP",
"negativeIncrement",
0N/A "DOWN",
"positiveIncrement",
0N/A "LEFT",
"negativeIncrement",
0N/A "RIGHT",
"positiveIncrement",
0N/A "KP_UP",
"negativeIncrement",
0N/A "KP_DOWN",
"positiveIncrement",
0N/A "KP_LEFT",
"negativeIncrement",
0N/A "KP_RIGHT",
"positiveIncrement",
0N/A "HOME",
"selectMin",
0N/A "F8",
"startResize",
0N/A "F6",
"toggleFocus",
0N/A "ctrl TAB",
"focusOutForward",
0N/A "ctrl shift TAB",
"focusOutBackward" 0N/A // Tree.font was mapped to system font pre 1.4.1 0N/A "Tree.openIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getTreeFolderIcon"),
0N/A "Tree.closedIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getTreeFolderIcon"),
0N/A "Tree.leafIcon",
new SwingLazyValue(
"javax.swing.plaf.metal.MetalIconFactory",
"getTreeLeafIcon"),
0N/A "javax.swing.plaf.metal.MetalIconFactory",
0N/A "getTreeControlIcon",
0N/A "javax.swing.plaf.metal.MetalIconFactory",
0N/A "getTreeControlIcon",
0N/A "Tree.focusInputMap",
0N/A "SUBTRACT",
"collapse",
0N/A "control INSERT",
"copy",
0N/A "shift INSERT",
"paste",
0N/A "shift DELETE",
"cut",
0N/A "UP",
"selectPrevious",
0N/A "KP_UP",
"selectPrevious",
0N/A "shift UP",
"selectPreviousExtendSelection",
0N/A "shift KP_UP",
"selectPreviousExtendSelection",
0N/A "ctrl shift UP",
"selectPreviousExtendSelection",
0N/A "ctrl shift KP_UP",
"selectPreviousExtendSelection",
0N/A "ctrl UP",
"selectPreviousChangeLead",
0N/A "ctrl KP_UP",
"selectPreviousChangeLead",
0N/A "DOWN",
"selectNext",
0N/A "KP_DOWN",
"selectNext",
0N/A "shift DOWN",
"selectNextExtendSelection",
0N/A "shift KP_DOWN",
"selectNextExtendSelection",
0N/A "ctrl shift DOWN",
"selectNextExtendSelection",
0N/A "ctrl shift KP_DOWN",
"selectNextExtendSelection",
0N/A "ctrl DOWN",
"selectNextChangeLead",
0N/A "ctrl KP_DOWN",
"selectNextChangeLead",
0N/A "RIGHT",
"selectChild",
0N/A "KP_RIGHT",
"selectChild",
0N/A "LEFT",
"selectParent",
0N/A "KP_LEFT",
"selectParent",
0N/A "PAGE_UP",
"scrollUpChangeSelection",
0N/A "shift PAGE_UP",
"scrollUpExtendSelection",
0N/A "ctrl shift PAGE_UP",
"scrollUpExtendSelection",
0N/A "ctrl PAGE_UP",
"scrollUpChangeLead",
0N/A "PAGE_DOWN",
"scrollDownChangeSelection",
0N/A "shift PAGE_DOWN",
"scrollDownExtendSelection",
0N/A "ctrl shift PAGE_DOWN",
"scrollDownExtendSelection",
0N/A "ctrl PAGE_DOWN",
"scrollDownChangeLead",
0N/A "HOME",
"selectFirst",
0N/A "shift HOME",
"selectFirstExtendSelection",
0N/A "ctrl shift HOME",
"selectFirstExtendSelection",
0N/A "ctrl HOME",
"selectFirstChangeLead",
0N/A "END",
"selectLast",
0N/A "shift END",
"selectLastExtendSelection",
0N/A "ctrl shift END",
"selectLastExtendSelection",
0N/A "ctrl END",
"selectLastChangeLead",
0N/A "F2",
"startEditing",
0N/A "ctrl A",
"selectAll",
0N/A "ctrl SLASH",
"selectAll",
0N/A "ctrl BACK_SLASH",
"clearSelection",
0N/A "ctrl LEFT",
"scrollLeft",
0N/A "ctrl KP_LEFT",
"scrollLeft",
0N/A "ctrl RIGHT",
"scrollRight",
0N/A "ctrl KP_RIGHT",
"scrollRight",
0N/A "SPACE",
"addToSelection",
0N/A "ctrl SPACE",
"toggleAndAnchor",
0N/A "shift SPACE",
"extendTo",
0N/A "ctrl shift SPACE",
"moveSelectionTo" 0N/A "Tree.ancestorInputMap",
0N/A "javax.swing.plaf.metal.MetalBorders",
0N/A "getToolBarRolloverBorder"),
0N/A "javax.swing.plaf.metal.MetalBorders",
0N/A "getToolBarNonrolloverBorder"),
0N/A "ToolBar.ancestorInputMap",
0N/A "KP_UP",
"navigateUp",
0N/A "DOWN",
"navigateDown",
0N/A "KP_DOWN",
"navigateDown",
0N/A "LEFT",
"navigateLeft",
0N/A "KP_LEFT",
"navigateLeft",
0N/A "RIGHT",
"navigateRight",
0N/A "KP_RIGHT",
"navigateRight" 0N/A "javax.swing.plaf.metal.MetalBorders$FrameBorder"),
0N/A "javax.swing.plaf.metal.MetalBorders$ErrorDialogBorder"),
0N/A "javax.swing.plaf.metal.MetalBorders$WarningDialogBorder"),
0N/A // These bindings are only enabled when there is a default 0N/A // button set on the rootpane. 0N/A "RootPane.defaultButtonWindowKeyBindings",
new Object[] {
0N/A "released ENTER",
"release",
0N/A "ctrl ENTER",
"press",
0N/A "ctrl released ENTER",
"release" 0N/A * Ensures the current {@code MetalTheme} is {@code non-null}. This is 0N/A * a cover method for {@code getCurrentTheme}. 0N/A * @see #getCurrentTheme 0N/A * Returns the look and feel defaults. This invokes, in order, 0N/A * {@code createDefaultTheme()}, {@code super.getDefaults()} and 0N/A * {@code getCurrentTheme().addCustomEntriesToTable(table)}. 0N/A * While this method is public, it should only be invoked by the 0N/A * {@code UIManager} when the look and feel is set as the current 0N/A * look and feel and after {@code initialize} has been invoked. 0N/A * @return the look and feel defaults 0N/A * @see #createDefaultTheme 0N/A * @see javax.swing.plaf.basic.BasicLookAndFeel#getDefaults() 0N/A * @see MetalTheme#addCustomEntriesToTable(UIDefaults) 0N/A // PENDING: move this to initialize when API changes are allowed 0N/A * Set the theme used by <code>MetalLookAndFeel</code>. 0N/A * After the theme is set, {@code MetalLookAndFeel} needs to be 0N/A * re-installed and the uis need to be recreated. The following 0N/A * shows how to do this: 0N/A * MetalLookAndFeel.setCurrentTheme(theme); 0N/A * // re-install the Metal Look and Feel 0N/A * UIManager.setLookAndFeel(new MetalLookAndFeel()); 0N/A * // Update the ComponentUIs for all Components. This 0N/A * // needs to be invoked for all windows. 0N/A * SwingUtilities.updateComponentTreeUI(rootComponent); 0N/A * If this is not done the results are undefined. 0N/A * @param theme the theme to use 0N/A * @throws NullPointerException if {@code theme} is {@code null} 0N/A * @see #getCurrentTheme 0N/A // NOTE: because you need to recreate the look and feel after 0N/A // this step, we don't bother blowing away any potential windows 0N/A * Return the theme currently being used by <code>MetalLookAndFeel</code>. 0N/A * If the current theme is {@code null}, the default theme is created. 0N/A * @return the current theme 0N/A * @see #setCurrentTheme 0N/A // This will happen in two cases: 0N/A // . When MetalLookAndFeel is first being initialized. 0N/A // . When a new AppContext has been created that hasn't 0N/A // triggered UIManager to load a LAF. Rather than invoke 0N/A // a method on the UIManager, which would trigger the loading 0N/A // of a potentially different LAF, we directly set the 0N/A // Create the default theme. We prefer Ocean, but will 0N/A // use DefaultMetalTheme if told to. 0N/A * Returns an <code>Icon</code> with a disabled appearance. 0N/A * This method is used to generate a disabled <code>Icon</code> when 0N/A * one has not been specified. For example, if you create a 0N/A * <code>JButton</code> and only specify an <code>Icon</code> via 0N/A * <code>setIcon</code> this method will be called to generate the 0N/A * disabled <code>Icon</code>. If null is passed as <code>icon</code> 0N/A * this method returns null. 0N/A * Some look and feels might not render the disabled Icon, in which 0N/A * case they will ignore this. 0N/A * @param component JComponent that will display the Icon, may be null 0N/A * @param icon Icon to generate disable icon from. 0N/A * @return Disabled icon, or null if a suitable Icon can not be 0N/A * Returns an <code>Icon</code> for use by disabled 0N/A * components that are also selected. This method is used to generate an 0N/A * <code>Icon</code> for components that are in both the disabled and 0N/A * selected states but do not have a specific <code>Icon</code> for this 0N/A * state. For example, if you create a <code>JButton</code> and only 0N/A * specify an <code>Icon</code> via <code>setIcon</code> this method 0N/A * will be called to generate the disabled and selected 0N/A * <code>Icon</code>. If null is passed as <code>icon</code> this method 0N/A * Some look and feels might not render the disabled and selected Icon, 0N/A * in which case they will ignore this. 0N/A * @param component JComponent that will display the Icon, may be null 0N/A * @param icon Icon to generate disabled and selected icon from. 0N/A * @return Disabled and Selected icon, or null if a suitable Icon can not 0N/A * Returns the control text font of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getControlTextColor()}. 0N/A * @return the control text font 0N/A * Returns the sytem text font of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getSystemTextFont()}. 0N/A * @return the system text font 0N/A * Returns the user text font of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getUserTextFont()}. 0N/A * @return the user text font 0N/A * Returns the menu text font of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getMenuTextFont()}. 0N/A * @return the menu text font 0N/A * Returns the window title font of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getWindowTitleFont()}. 0N/A * @return the window title font 0N/A * Returns the sub-text font of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getSubTextFont()}. 0N/A * @return the sub-text font 0N/A * Returns the desktop color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getDesktopColor()}. 0N/A * @return the desktop color 0N/A * Returns the focus color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getFocusColor()}. 0N/A * @return the focus color 0N/A * Returns the white color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getWhite()}. 0N/A * @return the white color 0N/A * Returns the black color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getBlack()}. 0N/A * @return the black color 0N/A * Returns the control color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getControl()}. 0N/A * @return the control color 0N/A * Returns the control shadow color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getControlShadow()}. 0N/A * @return the control shadow color 0N/A * Returns the control dark shadow color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getControlDarkShadow()}. 0N/A * @return the control dark shadow color 0N/A * Returns the control info color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getControlInfo()}. 0N/A * @return the control info color 0N/A * Returns the control highlight color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getControlHighlight()}. 0N/A * @return the control highlight color 0N/A * Returns the control disabled color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getControlDisabled()}. 0N/A * @return the control disabled color 0N/A * Returns the primary control color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getPrimaryControl()}. 0N/A * @return the primary control color 0N/A * Returns the primary control shadow color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getPrimaryControlShadow()}. 0N/A * @return the primary control shadow color 0N/A * Returns the primary control dark shadow color of the current 0N/A * theme. This is a cover method for {@code 0N/A * getCurrentTheme().getPrimaryControlDarkShadow()}. 0N/A * @return the primary control dark shadow color 0N/A * Returns the primary control info color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getPrimaryControlInfo()}. 0N/A * @return the primary control info color 0N/A * Returns the primary control highlight color of the current 0N/A * theme. This is a cover method for {@code 0N/A * getCurrentTheme().getPrimaryControlHighlight()}. 0N/A * @return the primary control highlight color 0N/A * Returns the system text color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getSystemTextColor()}. 0N/A * @return the system text color 0N/A * Returns the control text color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getControlTextColor()}. 0N/A * @return the control text color 0N/A * Returns the inactive control text color of the current theme. This is a 0N/A * cover method for {@code 0N/A * getCurrentTheme().getInactiveControlTextColor()}. 0N/A * @return the inactive control text color 0N/A * Returns the inactive system text color of the current theme. This is a 0N/A * cover method for {@code 0N/A * getCurrentTheme().getInactiveSystemTextColor()}. 0N/A * @return the inactive system text color 0N/A * Returns the user text color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getUserTextColor()}. 0N/A * @return the user text color 0N/A * Returns the text highlight color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getTextHighlightColor()}. 0N/A * @return the text highlight color 0N/A * Returns the highlighted text color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getHighlightedTextColor()}. 0N/A * @return the highlighted text color 0N/A * Returns the window background color of the current theme. This is a 0N/A * cover method for {@code getCurrentTheme().getWindowBackground()}. 0N/A * @return the window background color 0N/A * Returns the window title background color of the current 0N/A * theme. This is a cover method for {@code 0N/A * getCurrentTheme().getWindowTitleBackground()}. 0N/A * @return the window title background color 0N/A * Returns the window title foreground color of the current 0N/A * theme. This is a cover method for {@code 0N/A * getCurrentTheme().getWindowTitleForeground()}. 0N/A * @return the window title foreground color 0N/A * Returns the window title inactive background color of the current 0N/A * theme. This is a cover method for {@code 0N/A * getCurrentTheme().getWindowTitleInactiveBackground()}. 0N/A * @return the window title inactive background color 0N/A * Returns the window title inactive foreground color of the current 0N/A * theme. This is a cover method for {@code 0N/A * getCurrentTheme().getWindowTitleInactiveForeground()}. 0N/A * @return the window title inactive foreground color 0N/A * Returns the menu background color of the current theme. This is 0N/A * a cover method for {@code getCurrentTheme().getMenuBackground()}. 0N/A * @return the menu background color 0N/A * Returns the menu foreground color of the current theme. This is 0N/A * a cover method for {@code getCurrentTheme().getMenuForeground()}. 0N/A * @return the menu foreground color 0N/A * Returns the menu selected background color of the current theme. This is 0N/A * a cover method for 0N/A * {@code getCurrentTheme().getMenuSelectedBackground()}. 0N/A * @return the menu selected background color 0N/A * Returns the menu selected foreground color of the current theme. This is 0N/A * a cover method for 0N/A * {@code getCurrentTheme().getMenuSelectedForeground()}. 0N/A * @return the menu selected foreground color 0N/A * Returns the menu disabled foreground color of the current theme. This is 0N/A * a cover method for 0N/A * {@code getCurrentTheme().getMenuDisabledForeground()}. 0N/A * @return the menu disabled foreground color 0N/A * Returns the separator background color of the current theme. This is 0N/A * a cover method for {@code getCurrentTheme().getSeparatorBackground()}. 0N/A * @return the separator background color 0N/A * Returns the separator foreground color of the current theme. This is 0N/A * a cover method for {@code getCurrentTheme().getSeparatorForeground()}. 0N/A * @return the separator foreground color 0N/A * Returns the accelerator foreground color of the current theme. This is 0N/A * a cover method for {@code getCurrentTheme().getAcceleratorForeground()}. 0N/A * @return the separator accelerator foreground color 0N/A * Returns the accelerator selected foreground color of the 0N/A * current theme. This is a cover method for {@code 0N/A * getCurrentTheme().getAcceleratorSelectedForeground()}. 0N/A * @return the accelerator selected foreground color 0N/A * Returns a {@code LayoutStyle} implementing the Java look and feel 0N/A * design guidelines as specified at 0N/A * @return LayoutStyle implementing the Java look and feel design 0N/A * MetalLazyValue is a slimmed down version of <code>ProxyLaxyValue</code>. 0N/A * The code is duplicate so that it can get at the package private 0N/A * Name of the class to create. 0N/A * FontActiveValue redirects to the appropriate metal theme method. 0N/A * Updates the UI of the passed in window and all its children. 0N/A * Updates the UIs of all the known Frames. 0N/A * Indicates if an updateUI call is pending. 0N/A * Sets whether or not an updateUI call is pending. 0N/A * Returns true if a UI update is pending. 0N/A // From the JLF Design Guidelines: 0N/A // Metal doesn't spec this. 0N/A // Fall through to related. 0N/A // When toggle buttons are exclusive (that is, 0N/A // they form a radio button set), separate 0N/A // them with 2 pixels. This rule applies 0N/A // whether the toggle buttons appear in a 0N/A // toolbar or elsewhere in the interface. 0N/A // Note: this number does not appear to 0N/A // include any borders and so is not adjusted 0N/A // by the border of the toggle button 0N/A // When toggle buttons are independent (like 0N/A // checkboxes) and used outside a toolbar, 0N/A // separate them with 5 pixels. 0N/A // Insert 12 pixels between the trailing edge of a 0N/A // label and any associated components. Insert 12 0N/A // pixels between the trailing edge of a label and the 0N/A // component it describes when labels are 0N/A // right-aligned. When labels are left-aligned, insert 0N/A // 12 pixels between the trailing edge of the longest 0N/A // label and its associated component 0N/A // Include 11 pixels between the bottom and right 0N/A // borders of a dialog box and its command 0N/A // buttons. (To the eye, the 11-pixel spacing appears 0N/A // to be 12 pixels because the white borders on the 0N/A // lower and right edges of the button components are 0N/A // not visually significant.) 0N/A // NOTE: this last text was designed with Steel in mind, 0N/A // Insert 12 pixels between the edges of the panel and the 0N/A // titled border. Insert 11 pixels between the top of the 0N/A // title and the component above the titled border. Insert 12 0N/A // pixels between the bottom of the title and the top of the 0N/A // first label in the panel. Insert 11 pixels between 0N/A // component groups and between the bottom of the last 0N/A // component and the lower border.