com.arctorus.documents
Enum FillFormatType

java.lang.Object
  extended by java.lang.Enum<FillFormatType>
      extended by com.arctorus.documents.FillFormatType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FillFormatType>

public enum FillFormatType
extends java.lang.Enum<FillFormatType>

Defines styles of a shape filling.


Enum Constant Summary
GRADIENT
          Gradient fill style.
NO_FILL
          Shape is not filled.
SOLID
          Solid fill style.
TEXTURE
          Texture fill style.
 
Method Summary
static FillFormatType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FillFormatType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_FILL

public static final FillFormatType NO_FILL
Shape is not filled.


SOLID

public static final FillFormatType SOLID
Solid fill style.


GRADIENT

public static final FillFormatType GRADIENT
Gradient fill style.


TEXTURE

public static final FillFormatType TEXTURE
Texture fill style.

Method Detail

values

public static final FillFormatType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(FillFormatType c : FillFormatType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static FillFormatType 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