You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
429 lines
12 KiB
Java
429 lines
12 KiB
Java
/* Copyright (C) Edward M. Kagan - All Rights Reserved
|
|
* Unauthorized copying of this file, via any medium is strictly prohibited
|
|
* Proprietary and confidential
|
|
* Written by Edward M. Kagan <pagan@idp-crew.com>, 2015
|
|
*/
|
|
package org.idp.laf;
|
|
|
|
/**
|
|
* @author Edward M. Kagan <pagan@idp-crew.com>
|
|
*/
|
|
public class Keys {
|
|
|
|
public static final String [] borders = {
|
|
"Button.border",
|
|
"CheckBox.border",
|
|
"CheckBoxMenuItem.border",
|
|
"DesktopIcon.border",
|
|
"EditorPane.border",
|
|
"FormattedTextField.border",
|
|
"Menu.border",
|
|
"List.focusCellHighlightBorder",
|
|
"MenuBar.border",
|
|
"MenuItem.border",
|
|
"OptionPane.border",
|
|
"PasswordField.border",
|
|
"PopupMenu.border",
|
|
"ProgressBar.border",
|
|
"RadioButton.border",
|
|
"RadioButtonMenuItem.border",
|
|
"ScrollPane.border",
|
|
"SplitPane.border",
|
|
//"TabbedPane.tabsOverlapBorder", boolean WTF?!
|
|
"Table.focusCellHighlightBorder",
|
|
"Table.scrollPaneBorder",
|
|
"TableHeader.cellBorder",
|
|
"TextArea.border",
|
|
"TextField.border",
|
|
"TextPane.border",
|
|
"TitledBorder.border",
|
|
"ToggleButton.border",
|
|
"ToolBar.border",
|
|
"ToolTip.border",
|
|
"Tree.editorBorder",
|
|
"Nb.Editor.Status.leftBorder",
|
|
"Nb.Editor.Status.innerBorder",
|
|
"Nb.Editor.Status.rightBorder",
|
|
"Nb.Editor.Status.onlyOneBorder",
|
|
"Nb.Editor.Toolbar.border",
|
|
"Nb.Explorer.Status.border",
|
|
"Nb.Desktop.border",
|
|
// "TabbedContainer.editor.contentBorder", null
|
|
// "TabbedContainer.editor.tabsBorder", null
|
|
"TabbedContainer.editor.outerBorder",
|
|
// "TabbedContainer.view.contentBorder", null
|
|
// "TabbedContainer.view.tabsBorder", null
|
|
"TabbedContainer.view.outerBorder",
|
|
// "TabbedContainer.sliding.contentBorder", null
|
|
// "TabbedContainer.sliding.tabsBorder", null
|
|
// "TabbedContainer.sliding.outerBorder", null
|
|
"nb.explorer.ministatusbar.border",
|
|
// "nb.desktop.splitpane.border", null
|
|
"CheckBox.border"
|
|
};
|
|
|
|
|
|
|
|
public static final String [] color_keys =
|
|
{
|
|
"Button.background",
|
|
"Button.darkShadow",
|
|
"Button.disabledText",
|
|
"Button.foreground",
|
|
"Button.highlight",
|
|
"Button.light",
|
|
"Button.select",
|
|
"Button.shadow",
|
|
|
|
"CheckBox.background",
|
|
"CheckBox.disabledText",
|
|
"CheckBox.foreground",
|
|
|
|
"CheckBoxMenuItem.acceleratorForeground",
|
|
"CheckBoxMenuItem.acceleratorSelectionForeground",
|
|
"CheckBoxMenuItem.background",
|
|
"CheckBoxMenuItem.disabledForeground",
|
|
"CheckBoxMenuItem.foreground",
|
|
"CheckBoxMenuItem.selectionBackground",
|
|
"CheckBoxMenuItem.selectionForeground",
|
|
|
|
"ColorChooser.background",
|
|
"ColorChooser.foreground",
|
|
"ColorChooser.swatchesDefaultRecentColor",
|
|
|
|
"ComboBox.background",
|
|
"ComboBox.buttonBackground",
|
|
"ComboBox.buttonDarkShadow",
|
|
"ComboBox.buttonHighlight",
|
|
"ComboBox.buttonShadow",
|
|
"ComboBox.disabledBackground",
|
|
"ComboBox.disabledForeground",
|
|
"ComboBox.foreground",
|
|
"ComboBox.selectionBackground",
|
|
"ComboBox.selectionForeground",
|
|
|
|
"Desktop.background",
|
|
|
|
"EditorPane.background",
|
|
"EditorPane.caretForeground",
|
|
"EditorPane.foreground",
|
|
"EditorPane.inactiveForeground",
|
|
"EditorPane.selectionBackground",
|
|
"EditorPane.selectionForeground",
|
|
|
|
"FormattedTextField.background",
|
|
"FormattedTextField.caretForeground",
|
|
"FormattedTextField.foreground",
|
|
"FormattedTextField.inactiveBackground",
|
|
"FormattedTextField.inactiveForeground",
|
|
"FormattedTextField.selectionBackground",
|
|
"FormattedTextField.selectionForeground",
|
|
|
|
"InternalFrame.activeTitleBackground",
|
|
"InternalFrame.activeTitleForeground",
|
|
"InternalFrame.borderColor",
|
|
"InternalFrame.borderDarkShadow",
|
|
"InternalFrame.borderHighlight",
|
|
"InternalFrame.borderLight",
|
|
"InternalFrame.borderShadow",
|
|
"InternalFrame.inactiveTitleBackground",
|
|
"InternalFrame.inactiveTitleForeground",
|
|
|
|
"Label.background",
|
|
"Label.disabledForeground",
|
|
"Label.disabledShadow",
|
|
"Label.foreground",
|
|
|
|
"List.background",
|
|
"List.dropLineColor",
|
|
"List.foreground",
|
|
"List.selectionBackground",
|
|
"List.selectionForeground",
|
|
|
|
"Menu.acceleratorForeground",
|
|
"Menu.acceleratorSelectionForeground",
|
|
"Menu.background",
|
|
"Menu.disabledForeground",
|
|
"Menu.foreground",
|
|
"Menu.selectionBackground",
|
|
"Menu.selectionForeground",
|
|
|
|
"MenuBar.background",
|
|
"MenuBar.foreground",
|
|
"MenuBar.highlight",
|
|
"MenuBar.shadow",
|
|
|
|
"MenuItem.acceleratorForeground",
|
|
"MenuItem.acceleratorSelectionForeground",
|
|
"MenuItem.background",
|
|
"MenuItem.disabledForeground",
|
|
"MenuItem.foreground",
|
|
"MenuItem.selectionBackground",
|
|
"MenuItem.selectionForeground",
|
|
|
|
"OptionPane.background",
|
|
"OptionPane.foreground",
|
|
"OptionPane.messageForeground",
|
|
|
|
"Panel.background",
|
|
"Panel.foreground",
|
|
|
|
"PasswordField.background",
|
|
"PasswordField.caretForeground",
|
|
"PasswordField.foreground",
|
|
"PasswordField.inactiveBackground",
|
|
"PasswordField.inactiveForeground",
|
|
"PasswordField.selectionBackground",
|
|
"PasswordField.selectionForeground",
|
|
|
|
"PopupMenu.background",
|
|
"PopupMenu.foreground",
|
|
|
|
"ProgressBar.background",
|
|
"ProgressBar.foreground",
|
|
"ProgressBar.selectionBackground",
|
|
"ProgressBar.selectionForeground",
|
|
|
|
"RadioButton.background",
|
|
"RadioButton.darkShadow",
|
|
"RadioButton.disabledText",
|
|
"RadioButton.foreground",
|
|
"RadioButton.highlight",
|
|
"RadioButton.light",
|
|
"RadioButton.select",
|
|
"RadioButton.shadow",
|
|
|
|
"RadioButtonMenuItem.acceleratorForeground",
|
|
"RadioButtonMenuItem.acceleratorSelectionForeground",
|
|
"RadioButtonMenuItem.background",
|
|
"RadioButtonMenuItem.disabledForeground",
|
|
"RadioButtonMenuItem.foreground",
|
|
"RadioButtonMenuItem.selectionBackground",
|
|
"RadioButtonMenuItem.selectionForeground",
|
|
|
|
"ScrollBar.background",
|
|
"ScrollBar.foreground",
|
|
"ScrollBar.thumb",
|
|
"ScrollBar.thumbDarkShadow",
|
|
"ScrollBar.thumbHighlight",
|
|
"ScrollBar.thumbShadow",
|
|
"ScrollBar.track",
|
|
"ScrollBar.trackHighlight",
|
|
|
|
"ScrollPane.background",
|
|
"ScrollPane.foreground",
|
|
|
|
"Separator.foreground",
|
|
"Separator.highlight",
|
|
"Separator.shadow",
|
|
|
|
"Slider.background",
|
|
"Slider.focus",
|
|
"Slider.foreground",
|
|
"Slider.highlight",
|
|
"Slider.shadow",
|
|
"Slider.tickColor",
|
|
|
|
"Spinner.background",
|
|
"Spinner.foreground",
|
|
|
|
"SplitPane.background",
|
|
"SplitPane.darkShadow",
|
|
"SplitPane.highlight",
|
|
"SplitPane.shadow",
|
|
|
|
"SplitPaneDivider.draggingColor",
|
|
|
|
"TabbedPane.background",
|
|
"TabbedPane.darkShadow",
|
|
"TabbedPane.focus",
|
|
"TabbedPane.foreground",
|
|
"TabbedPane.highlight",
|
|
"TabbedPane.light",
|
|
"TabbedPane.shadow",
|
|
|
|
"Table.background",
|
|
"Table.dropLineColor",
|
|
"Table.dropLineShortColor",
|
|
"Table.focusCellBackground",
|
|
"Table.focusCellForeground",
|
|
"Table.gridColor",
|
|
"Table.selectionBackground",
|
|
"Table.selectionForeground",
|
|
"Table.sortIconColor",
|
|
|
|
"TableHeader.background",
|
|
"TableHeader.focusCellBackground",
|
|
"TableHeader.foreground",
|
|
|
|
"TextArea.background",
|
|
"TextArea.caretForeground",
|
|
"TextArea.foreground",
|
|
"TextArea.inactiveForeground",
|
|
"TextArea.selectionBackground",
|
|
"TextArea.selectionForeground",
|
|
|
|
"TextField.background",
|
|
"TextField.caretForeground",
|
|
"TextField.darkShadow",
|
|
"TextField.foreground",
|
|
"TextField.highlight",
|
|
"TextField.inactiveBackground",
|
|
"TextField.inactiveForeground",
|
|
"TextField.light",
|
|
"TextField.selectionBackground",
|
|
"TextField.selectionForeground",
|
|
"TextField.shadow",
|
|
|
|
"TextPane.background",
|
|
"TextPane.caretForeground",
|
|
"TextPane.foreground",
|
|
"TextPane.inactiveForeground",
|
|
"TextPane.selectionBackground",
|
|
"TextPane.selectionForeground",
|
|
|
|
"TitledBorder.titleColor",
|
|
|
|
"ToggleButton.background",
|
|
"ToggleButton.darkShadow",
|
|
"ToggleButton.disabledText",
|
|
"ToggleButton.foreground",
|
|
"ToggleButton.highlight",
|
|
"ToggleButton.light",
|
|
"ToggleButton.shadow",
|
|
|
|
"ToolBar.background",
|
|
"ToolBar.darkShadow",
|
|
"ToolBar.dockingBackground",
|
|
"ToolBar.dockingForeground",
|
|
"ToolBar.floatingBackground",
|
|
"ToolBar.floatingForeground",
|
|
"ToolBar.foreground",
|
|
"ToolBar.highlight",
|
|
"ToolBar.light",
|
|
"ToolBar.shadow",
|
|
|
|
"ToolTip.background",
|
|
"ToolTip.foreground",
|
|
|
|
"Tree.background",
|
|
"Tree.dropLineColor",
|
|
"Tree.foreground",
|
|
"Tree.hash",
|
|
"Tree.line",
|
|
"Tree.selectionBackground",
|
|
"Tree.selectionBorderColor",
|
|
"Tree.selectionForeground",
|
|
"Tree.textBackground",
|
|
"Tree.textForeground",
|
|
|
|
"Viewport.background",
|
|
"Viewport.foreground",
|
|
|
|
"activeCaption",
|
|
"activeCaptionBorder",
|
|
"activeCaptionText",
|
|
"control",
|
|
"controlDkShadow",
|
|
"controlHighlight",
|
|
"controlLtHighlight",
|
|
"controlShadow",
|
|
"controlText",
|
|
"desktop",
|
|
"inactiveCaption",
|
|
"inactiveCaptionBorder",
|
|
"inactiveCaptionText",
|
|
"info",
|
|
"infoText",
|
|
"menu",
|
|
"menuText",
|
|
"scrollbar",
|
|
"text",
|
|
"textHighlight",
|
|
"textHighlightText",
|
|
"textInactiveText",
|
|
"textText",
|
|
"window",
|
|
"windowBorder",
|
|
"windowText",
|
|
"PropSheet.setBackground",
|
|
"PropSheet.selectedSetBackground",
|
|
"PropSheet.setForeground",
|
|
"PropSheet.selectedSetForeground",
|
|
"PropSheet.disabledForeground",
|
|
"PropSheet.selectionBackground",
|
|
"PropSheet.selectionForeground",
|
|
"CheckBoxMenuItem.disabledBackground",
|
|
"EditorPane.inactiveBackground",
|
|
"Focus.color",
|
|
"InternalFrame.background",
|
|
"InternalFrame.optionDialogBackground",
|
|
"InternalFrame.paletteBackground",
|
|
"Menu.disabledBackground",
|
|
"MenuBar.disabledBackground",
|
|
"MenuBar.disabledForeground",
|
|
"MenuBar.selectionBackground",
|
|
"MenuBar.selectionForeground",
|
|
"MenuItem.disabledBackground",
|
|
"PopupMenu.selectionBackground",
|
|
"PopupMenu.selectionForeground",
|
|
"RadioButtonMenuItem.disabledBackground",
|
|
"TextArea.inactiveBackground",
|
|
"TextComponent.selectionBackgroundInactive",
|
|
"TextPane.inactiveBackground",
|
|
"nb_workplace_fill",
|
|
"Nb.Desktop.background",
|
|
"nb.output.selectionBackground",
|
|
"nb.hyperlink.foreground",
|
|
"nb.output.background",
|
|
"nb.output.foreground",
|
|
"Tree.altbackground",
|
|
"PropSheet.customButtonForeground",
|
|
"netbeans.ps.buttonColor",
|
|
"netbeans.ps.background",
|
|
"nb.errorForeground",
|
|
"nb.warningForeground",
|
|
"TabRenderer.selectedActivatedBackground",
|
|
"TabRenderer.selectedActivatedForeground",
|
|
"TabRenderer.selectedForeground",
|
|
"TabRenderer.selectedBackground",
|
|
"Button.focus",
|
|
"CheckBox.focus",
|
|
"Checkbox.select",
|
|
"DesktopIcon.background",
|
|
"DesktopIcon.foreground",
|
|
"OptionPane.errorDialog.border.background",
|
|
"OptionPane.errorDialog.titlePane.background",
|
|
"OptionPane.errorDialog.titlePane.foreground",
|
|
"OptionPane.errorDialog.titlePane.shadow",
|
|
"OptionPane.questionDialog.border.background",
|
|
"OptionPane.questionDialog.titlePane.background",
|
|
"OptionPane.questionDialog.titlePane.foreground",
|
|
"OptionPane.questionDialog.titlePane.shadow",
|
|
"OptionPane.warningDialog.border.background",
|
|
"OptionPane.warningDialog.titlePane.background",
|
|
"OptionPane.warningDialog.titlePane.foreground",
|
|
"OptionPane.warningDialog.titlePane.shadow",
|
|
"RadioButton.focus",
|
|
"ScrollBar.darkShadow",
|
|
"ScrollBar.highlight",
|
|
"ScrollBar.shadow",
|
|
"Separator.background",
|
|
"SplitPane.dividerFocusColor",
|
|
"TabbedPane.selected",
|
|
"TabbedPane.selectHighlight",
|
|
"TabbedPane.tabAreaBackground",
|
|
"Table.foreground",
|
|
"ToggleButton.focus",
|
|
"ToggleButton.select",
|
|
"ToolTip.backgroundInactive",
|
|
"ToolTip.foregroundInactive"
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|