Package ch.rabanti.picoxlsx4j.style
Enum Fill.PatternValue
- java.lang.Object
-
- java.lang.Enum<Fill.PatternValue>
-
- ch.rabanti.picoxlsx4j.style.Fill.PatternValue
-
- All Implemented Interfaces:
Serializable
,Comparable<Fill.PatternValue>
- Enclosing class:
- Fill
public static enum Fill.PatternValue extends Enum<Fill.PatternValue>
Enum for the type of the fill pattern
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static Fill.PatternValue
valueOf(String name)
Returns the enum constant of this type with the specified name.static Fill.PatternValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final Fill.PatternValue none
No pattern (default)
-
solid
public static final Fill.PatternValue solid
Solid fill (for colors)
-
darkGray
public static final Fill.PatternValue darkGray
Dark gray fill
-
mediumGray
public static final Fill.PatternValue mediumGray
Medium gray fill
-
lightGray
public static final Fill.PatternValue lightGray
Light gray fill
-
gray0625
public static final Fill.PatternValue gray0625
6.25% gray fill
-
gray125
public static final Fill.PatternValue gray125
12.5% gray fill
-
-
Method Detail
-
values
public static Fill.PatternValue[] 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 (Fill.PatternValue c : Fill.PatternValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Fill.PatternValue 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
-
getValue
public int getValue()
-
-