org.zkoss.pivot.util.poi
Enum StyleFactory.FontProperty

java.lang.Object
  extended by java.lang.Enum<StyleFactory.FontProperty>
      extended by org.zkoss.pivot.util.poi.StyleFactory.FontProperty
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StyleFactory.FontProperty>
Enclosing class:
StyleFactory

public static enum StyleFactory.FontProperty
extends java.lang.Enum<StyleFactory.FontProperty>


Enum Constant Summary
BOLD_WEIGHT
           
COLOR
           
HEIGHT
           
ITALIC
           
NAME
           
STRIKEOUT
           
TYPE_OFFSET
           
UNDERLINE
           
 
Method Summary
static StyleFactory.FontProperty valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2013. All Rights Reserved.