Package org.zkoss.pivot.util.poi
Enum StyleFactory.FontProperty
- java.lang.Object
-
- java.lang.Enum<StyleFactory.FontProperty>
-
- org.zkoss.pivot.util.poi.StyleFactory.FontProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<StyleFactory.FontProperty>
- Enclosing class:
- StyleFactory
public static enum StyleFactory.FontProperty extends Enum<StyleFactory.FontProperty>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOLD_WEIGHT
COLOR
HEIGHT
ITALIC
NAME
STRIKEOUT
TYPE_OFFSET
UNDERLINE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StyleFactory.FontProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static StyleFactory.FontProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOLD_WEIGHT
public static final StyleFactory.FontProperty BOLD_WEIGHT
-
COLOR
public static final StyleFactory.FontProperty COLOR
-
HEIGHT
public static final StyleFactory.FontProperty HEIGHT
-
NAME
public static final StyleFactory.FontProperty NAME
-
ITALIC
public static final StyleFactory.FontProperty ITALIC
-
STRIKEOUT
public static final StyleFactory.FontProperty STRIKEOUT
-
TYPE_OFFSET
public static final StyleFactory.FontProperty TYPE_OFFSET
-
UNDERLINE
public static final StyleFactory.FontProperty UNDERLINE
-
-
Method Detail
-
values
public static StyleFactory.FontProperty[] 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 (StyleFactory.FontProperty c : StyleFactory.FontProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StyleFactory.FontProperty 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
-
-