Package org.apache.poi.ddf
Enum EscherColorRef.SysIndexSource
- java.lang.Object
-
- java.lang.Enum<EscherColorRef.SysIndexSource>
-
- org.apache.poi.ddf.EscherColorRef.SysIndexSource
-
- All Implemented Interfaces:
Serializable
,Comparable<EscherColorRef.SysIndexSource>
- Enclosing class:
- EscherColorRef
public static enum EscherColorRef.SysIndexSource extends Enum<EscherColorRef.SysIndexSource>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_OR_LAST_COLOR
Use the current, or last-used, color.FILL_BACKGROUND_COLOR
Use the fill background color of the shape.FILL_COLOR
Use the fill color of the shape.FILL_OR_LINE_COLOR
If the shape contains a fill, use the fill color of the shape.LINE_BACKGROUND_COLOR
Use the line background color of the shape.LINE_COLOR
Use the line color of the shape.LINE_OR_FILL_COLOR
If the shape contains a line, use the line color of the shape.SHADOW_COLOR
Use the shadow color of the shape.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EscherColorRef.SysIndexSource
valueOf(String name)
Returns the enum constant of this type with the specified name.static EscherColorRef.SysIndexSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILL_COLOR
public static final EscherColorRef.SysIndexSource FILL_COLOR
Use the fill color of the shape.
-
LINE_OR_FILL_COLOR
public static final EscherColorRef.SysIndexSource LINE_OR_FILL_COLOR
If the shape contains a line, use the line color of the shape. Otherwise, use the fill color.
-
LINE_COLOR
public static final EscherColorRef.SysIndexSource LINE_COLOR
Use the line color of the shape.
-
SHADOW_COLOR
public static final EscherColorRef.SysIndexSource SHADOW_COLOR
Use the shadow color of the shape.
-
CURRENT_OR_LAST_COLOR
public static final EscherColorRef.SysIndexSource CURRENT_OR_LAST_COLOR
Use the current, or last-used, color.
-
FILL_BACKGROUND_COLOR
public static final EscherColorRef.SysIndexSource FILL_BACKGROUND_COLOR
Use the fill background color of the shape.
-
LINE_BACKGROUND_COLOR
public static final EscherColorRef.SysIndexSource LINE_BACKGROUND_COLOR
Use the line background color of the shape.
-
FILL_OR_LINE_COLOR
public static final EscherColorRef.SysIndexSource FILL_OR_LINE_COLOR
If the shape contains a fill, use the fill color of the shape. Otherwise, use the line color.
-
-
Method Detail
-
values
public static EscherColorRef.SysIndexSource[] 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 (EscherColorRef.SysIndexSource c : EscherColorRef.SysIndexSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EscherColorRef.SysIndexSource 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 nameNullPointerException
- if the argument is null
-
-