com.stimulsoft.report.enums
Enum StiViewMode

java.lang.Object
  extended by java.lang.Enum<StiViewMode>
      extended by com.stimulsoft.report.enums.StiViewMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StiViewMode>

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

Modes for showing a page in the designer.


Enum Constant Summary
Normal
          Normal view mode.
PageBreakPreview
          PageBreak preview mode.
 
Method Summary
static StiViewMode forValue(int value)
           
 int getValue()
           
static StiViewMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StiViewMode[] values()
          Returns an array containing the constants of this enum type, in the order they are 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

Normal

public static final StiViewMode Normal
Normal view mode.


PageBreakPreview

public static final StiViewMode PageBreakPreview
PageBreak preview mode.

Method Detail

values

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

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

valueOf

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

getValue

public int getValue()

forValue

public static StiViewMode forValue(int value)