public enum PresetColor extends java.lang.Enum<PresetColor>
Enum Constant and Description |
---|
ActiveBorder
The system-defined color of the active window's border.
|
ActiveCaption
The system-defined color of the background of the active window's title bar.
|
ActiveCaptionText
The system-defined color of the text in the active window's title bar.
|
AliceBlue |
AntiqueWhite |
AppWorkspace
The application workspace is the area in a multiple-document view that is not being occupied by documents.
|
Aqua |
Aquamarine |
Azure |
Beige |
Bisque |
Black |
BlanchedAlmond |
Blue |
BlueViolet |
Brown |
BurlyWood |
ButtonFace
The system-defined face color of a 3-D element.
|
ButtonHighlight
The system-defined color that is the highlight color of a 3-D element.
|
ButtonShadow
The system-defined color that is the shadow color of a 3-D element.
|
CadetBlue |
Chartreuse |
Chocolate |
Control
The system-defined face color of a 3-D element.
|
ControlDark
The system-defined shadow color of a 3-D element.
|
ControlDarkDark
The system-defined color that is the dark shadow color of a 3-D element.
|
ControlLight
The system-defined color that is the light color of a 3-D element.
|
ControlLightLight
The system-defined highlight color of a 3-D element.
|
ControlText
The system-defined color of text in a 3-D element.
|
Coral |
CornflowerBlue |
Cornsilk |
Crimson |
Cyan |
DarkBlue |
DarkCyan |
DarkGoldenrod |
DarkGray |
DarkGreen |
DarkKhaki |
DarkMagenta |
DarkOliveGreen |
DarkOrange |
DarkOrchid |
DarkRed |
DarkSalmon |
DarkSeaGreen |
DarkSlateBlue |
DarkSlateGray |
DarkTurquoise |
DarkViolet |
DeepPink |
DeepSkyBlue |
Desktop
The system-defined color of the desktop.
|
DimGray |
DodgerBlue |
Firebrick |
FloralWhite |
ForestGreen |
Fuchsia |
Gainsboro |
GhostWhite |
Gold |
Goldenrod |
GradientActiveCaption
The system-defined color of the lightest color in the color gradient of an active window's title bar.
|
GradientInactiveCaption
The system-defined color of the lightest color in the color gradient of an inactive window's title bar.
|
Gray |
GrayText
The system-defined color of dimmed text.
|
Green |
GreenYellow |
Highlight
The system-defined color of the background of selected items.
|
HighlightText
The system-defined color of the text of selected items.
|
Honeydew |
HotPink |
HotTrack
The system-defined color used to designate a hot-tracked item.
|
InactiveBorder
The system-defined color of an inactive window's border.
|
InactiveCaption
The system-defined color of the background of an inactive window's title bar.
|
InactiveCaptionText
The system-defined color of the text in an inactive window's title bar.
|
IndianRed |
Indigo |
Info
The system-defined color of the background of a ToolTip.
|
InfoText
The system-defined color of the text of a ToolTip.
|
Ivory |
Khaki |
Lavender |
LavenderBlush |
LawnGreen |
LemonChiffon |
LightBlue |
LightCoral |
LightCyan |
LightGoldenrodYellow |
LightGray |
LightGreen |
LightPink |
LightSalmon |
LightSeaGreen |
LightSkyBlue |
LightSlateGray |
LightSteelBlue |
LightYellow |
Lime |
LimeGreen |
Linen |
Magenta |
Maroon |
MediumAquamarine |
MediumBlue |
MediumOrchid |
MediumPurple |
MediumSeaGreen |
MediumSlateBlue |
MediumSpringGreen |
MediumTurquoise |
MediumVioletRed |
Menu
The system-defined color of a menu's background.
|
MenuBar
The system-defined color of the background of a menu bar.
|
MenuHighlight
The system-defined color used to highlight menu items when the menu appears as a flat menu.
|
MenuText
The system-defined color of a menu's text.
|
MidnightBlue |
MintCream |
MistyRose |
Moccasin |
NavajoWhite |
Navy |
OldLace |
Olive |
OliveDrab |
Orange |
OrangeRed |
Orchid |
PaleGoldenrod |
PaleGreen |
PaleTurquoise |
PaleVioletRed |
PapayaWhip |
PeachPuff |
Peru |
Pink |
Plum |
PowderBlue |
Purple |
Red |
RosyBrown |
RoyalBlue |
SaddleBrown |
Salmon |
SandyBrown |
ScrollBar
The system-defined color of the background of a scroll bar.
|
SeaGreen |
SeaShell |
Sienna |
Silver |
SkyBlue |
SlateBlue |
SlateGray |
Snow |
SpringGreen |
SteelBlue |
Tan |
Teal |
Thistle |
Tomato |
Transparent |
Turquoise |
Violet |
Wheat |
White |
WhiteSmoke |
Window
The system-defined color of the background in the client area of a window.
|
WindowFrame
The system-defined color of a window frame.
|
WindowText
The system-defined color of the text in the client area of a window.
|
Yellow |
YellowGreen |
Modifier and Type | Field and Description |
---|---|
java.awt.Color |
color |
int |
nativeId |
java.lang.String |
ooxmlId |
Modifier and Type | Method and Description |
---|---|
static PresetColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PresetColor |
valueOfNativeId(int nativeId) |
static PresetColor |
valueOfOoxmlId(java.lang.String ooxmlId) |
static PresetColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresetColor ActiveBorder
public static final PresetColor ActiveCaption
public static final PresetColor ActiveCaptionText
public static final PresetColor AppWorkspace
public static final PresetColor Control
public static final PresetColor ControlDark
public static final PresetColor ControlDarkDark
public static final PresetColor ControlLight
public static final PresetColor ControlLightLight
public static final PresetColor ControlText
public static final PresetColor Desktop
public static final PresetColor GrayText
public static final PresetColor Highlight
public static final PresetColor HighlightText
public static final PresetColor HotTrack
public static final PresetColor InactiveBorder
public static final PresetColor InactiveCaption
public static final PresetColor InactiveCaptionText
public static final PresetColor Info
public static final PresetColor InfoText
public static final PresetColor Menu
public static final PresetColor MenuText
public static final PresetColor ScrollBar
public static final PresetColor Window
public static final PresetColor WindowFrame
public static final PresetColor WindowText
public static final PresetColor Transparent
public static final PresetColor AliceBlue
public static final PresetColor AntiqueWhite
public static final PresetColor Aqua
public static final PresetColor Aquamarine
public static final PresetColor Azure
public static final PresetColor Beige
public static final PresetColor Bisque
public static final PresetColor Black
public static final PresetColor BlanchedAlmond
public static final PresetColor Blue
public static final PresetColor BlueViolet
public static final PresetColor Brown
public static final PresetColor BurlyWood
public static final PresetColor CadetBlue
public static final PresetColor Chartreuse
public static final PresetColor Chocolate
public static final PresetColor Coral
public static final PresetColor CornflowerBlue
public static final PresetColor Cornsilk
public static final PresetColor Crimson
public static final PresetColor Cyan
public static final PresetColor DarkBlue
public static final PresetColor DarkCyan
public static final PresetColor DarkGoldenrod
public static final PresetColor DarkGray
public static final PresetColor DarkGreen
public static final PresetColor DarkKhaki
public static final PresetColor DarkMagenta
public static final PresetColor DarkOliveGreen
public static final PresetColor DarkOrange
public static final PresetColor DarkOrchid
public static final PresetColor DarkRed
public static final PresetColor DarkSalmon
public static final PresetColor DarkSeaGreen
public static final PresetColor DarkSlateBlue
public static final PresetColor DarkSlateGray
public static final PresetColor DarkTurquoise
public static final PresetColor DarkViolet
public static final PresetColor DeepPink
public static final PresetColor DeepSkyBlue
public static final PresetColor DimGray
public static final PresetColor DodgerBlue
public static final PresetColor Firebrick
public static final PresetColor FloralWhite
public static final PresetColor ForestGreen
public static final PresetColor Fuchsia
public static final PresetColor Gainsboro
public static final PresetColor GhostWhite
public static final PresetColor Gold
public static final PresetColor Goldenrod
public static final PresetColor Gray
public static final PresetColor Green
public static final PresetColor GreenYellow
public static final PresetColor Honeydew
public static final PresetColor HotPink
public static final PresetColor IndianRed
public static final PresetColor Indigo
public static final PresetColor Ivory
public static final PresetColor Khaki
public static final PresetColor Lavender
public static final PresetColor LavenderBlush
public static final PresetColor LawnGreen
public static final PresetColor LemonChiffon
public static final PresetColor LightBlue
public static final PresetColor LightCoral
public static final PresetColor LightCyan
public static final PresetColor LightGoldenrodYellow
public static final PresetColor LightGray
public static final PresetColor LightGreen
public static final PresetColor LightPink
public static final PresetColor LightSalmon
public static final PresetColor LightSeaGreen
public static final PresetColor LightSkyBlue
public static final PresetColor LightSlateGray
public static final PresetColor LightSteelBlue
public static final PresetColor LightYellow
public static final PresetColor Lime
public static final PresetColor LimeGreen
public static final PresetColor Linen
public static final PresetColor Magenta
public static final PresetColor Maroon
public static final PresetColor MediumAquamarine
public static final PresetColor MediumBlue
public static final PresetColor MediumOrchid
public static final PresetColor MediumPurple
public static final PresetColor MediumSeaGreen
public static final PresetColor MediumSlateBlue
public static final PresetColor MediumSpringGreen
public static final PresetColor MediumTurquoise
public static final PresetColor MediumVioletRed
public static final PresetColor MidnightBlue
public static final PresetColor MintCream
public static final PresetColor MistyRose
public static final PresetColor Moccasin
public static final PresetColor NavajoWhite
public static final PresetColor Navy
public static final PresetColor OldLace
public static final PresetColor Olive
public static final PresetColor OliveDrab
public static final PresetColor Orange
public static final PresetColor OrangeRed
public static final PresetColor Orchid
public static final PresetColor PaleGoldenrod
public static final PresetColor PaleGreen
public static final PresetColor PaleTurquoise
public static final PresetColor PaleVioletRed
public static final PresetColor PapayaWhip
public static final PresetColor PeachPuff
public static final PresetColor Peru
public static final PresetColor Pink
public static final PresetColor Plum
public static final PresetColor PowderBlue
public static final PresetColor Purple
public static final PresetColor Red
public static final PresetColor RosyBrown
public static final PresetColor RoyalBlue
public static final PresetColor SaddleBrown
public static final PresetColor Salmon
public static final PresetColor SandyBrown
public static final PresetColor SeaGreen
public static final PresetColor SeaShell
public static final PresetColor Sienna
public static final PresetColor Silver
public static final PresetColor SkyBlue
public static final PresetColor SlateBlue
public static final PresetColor SlateGray
public static final PresetColor Snow
public static final PresetColor SpringGreen
public static final PresetColor SteelBlue
public static final PresetColor Tan
public static final PresetColor Teal
public static final PresetColor Thistle
public static final PresetColor Tomato
public static final PresetColor Turquoise
public static final PresetColor Violet
public static final PresetColor Wheat
public static final PresetColor White
public static final PresetColor WhiteSmoke
public static final PresetColor Yellow
public static final PresetColor YellowGreen
public static final PresetColor ButtonFace
public static final PresetColor ButtonHighlight
public static final PresetColor ButtonShadow
public static final PresetColor GradientActiveCaption
public static final PresetColor GradientInactiveCaption
public static final PresetColor MenuBar
public static final PresetColor MenuHighlight
public final java.awt.Color color
public final int nativeId
public final java.lang.String ooxmlId
public static PresetColor[] values()
for (PresetColor c : PresetColor.values()) System.out.println(c);
public static PresetColor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static PresetColor valueOfOoxmlId(java.lang.String ooxmlId)
public static PresetColor valueOfNativeId(int nativeId)
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.