Various properties in Java UIManager

xiaoxiao2021-03-06  126

The following is a list of all valid keys for the UIManager.getDefaults () object. I'm not sure which of these is the key you need, but you may take a look at the callColorUIResource cuir = UIManager.getDefaults (). Get ("ActiveCaption");

... Which Seem to Return A Coloruiresource Which, Functionally, IS Just A Color Object. Best of Luck to you.:

) - List follows --AbstractButton.clickTextAbstractDocument.additionTextAbstractDocument.deletionTextAbstractDocument.redoTextAbstractDocument.styleChangeTextAbstractDocument.undoTextAbstractUndoableEdit.redoTextAbstractUndoableEdit.undoTextButton.backgroundButton.borderButton.disabledTextButton.focusButton.focusInputMapButton.fontButton.foregroundButton.marginButton.selectButton.textIconGapButton.textShiftOffsetButtonUICheckBox.backgroundCheckBox.borderCheckBox .disabledTextCheckBox.focusCheckBox.focusInputMapCheckBox.fontCheckBox.foregroundCheckBox.iconCheckBox.marginCheckBox.textIconGapCheckBox.textShiftOffsetCheckBoxMenuItem.acceleratorFontCheckBoxMenuItem.acceleratorForegroundCheckBoxMenuItem.acceleratorSelectionForegroundCheckBoxMenuItem.arrowIconCheckBoxMenuItem.backgroundCheckBoxMenuItem.borderCheckBoxMenuItem.borderPaintedCheckBoxMenuItem.checkIconCheckBoxMenuItem.disabledForegroundCheckBoxMenuItem.fontCheckBoxMenuItem.foregroundCheckBoxMenuItem.marginCheckBoxMenuItem.selection BackgroundCheckBoxMenuItem.selectionForegroundCheckBoxMenuItemUICheckBoxUICheckbox.selectColorChooser.backgroundColorChooser.cancelTextColorChooser.fontColorChooser.foregroundColorChooser.hsbBlueTextColorChooser.hsbBrightnessTextColorChooser.hsbGreenTextColorChooser.hsbHueTextColorChooser.hsbNameTextColorChooser.hsbRedTextColorChooser.hsbSaturationTextColorChooser.okTextColorChooser.previewTextColorChooser.resetTextColorChooser.rgbBlueMnemonicColorChooser.rgbBlueTextColorChooser.rgbGreenMnemonicColorChooser.rgbGreenTextColorChooser.rgbNameTextColorChooser.rgbRedMnemonicColorChooser.rgbRedTextColorChooser.sampleTextColorChooser. SwatchesdefaultRecentColorChorchooser.swatchesnametextColorchooser.swatchesrecentswatchsizecolorchooser.swatchesre

centTextColorChooser.swatchesSwatchSizeColorChooserUIComboBox.ancestorInputMapComboBox.backgroundComboBox.disabledBackgroundComboBox.disabledForegroundComboBox.fontComboBox.foregroundComboBox.listBackgroundComboBox.listForegroundComboBox.selectionBackgroundComboBox.selectionForegroundComboBox.togglePopupTextComboBoxUIDesktop.ancestorInputMapDesktop.backgroundDesktopIcon.backgroundDesktopIcon.borderDesktopIcon.fontDesktopIcon.foregroundDesktopIconUIDesktopPaneUIEditorPane.backgroundEditorPane.borderEditorPane.caretBlinkRateEditorPane.caretForegroundEditorPane.focusInputMapEditorPane.fontEditorPane. foregroundEditorPane.inactiveForegroundEditorPane.keyBindingsEditorPane.marginEditorPane.selectionBackgroundEditorPane.selectionForegroundEditorPaneUIFileChooser.acceptAllFileFilterTextFileChooser.ancestorInputMapFileChooser.cancelButtonMnemonicFileChooser.cancelButtonTextFileChooser.cancelButtonToolTipTextFileChooser.detailsViewButtonAccessibleNameFileChooser.detailsViewButtonToolTipTextFileC hooser.detailsViewIconFileChooser.directoryDescriptionTextFileChooser.fileDescriptionTextFileChooser.fileNameLabelMnemonicFileChooser.fileNameLabelTextFileChooser.filesOfTypeLabelMnemonicFileChooser.filesOfTypeLabelTextFileChooser.helpButtonMnemonicFileChooser.helpButtonTextFileChooser.helpButtonToolTipTextFileChooser.homeFolderAccessibleNameFileChooser.homeFolderIconFileChooser.homeFolderToolTipTextFileChooser.listViewButtonAccessibleNameFileChooser.listViewButtonToolTipTextFileChooser.listViewIconFileChooser.lookInLabelMnemonicFileChooser.lookInLabelTextFileChooser.newFolderAccessibleNameFileChooser.newFolderErrorSeparatorFileChooser.newFolderErrorTextFileChooser.newFolderIconFileChooser.newFolderToolTipTextFileChooser.openButtonMnemonicF

ileChooser.openButtonTextFileChooser.openButtonToolTipTextFileChooser.openDialogTitleTextFileChooser.other.newFolderFileChooser.other.newFolder.subsequentFileChooser.saveButtonMnemonicFileChooser.saveButtonTextFileChooser.saveButtonToolTipTextFileChooser.saveDialogTitleTextFileChooser.upFolderAccessibleNameFileChooser.upFolderIconFileChooser.upFolderToolTipTextFileChooser.updateButtonMnemonicFileChooser.updateButtonTextFileChooser.updateButtonToolTipTextFileChooser.win32.newFolderFileChooser.win32.newFolder.subsequentFileChooserUIFileView.computerIconFileView. directoryIconFileView.fileIconFileView.floppyDriveIconFileView.hardDriveIconFocusManagerClassNameFormView.resetButtonTextFormView.submitButtonTextInternalFrame.activeTitleBackgroundInternalFrame.activeTitleForegroundInternalFrame.borderInternalFrame.closeIconInternalFrame.fontInternalFrame.iconInternalFrame.iconifyIconInternalFrame.inactiveTitleBackgroundInternalFrame.inactiveTitleForegroundInternalFrame.maximizeIconInternalFrame. minimizeIconInternalFrame.optionDialogBorderInternalFrame.paletteBorderInternalFrame.paletteCloseIconInternalFrame.paletteTitleHeightInternalFrame.titleFontInternalFrame.windowBindingsInternalFrameTitlePane.closeButtonAccessibleNameInternalFrameTitlePane.closeButtonTextInternalFrameTitlePane.iconifyButtonAccessibleNameInternalFrameTitlePane.maximizeButtonAccessibleNameInternalFrameTitlePane.maximizeButtonTextInternalFrameTitlePane.minimizeButtonTextInternalFrameTitlePane.moveButtonTextInternalFrameTitlePane.restoreButtonTextInternalFrameTitlePane.sizeButtonTextInternalFrameUILabel.backgroundLabel.disabledForegroundLabel.disabledShadowLabel.fontLabel.foregroundLabelUIList.backgroundList.cellRendererList.focusCellHighlightBorderList.focusInpu

tMapList.fontList.foregroundList.selectionBackgroundList.selectionForegroundListUIMenu.acceleratorFontMenu.acceleratorForegroundMenu.acceleratorSelectionForegroundMenu.arrowIconMenu.backgroundMenu.borderMenu.borderPaintedMenu.checkIconMenu.consumesTabsMenu.disabledForegroundMenu.fontMenu.foregroundMenu.marginMenu.selectedWindowInputMapBindingsMenu.selectionBackgroundMenu.selectionForegroundMenuBar.backgroundMenuBar.borderMenuBar.fontMenuBar.foregroundMenuBar. windowBindingsMenuBarUIMenuItem.acceleratorDelimiterMenuItem.acceleratorFontMenuItem.acceleratorForegroundMenuItem.acceleratorSelectionForegroundMenuItem.arrowIconMenuItem.backgroundMenuItem.borderMenuItem.borderPaintedMenuItem.checkIconMenuItem.disabledForegroundMenuItem.fontMenuItem.foregroundMenuItem.marginMenuItem.selectionBackgroundMenuItem.selectionForegroundMenuItemUIMenuUIOptionPane.backgroundOptionPane.borderOptionPane.buttonAreaBorderOptionPane.cancelButtonTextOptionPane.errorIconOptionPane.fontOptionPane.foregroundOption Pane.informationIconOptionPane.messageAreaBorderOptionPane.messageForegroundOptionPane.minimumSizeOptionPane.noButtonTextOptionPane.okButtonTextOptionPane.questionIconOptionPane.titleTextOptionPane.warningIconOptionPane.windowBindingsOptionPane.yesButtonTextOptionPaneUIPanel.backgroundPanel.fontPanel.foregroundPanelUIPasswordField.backgroundPasswordField.borderPasswordField.caretBlinkRatePasswordField.caretForegroundPasswordField.focusInputMapPasswordField.fontPasswordField.foregroundPasswordField.inactiveForegroundPasswordField.keyBindingsPasswordField.marginPasswordField. SelectionBackgroundPasswordfield.selectionForegroundPasswordFieldFieldFieldPopupUpMenu.BorderPopupMenu.FontPopUpMenu.ForegroundPopUpMenu.SelectedWindowinPutmapb

indingsPopupMenuSeparatorUIPopupMenuUIProgressBar.backgroundProgressBar.backgroundHighlightProgressBar.borderProgressBar.cellLengthProgressBar.cellSpacingProgressBar.fontProgressBar.foregroundProgressBar.foregroundHighlightProgressBar.selectionBackgroundProgressBar.selectionForegroundProgressBarUIProgressMonitor.progressTextRadioButton.backgroundRadioButton.borderRadioButton.disabledTextRadioButton.focusRadioButton.focusInputMapRadioButton.fontRadioButton.foregroundRadioButton.iconRadioButton.marginRadioButton.selectRadioButton.textIconGapRadioButton.textShiftOffsetRadioButtonMenuItem.acceleratorFontRadioButtonMenuItem. acceleratorForegroundRadioButtonMenuItem.acceleratorSelectionForegroundRadioButtonMenuItem.arrowIconRadioButtonMenuItem.backgroundRadioButtonMenuItem.borderRadioButtonMenuItem.borderPaintedRadioButtonMenuItem.checkIconRadioButtonMenuItem.disabledForegroundRadioButtonMenuItem.fontRadioButtonMenuItem.foregroundRadioButtonMenuItem.marginRadioButtonMenuItem.selectionBackgrou ndRadioButtonMenuItem.selectionForegroundRadioButtonMenuItemUIRadioButtonUIRootPane.defaultButtonWindowKeyBindingsRootPaneUIScrollBar.allowsAbsolutePositioningScrollBar.backgroundScrollBar.darkShadowScrollBar.focusInputMapScrollBar.foregroundScrollBar.highlightScrollBar.maximumThumbSizeScrollBar.minimumThumbSizeScrollBar.shadowScrollBar.thumbScrollBar.thumbDarkShadowScrollBar.thumbHighlightScrollBar.thumbLightShadowScrollBar.thumbShadowScrollBar.trackScrollBar.trackHighlightScrollBar.widthScrollBarUIScrollPane.ancestorInputMapScrollPane.backgroundScrollPane.borderScrollPane.fontScrollPane.foregroundScrollPaneUISeparator. BackgroundseParetor.ForegroundSeparator.HighlightseParetor.ShadowseParatoruislider.Backgroundslider.focusslider.focusInput

MapSlider.focusInsetsSlider.foregroundSlider.highlightSlider.horizontalThumbIconSlider.majorTickLengthSlider.shadowSlider.trackWidthSlider.verticalThumbIconSliderUISplitPane.ancestorInputMapSplitPane.backgroundSplitPane.borderSplitPane.dividerSizeSplitPane.highlightSplitPane.leftButtonTextSplitPane.rightButtonTextSplitPane.shadowSplitPaneDivider.borderSplitPaneUIStandardDialogUITabbedPane.ancestorInputMapTabbedPane.backgroundTabbedPane.contentBorderInsetsTabbedPane.darkShadowTabbedPane.focusTabbedPane.focusInputMapTabbedPane.fontTabbedPane. foregroundTabbedPane.highlightTabbedPane.lightHighlightTabbedPane.selectHighlightTabbedPane.selectedTabbedPane.selectedTabPadInsetsTabbedPane.shadowTabbedPane.tabAreaBackgroundTabbedPane.tabAreaInsetsTabbedPane.tabInsetsTabbedPane.tabRunOverlayTabbedPane.textIconGapTabbedPaneUITable.ancestorInputMapTable.backgroundTable.focusCellBackgroundTable.focusCellForegroundTable.focusCellHighlightBorderTable.fontTable.foregroundTable.gridColorTable.scrollPaneB orderTable.selectionBackgroundTable.selectionForegroundTableHeader.backgroundTableHeader.cellBorderTableHeader.fontTableHeader.foregroundTableHeaderUITableUITextArea.backgroundTextArea.borderTextArea.caretBlinkRateTextArea.caretForegroundTextArea.focusInputMapTextArea.fontTextArea.foregroundTextArea.inactiveForegroundTextArea.keyBindingsTextArea.marginTextArea.selectionBackgroundTextArea.selectionForegroundTextAreaUITextField.backgroundTextField.borderTextField.caretBlinkRateTextField.caretForegroundTextField.focusInputMapTextField.fontTextField. foregroundTextField.inactiveForegroundTextField.keyBindingsTextField.marginTextField.selectionBackgroundTextField.selectionForegroundTextFieldUITextPane.backgroundTextPane.borderTextPane.caretBlinkR

ateTextPane.caretForegroundTextPane.focusInputMapTextPane.fontTextPane.foregroundTextPane.inactiveForegroundTextPane.keyBindingsTextPane.marginTextPane.selectionBackgroundTextPane.selectionForegroundTextPaneUITitledBorder.borderTitledBorder.fontTitledBorder.titleColorToggleButton.backgroundToggleButton.borderToggleButton.disabledBackgroundToggleButton.disabledSelectedBackgroundToggleButton.disabledSelectedTextToggleButton.disabledTextToggleButton.focusToggleButton.focusInputMapToggleButton.fontToggleButton.foregroundToggleButton.marginToggleButton.selectToggleButton. textToggleButton.textIconGapToggleButton.textShiftOffsetToggleButtonUIToolBar.ancestorInputMapToolBar.backgroundToolBar.borderToolBar.dockingBackgroundToolBar.dockingForegroundToolBar.floatingBackgroundToolBar.floatingForegroundToolBar.fontToolBar.foregroundToolBar.separatorSizeToolBarSeparatorUIToolBarUIToolTip.backgroundToolTip.borderToolTip.fontToolTip.foregroundToolTipUITree.ancestorInputMapTree.backgroundTree.changeSel ectionWithFocusTree.closedIconTree.collapsedIconTree.drawsFocusBorderAroundIconTree.editorBorderTree.expandedIconTree.focusInputMapTree.fontTree.foregroundTree.hashTree.leafIconTree.leftChildIndentTree.lineTree.openIconTree.rightChildIndentTree.rowHeightTree.scrollsOnExpandTree.selectionBackgroundTree.selectionBorderColorTree.selectionForegroundTree.textBackgroundTree.textForegroundTreeUIViewport.backgroundViewport.fontViewport.foregroundViewportUIactiveCaptionactiveCaptionBorderactiveCaptionTextcontrolcontrolDkShadowcontrolHighlightcontrolLtHighlightcontrolShadowcontrolTextdesktopinactiveCaptioninactiveCaptionBorderinactiveCaptionTextinfoinfoTextmenumenuTextscrollbartexttextHighlighttextHighlightTexttextInactiveTexttextTextwindowwindowBord

转载请注明原文地址:https://www.9cbs.com/read-127196.html

New Post(0)