2362N/A * Copyright (c) 2002, 2008, 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 * <code>SynthStyle</code> is a set of style properties. 0N/A * Each <code>SynthUI</code> references at least one 0N/A * <code>SynthStyle</code> that is obtained using a 0N/A * <code>SynthStyleFactory</code>. You typically don't need to interact with 0N/A * this class directly, rather you will load a 0N/A * <code>SynthLookAndFeel</code> that will create a set of SynthStyles. 0N/A * @see SynthLookAndFeel 0N/A * @see SynthStyleFactory 0N/A * @author Scott Violet 0N/A * Contains the default values for certain properties. 0N/A * Shared SynthGraphics. 0N/A * Adds the default values that we know about to DEFAULT_VALUES. 0N/A "released SPACE",
"released" 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 "ctrl BACK_SLASH",
"unselect"/*DefaultEditorKit.unselectAction*/,
0N/A "control shift O",
"toggle-componentOrientation"/*DefaultEditorKit.toggleComponentOrientation*/ 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 "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 "ESCAPE",
"cancelSelection",
0N/A "F2",
"editFileName",
0N/A "BACK_SPACE",
"Go Up",
0N/A "ENTER",
"approveSelection",
0N/A "ctrl ENTER",
"approveSelection" 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 "shift ESCAPE",
"showSystemMenu",
0N/A "ctrl SPACE",
"showSystemMenu",
0N/A "ESCAPE",
"hideSystemMenu"});
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 "LEFT",
"selectNextColumn",
0N/A "KP_LEFT",
"selectNextColumn",
0N/A "shift LEFT",
"selectNextColumnExtendSelection",
0N/A "shift KP_LEFT",
"selectNextColumnExtendSelection",
0N/A "ctrl shift LEFT",
"selectNextColumnExtendSelection",
0N/A "ctrl shift KP_LEFT",
"selectNextColumnExtendSelection",
0N/A "ctrl LEFT",
"selectNextColumnChangeLead",
0N/A "ctrl KP_LEFT",
"selectNextColumnChangeLead",
0N/A "RIGHT",
"selectPreviousColumn",
0N/A "KP_RIGHT",
"selectPreviousColumn",
0N/A "shift RIGHT",
"selectPreviousColumnExtendSelection",
0N/A "shift KP_RIGHT",
"selectPreviousColumnExtendSelection",
0N/A "ctrl shift RIGHT",
"selectPreviousColumnExtendSelection",
0N/A "ctrl shift KP_RIGHT",
"selectPreviousColumnExtendSelection",
0N/A "ctrl RIGHT",
"selectPreviousColumnChangeLead",
0N/A "ctrl KP_RIGHT",
"selectPreviousColumnChangeLead",
0N/A "released ENTER",
"release",
0N/A "ctrl ENTER",
"press",
0N/A "ctrl released ENTER",
"release" 0N/A "shift F10",
"postPopup" 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 "RIGHT",
"negativeUnitIncrement",
0N/A "KP_RIGHT",
"negativeUnitIncrement",
0N/A "LEFT",
"positiveUnitIncrement",
0N/A "KP_LEFT",
"positiveUnitIncrement",
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 "ctrl PAGE_UP",
"scrollRight",
0N/A "ctrl PAGE_DOWN",
"scrollLeft",
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 "KP_UP",
"increment",
0N/A "DOWN",
"decrement",
0N/A "KP_DOWN",
"decrement" 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 "RIGHT",
"negativeUnitIncrement",
0N/A "KP_RIGHT",
"negativeUnitIncrement",
0N/A "LEFT",
"positiveUnitIncrement",
0N/A "KP_LEFT",
"positiveUnitIncrement",
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 "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 "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 "SPACE",
"toggleSortOrder",
0N/A "LEFT",
"selectColumnToLeft",
0N/A "KP_LEFT",
"selectColumnToLeft",
0N/A "RIGHT",
"selectColumnToRight",
0N/A "KP_RIGHT",
"selectColumnToRight",
0N/A "alt LEFT",
"moveColumnLeft",
0N/A "alt KP_LEFT",
"moveColumnLeft",
0N/A "alt RIGHT",
"moveColumnRight",
0N/A "alt KP_RIGHT",
"moveColumnRight",
0N/A "alt shift LEFT",
"resizeLeft",
0N/A "alt shift KP_LEFT",
"resizeLeft",
0N/A "alt shift RIGHT",
"resizeRight",
0N/A "alt shift KP_RIGHT",
"resizeRight",
0N/A "ESCAPE",
"focusTable",
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 "RIGHT",
"selectParent",
0N/A "KP_RIGHT",
"selectParent",
0N/A "LEFT",
"selectChild",
0N/A "KP_LEFT",
"selectChild",
0N/A * Returns the default value for the specified property, or null if there 0N/A * is no default for the specified value. 0N/A * Constructs a SynthStyle. 0N/A * Returns the <code>SynthGraphicUtils</code> for the specified context. 0N/A * @param context SynthContext identifying requester 0N/A * @return SynthGraphicsUtils 0N/A * Returns the color for the specified state. This gives precedence to 0N/A * foreground and background of the <code>JComponent</code>. If the 0N/A * <code>Color</code> from the <code>JComponent</code> is not appropriate, 0N/A * or not used, this will invoke <code>getColorForState</code>. Subclasses 0N/A * should generally not have to override this, instead override 0N/A * {@link #getColorForState}. 0N/A * @param context SynthContext identifying requester 0N/A * @param type Type of color being requested. 1173N/A //This component is disabled, so return the disabled color. 1173N/A //In some cases this means ignoring the color specified by the 1173N/A //developer on the component. In other cases it means using a 1173N/A //specified disabledTextColor, such as on JTextComponents. 1173N/A //For example, JLabel doesn't specify a disabled color that the 1173N/A //developer can set, yet it should have a disabled color to the 1173N/A //text when the label is disabled. This code allows for that. 1173N/A // If the developer has specified a color, prefer it. Otherwise, get 1173N/A // the color for the state. 1173N/A // Then use what we've locally defined 0N/A // No color, fallback to that of the widget. 0N/A * Returns the color for the specified state. This should NOT call any 0N/A * methods on the <code>JComponent</code>. 0N/A * @param context SynthContext identifying requester 0N/A * @param type Type of color being requested. 0N/A * @return Color to render with 0N/A * Returns the Font for the specified state. This redirects to the 0N/A * <code>JComponent</code> from the <code>context</code> as necessary. 0N/A * If this does not redirect 0N/A * to the JComponent {@link #getFontForState} is invoked. 0N/A * @param context SynthContext identifying requester 0N/A * @return Font to render with 0N/A * Returns the font for the specified state. This should NOT call any 0N/A * method on the <code>JComponent</code>. 0N/A * @param context SynthContext identifying requester 0N/A * @return Font to render with 0N/A * Returns the Insets that are used to calculate sizing information. 0N/A * @param context SynthContext identifying requester 0N/A * @param insets Insets to place return value in. 0N/A * @return Sizing Insets. 0N/A * Returns the <code>SynthPainter</code> that will be used for painting. 0N/A * This may return null. 0N/A * @param context SynthContext identifying requester 0N/A * @return SynthPainter to use 0N/A * Returns true if the region is opaque. 0N/A * @param context SynthContext identifying requester 0N/A * @return true if region is opaque. 0N/A * Getter for a region specific style property. 0N/A * @param context SynthContext identifying requester 0N/A * @param key Property being requested. 0N/A * @return Value of the named property 0N/A // Special case the Border as this will likely change when the LAF 0N/A // can have more control over this. 0N/A * Installs the necessary state from this Style on the 0N/A * <code>JComponent</code> from <code>context</code>. 0N/A * @param context SynthContext identifying component to install properties 0N/A * Uninstalls any state that this style installed on 0N/A * the <code>JComponent</code> from <code>context</code>. 0N/A * Styles should NOT depend upon this being called, in certain cases 0N/A * it may never be called. 0N/A * @param context SynthContext identifying component to install properties 0N/A // NOTE: because getForeground, getBackground and getFont will look 0N/A // at the parent Container, if we set them to null it may 0N/A // mean we they return a non-null and non-UIResource value 0N/A // preventing install from correctly settings its colors/font. For 0N/A * Convenience method to get a specific style property whose value is 0N/A * a <code>Number</code>. If the value is a <code>Number</code>, 0N/A * <code>intValue</code> is returned, otherwise <code>defaultValue</code> 0N/A * @param context SynthContext identifying requester 0N/A * @param key Property being requested. 0N/A * @param defaultValue Value to return if the property has not been 0N/A * specified, or is not a Number 0N/A * @return Value of the named property 0N/A * Convenience method to get a specific style property whose value is 0N/A * @param context SynthContext identifying requester 0N/A * @param key Property being requested. 0N/A * @param defaultValue Value to return if the property has not been 0N/A * specified, or is not a Boolean 0N/A * @return Value of the named property 0N/A * Convenience method to get a specific style property whose value is 0N/A * @param context SynthContext identifying requester 0N/A * @param key Property being requested. 0N/A * @return Value of the named property, or null if not specified 0N/A * Convenience method to get a specific style property whose value is 0N/A * @param context SynthContext identifying requester 0N/A * @param key Property being requested. 0N/A * @param defaultValue Value to return if the property has not been 0N/A * specified, or is not a String 0N/A * @return Value of the named property