Package org.apache.poi.sl.usermodel
Enum Class PresetColor
- All Implemented Interfaces:
Serializable
,Comparable<PresetColor>
,Constable
Preset colors defined in DrawingML aka known/system colors
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe system-defined color of the active window's border.The system-defined color of the background of the active window's title bar.The system-defined color of the text in the active window's title bar.The application workspace is the area in a multiple-document view that is not being occupied by documents.The system-defined face color of a 3-D element.The system-defined color that is the highlight color of a 3-D element.The system-defined color that is the shadow color of a 3-D element.The system-defined face color of a 3-D element.The system-defined shadow color of a 3-D element.The system-defined color that is the dark shadow color of a 3-D element.The system-defined color that is the light color of a 3-D element.The system-defined highlight color of a 3-D element.The system-defined color of text in a 3-D element.The system-defined color of the desktop.The system-defined color of the lightest color in the color gradient of an active window's title bar.The system-defined color of the lightest color in the color gradient of an inactive window's title bar.The system-defined color of dimmed text.The system-defined color of the background of selected items.The system-defined color of the text of selected items.The system-defined color used to designate a hot-tracked item.The system-defined color of an inactive window's border.The system-defined color of the background of an inactive window's title bar.The system-defined color of the text in an inactive window's title bar.The system-defined color of the background of a ToolTip.The system-defined color of the text of a ToolTip.The system-defined color of a menu's background.The system-defined color of the background of a menu bar.The system-defined color used to highlight menu items when the menu appears as a flat menu.The system-defined color of a menu's text.The system-defined color of the background of a scroll bar.The system-defined color of the background in the client area of a window.The system-defined color of a window frame.The system-defined color of the text in the client area of a window. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PresetColor
Returns the enum constant of this class with the specified name.static PresetColor
valueOfNativeId
(int nativeId) static PresetColor
valueOfOoxmlId
(String ooxmlId) static PresetColor[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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. -
AppWorkspace
The application workspace is the area in a multiple-document view that is not being occupied by documents. -
Control
The system-defined face color of a 3-D element. -
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
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
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
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
The system-defined color of text in a 3-D element. -
Desktop
The system-defined color of the desktop. -
GrayText
The system-defined color of dimmed text. Items in a list that are disabled are displayed in dimmed text. -
Highlight
The system-defined color of the background of selected items. This includes selected menu items as well as selected text. -
HighlightText
The system-defined color of the text of selected items. -
HotTrack
The system-defined color used to designate a hot-tracked item. Single-clicking a hot-tracked item executes the 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. -
Info
The system-defined color of the background of a ToolTip. -
InfoText
The system-defined color of the text of a ToolTip. -
Menu
The system-defined color of a menu's background. -
MenuText
The system-defined color of a menu's text. -
ScrollBar
The system-defined color of the background of a scroll bar. -
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. -
Transparent
-
AliceBlue
-
AntiqueWhite
-
Aqua
-
Aquamarine
-
Azure
-
Beige
-
Bisque
-
Black
-
BlanchedAlmond
-
Blue
-
BlueViolet
-
Brown
-
BurlyWood
-
CadetBlue
-
Chartreuse
-
Chocolate
-
Coral
-
CornflowerBlue
-
Cornsilk
-
Crimson
-
Cyan
-
DarkBlue
-
DarkCyan
-
DarkGoldenrod
-
DarkGray
-
DarkGreen
-
DarkKhaki
-
DarkMagenta
-
DarkOliveGreen
-
DarkOrange
-
DarkOrchid
-
DarkRed
-
DarkSalmon
-
DarkSeaGreen
-
DarkSlateBlue
-
DarkSlateGray
-
DarkTurquoise
-
DarkViolet
-
DeepPink
-
DeepSkyBlue
-
DimGray
-
DodgerBlue
-
Firebrick
-
FloralWhite
-
ForestGreen
-
Fuchsia
-
Gainsboro
-
GhostWhite
-
Gold
-
Goldenrod
-
Gray
-
Green
-
GreenYellow
-
Honeydew
-
HotPink
-
IndianRed
-
Indigo
-
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
-
MidnightBlue
-
MintCream
-
MistyRose
-
Moccasin
-
OldLace
-
Olive
-
OliveDrab
-
Orange
-
OrangeRed
-
Orchid
-
PaleGoldenrod
-
PaleGreen
-
PaleTurquoise
-
PaleVioletRed
-
PapayaWhip
-
PeachPuff
-
Peru
-
Pink
-
Plum
-
PowderBlue
-
Purple
-
Red
-
RosyBrown
-
RoyalBlue
-
SaddleBrown
-
Salmon
-
SandyBrown
-
SeaGreen
-
SeaShell
-
Sienna
-
Silver
-
SkyBlue
-
SlateBlue
-
SlateGray
-
Snow
-
SpringGreen
-
SteelBlue
-
Tan
-
Teal
-
Thistle
-
Tomato
-
Turquoise
-
Violet
-
Wheat
-
White
-
WhiteSmoke
-
Yellow
-
YellowGreen
-
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. This color is applied to parts of a 3-D element that face the light source. -
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
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. -
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.
-
-
Field Details
-
color
-
nativeId
public final int nativeId -
ooxmlId
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOfOoxmlId
-
valueOfNativeId
-