com.arctorus.documents
Enum PageVisibilityType

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

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

Defines visibility of a page.


Enum Constant Summary
HIDDEN
          Page is hidden.
VERY_HIDDEN
          Page is hidden.
VISIBLE
          Page is visible.
 
Method Summary
static PageVisibilityType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PageVisibilityType[] 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

VISIBLE

public static final PageVisibilityType VISIBLE
Page is visible.


HIDDEN

public static final PageVisibilityType HIDDEN
Page is hidden. Can be made visible in Excel.


VERY_HIDDEN

public static final PageVisibilityType VERY_HIDDEN
Page is hidden. There are no ways to show it in Excel.

Method Detail

values

public static final PageVisibilityType[] 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(PageVisibilityType c : PageVisibilityType.values())
        System.out.println(c);

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

valueOf

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