public enum FillPattern extends java.lang.Enum<FillPattern>
FillPatterns
represent the built-in fill pattern names that
correspond with Excel's indexed fill pattern scheme. These are used in
conjunction with the fill pattern property in the style tag. Legal values
are the names of the enumeration objects, without underscores, case
insensitive, e.g. "gray50percent" == "Gray50Percent" == "GRAY50PERCENT".
StyleTag
,
StyleParser.PROPERTY_FILL_PATTERN
Modifier and Type | Method | Description |
---|---|---|
short |
getIndex() |
Returns the index.
|
java.lang.String |
toString() |
Returns the name, in all lowercase, no underscores or spaces.
|
static FillPattern |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FillPattern[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FillPattern NOFILL
public static final FillPattern SOLID
public static final FillPattern GRAY50PERCENT
public static final FillPattern GRAY75PERCENT
public static final FillPattern GRAY25PERCENT
public static final FillPattern HORIZONTALSTRIPE
public static final FillPattern VERTICALSTRIPE
public static final FillPattern REVERSEDIAGONALSTRIPE
public static final FillPattern DIAGONALSTRIPE
public static final FillPattern DIAGONALCROSSHATCH
public static final FillPattern THICKDIAGONALCROSSHATCH
public static final FillPattern THINHORIZONTALSTRIPE
public static final FillPattern THINVERTICALSTRIPE
public static final FillPattern THINREVERSEDIAGONALSTRIPE
public static final FillPattern THINDIAGONALSTRIPE
public static final FillPattern THINHORIZONTALCROSSHATCH
public static final FillPattern THINDIAGONALCROSSHATCH
public static final FillPattern GRAY12PERCENT
public static final FillPattern GRAY6PERCENT
public static FillPattern[] values()
for (FillPattern c : FillPattern.values()) System.out.println(c);
public static FillPattern 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 short getIndex()
public java.lang.String toString()
toString
in class java.lang.Enum<FillPattern>
Copyright © 2012–2018 Jett Team. All rights reserved.