com.crystaldecisions.sdk.occa.report.definition
Class ReportStyle

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.ReportStyle

public final class ReportStyle
extends java.lang.Object

Defines a report style.


Field Summary
static int _dropTable
           
static int _executiveLeadingBreak
           
static int _executiveTrailingBreak
           
static int _leadingBreak
           
static int _maroonTealBox
           
static int _none
           
static int _redBlueBorder
           
static int _shade
           
static int _standard
           
static int _table
           
static int _trailingBreak
           
static ReportStyle dropTable
           
static ReportStyle executiveLeadingBreak
           
static ReportStyle executiveTrailingBreak
           
static ReportStyle leadingBreak
           
static ReportStyle maroonTealBox
           
static ReportStyle none
           
static ReportStyle redBlueBorder
           
static ReportStyle shade
           
static ReportStyle standard
           
static ReportStyle table
           
static ReportStyle trailingBreak
           
 
Method Summary
static ReportStyle from_int(int i)
           Converts an integer to a ReportStyle object.
static ReportStyle from_string(java.lang.String sVal)
           Returns a ReportStyle object for a given String object.
 java.lang.String toString()
           Returns a String representation of the report style.
 int value()
           Returns an integer representation of the report style.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_none

public static final int _none
See Also:
Constant Field Values

_standard

public static final int _standard
See Also:
Constant Field Values

_leadingBreak

public static final int _leadingBreak
See Also:
Constant Field Values

_trailingBreak

public static final int _trailingBreak
See Also:
Constant Field Values

_table

public static final int _table
See Also:
Constant Field Values

_dropTable

public static final int _dropTable
See Also:
Constant Field Values

_executiveLeadingBreak

public static final int _executiveLeadingBreak
See Also:
Constant Field Values

_executiveTrailingBreak

public static final int _executiveTrailingBreak
See Also:
Constant Field Values

_shade

public static final int _shade
See Also:
Constant Field Values

_redBlueBorder

public static final int _redBlueBorder
See Also:
Constant Field Values

_maroonTealBox

public static final int _maroonTealBox
See Also:
Constant Field Values

none

public static final ReportStyle none

standard

public static final ReportStyle standard

leadingBreak

public static final ReportStyle leadingBreak

trailingBreak

public static final ReportStyle trailingBreak

table

public static final ReportStyle table

dropTable

public static final ReportStyle dropTable

executiveLeadingBreak

public static final ReportStyle executiveLeadingBreak

executiveTrailingBreak

public static final ReportStyle executiveTrailingBreak

shade

public static final ReportStyle shade

redBlueBorder

public static final ReportStyle redBlueBorder

maroonTealBox

public static final ReportStyle maroonTealBox
Method Detail

from_int

public static final ReportStyle from_int(int i)

Converts an integer to a ReportStyle object. You can obtain the integer value for a given ReportStyle object by using the ReportStyle.value() method.

Parameters:
An - integer representation of a ReportStyle value.
Returns:
A ReportStyle object that defines a report style.
See Also:
ReportStyle.value()

from_string

public static final ReportStyle from_string(java.lang.String sVal)

Returns a ReportStyle object for a given String object. You can find the String representation of a report style by using the ReportStyle.toString() method.

Parameters:
A - String representation of a ReportStyle value.
Returns:
A ReportStyle object that defines a report style.
See Also:
ReportStyle.toString()

toString

public java.lang.String toString()

Returns a String representation of the report style.

Overrides:
toString in class java.lang.Object
Returns:
A String object that represents the report style.
See Also:
ReportStyle.from_string(java.lang.String)

value

public int value()

Returns an integer representation of the report style.

Returns:
An integer that represents the report style.
See Also:
ReportStyle.from_int(int)