Enum PresetColor

    • Enum Constant Detail

      • ActiveBorder

        public static final PresetColor ActiveBorder
        The system-defined color of the active window's border.
      • ActiveCaption

        public static final PresetColor ActiveCaption
        The system-defined color of the background of the active window's title bar.
      • ActiveCaptionText

        public static final PresetColor ActiveCaptionText
        The system-defined color of the text in the active window's title bar.
      • AppWorkspace

        public static final PresetColor AppWorkspace
        The application workspace is the area in a multiple-document view that is not being occupied by documents.
      • Control

        public static final PresetColor Control
        The system-defined face color of a 3-D element.
      • ControlDark

        public static final PresetColor ControlDark
        The system-defined shadow color of a 3-D element. The shadow color is applied to parts of a 3-D element that face away from the light source.
      • ControlDarkDark

        public static final PresetColor ControlDarkDark
        The system-defined color that is the dark shadow color of a 3-D element. The dark shadow color is applied to the parts of a 3-D element that are the darkest color.
      • ControlLight

        public static final PresetColor ControlLight
        The system-defined color that is the light color of a 3-D element. The light color is applied to parts of a 3-D element that face the light source.
      • ControlLightLight

        public static final PresetColor ControlLightLight
        The system-defined highlight color of a 3-D element. The highlight color is applied to the parts of a 3-D element that are the lightest color.
      • ControlText

        public static final PresetColor ControlText
        The system-defined color of text in a 3-D element.
      • Desktop

        public static final PresetColor Desktop
        The system-defined color of the desktop.
      • GrayText

        public static final PresetColor GrayText
        The system-defined color of dimmed text. Items in a list that are disabled are displayed in dimmed text.
      • Highlight

        public static final PresetColor Highlight
        The system-defined color of the background of selected items. This includes selected menu items as well as selected text.
      • HighlightText

        public static final PresetColor HighlightText
        The system-defined color of the text of selected items.
      • HotTrack

        public static final PresetColor HotTrack
        The system-defined color used to designate a hot-tracked item. Single-clicking a hot-tracked item executes the item.
      • InactiveBorder

        public static final PresetColor InactiveBorder
        The system-defined color of an inactive window's border.
      • InactiveCaption

        public static final PresetColor InactiveCaption
        The system-defined color of the background of an inactive window's title bar.
      • InactiveCaptionText

        public static final PresetColor InactiveCaptionText
        The system-defined color of the text in an inactive window's title bar.
      • Info

        public static final PresetColor Info
        The system-defined color of the background of a ToolTip.
      • InfoText

        public static final PresetColor InfoText
        The system-defined color of the text of a ToolTip.
      • Menu

        public static final PresetColor Menu
        The system-defined color of a menu's background.
      • MenuText

        public static final PresetColor MenuText
        The system-defined color of a menu's text.
      • ScrollBar

        public static final PresetColor ScrollBar
        The system-defined color of the background of a scroll bar.
      • Window

        public static final PresetColor Window
        The system-defined color of the background in the client area of a window.
      • WindowFrame

        public static final PresetColor WindowFrame
        The system-defined color of a window frame.
      • WindowText

        public static final PresetColor WindowText
        The system-defined color of the text in the client area of a window.
      • Transparent

        public static final PresetColor Transparent
      • AntiqueWhite

        public static final PresetColor AntiqueWhite
      • Aquamarine

        public static final PresetColor Aquamarine
      • BlanchedAlmond

        public static final PresetColor BlanchedAlmond
      • BlueViolet

        public static final PresetColor BlueViolet
      • Chartreuse

        public static final PresetColor Chartreuse
      • CornflowerBlue

        public static final PresetColor CornflowerBlue
      • DarkGoldenrod

        public static final PresetColor DarkGoldenrod
      • DarkMagenta

        public static final PresetColor DarkMagenta
      • DarkOliveGreen

        public static final PresetColor DarkOliveGreen
      • DarkOrange

        public static final PresetColor DarkOrange
      • DarkOrchid

        public static final PresetColor DarkOrchid
      • DarkSalmon

        public static final PresetColor DarkSalmon
      • DarkSeaGreen

        public static final PresetColor DarkSeaGreen
      • DarkSlateBlue

        public static final PresetColor DarkSlateBlue
      • DarkSlateGray

        public static final PresetColor DarkSlateGray
      • DarkTurquoise

        public static final PresetColor DarkTurquoise
      • DarkViolet

        public static final PresetColor DarkViolet
      • DeepSkyBlue

        public static final PresetColor DeepSkyBlue
      • DodgerBlue

        public static final PresetColor DodgerBlue
      • FloralWhite

        public static final PresetColor FloralWhite
      • ForestGreen

        public static final PresetColor ForestGreen
      • GhostWhite

        public static final PresetColor GhostWhite
      • GreenYellow

        public static final PresetColor GreenYellow
      • LavenderBlush

        public static final PresetColor LavenderBlush
      • LemonChiffon

        public static final PresetColor LemonChiffon
      • LightCoral

        public static final PresetColor LightCoral
      • LightGoldenrodYellow

        public static final PresetColor LightGoldenrodYellow
      • LightGreen

        public static final PresetColor LightGreen
      • LightSalmon

        public static final PresetColor LightSalmon
      • LightSeaGreen

        public static final PresetColor LightSeaGreen
      • LightSkyBlue

        public static final PresetColor LightSkyBlue
      • LightSlateGray

        public static final PresetColor LightSlateGray
      • LightSteelBlue

        public static final PresetColor LightSteelBlue
      • LightYellow

        public static final PresetColor LightYellow
      • MediumAquamarine

        public static final PresetColor MediumAquamarine
      • MediumBlue

        public static final PresetColor MediumBlue
      • MediumOrchid

        public static final PresetColor MediumOrchid
      • MediumPurple

        public static final PresetColor MediumPurple
      • MediumSeaGreen

        public static final PresetColor MediumSeaGreen
      • MediumSlateBlue

        public static final PresetColor MediumSlateBlue
      • MediumSpringGreen

        public static final PresetColor MediumSpringGreen
      • MediumTurquoise

        public static final PresetColor MediumTurquoise
      • MediumVioletRed

        public static final PresetColor MediumVioletRed
      • MidnightBlue

        public static final PresetColor MidnightBlue
      • NavajoWhite

        public static final PresetColor NavajoWhite
      • PaleGoldenrod

        public static final PresetColor PaleGoldenrod
      • PaleTurquoise

        public static final PresetColor PaleTurquoise
      • PaleVioletRed

        public static final PresetColor PaleVioletRed
      • PapayaWhip

        public static final PresetColor PapayaWhip
      • PowderBlue

        public static final PresetColor PowderBlue
      • SaddleBrown

        public static final PresetColor SaddleBrown
      • SandyBrown

        public static final PresetColor SandyBrown
      • SpringGreen

        public static final PresetColor SpringGreen
      • WhiteSmoke

        public static final PresetColor WhiteSmoke
      • YellowGreen

        public static final PresetColor YellowGreen
      • ButtonFace

        public static final PresetColor ButtonFace
        The system-defined face color of a 3-D element.
      • ButtonHighlight

        public static final PresetColor ButtonHighlight
        The system-defined color that is the highlight color of a 3-D element. This color is applied to parts of a 3-D element that face the light source.
      • ButtonShadow

        public static final PresetColor ButtonShadow
        The system-defined color that is the shadow color of a 3-D element. This color is applied to parts of a 3-D element that face away from the light source.
      • GradientActiveCaption

        public static final PresetColor GradientActiveCaption
        The system-defined color of the lightest color in the color gradient of an active window's title bar.
      • GradientInactiveCaption

        public static final PresetColor GradientInactiveCaption
        The system-defined color of the lightest color in the color gradient of an inactive window's title bar.
      • MenuBar

        public static final PresetColor MenuBar
        The system-defined color of the background of a menu bar.
      • MenuHighlight

        public static final PresetColor MenuHighlight
        The system-defined color used to highlight menu items when the menu appears as a flat menu.
    • Field Detail

      • color

        public final Color color
      • nativeId

        public final int nativeId
      • ooxmlId

        public final String ooxmlId
    • Method Detail

      • values

        public static PresetColor[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (PresetColor c : PresetColor.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PresetColor valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • valueOfNativeId

        public static PresetColor valueOfNativeId​(int nativeId)