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

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

public class SummarizedFieldDirection
extends java.lang.Object

Defines summary field direction options.


Field Summary
static int _horizontal
          Summarize horizontally.
static int _vertical
          Summarize vertically.
static SummarizedFieldDirection horizontal
          Summarize horizontally.
static SummarizedFieldDirection vertical
          Summarize vertically.
 
Method Summary
static SummarizedFieldDirection from_int(int i)
          Gets the SummarizedFieldDirection that matches the specified integer value.
static SummarizedFieldDirection from_string(java.lang.String sVal)
          Gets the SummarizedFieldDirection that matches the specified name.
 java.lang.String toString()
          Returns the String value of the SummarizedFieldDirection.
 int value()
          Returns the integer value of the SummarizedFieldDirection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_vertical

public static final int _vertical
Summarize vertically.

See Also:
Constant Field Values

_horizontal

public static final int _horizontal
Summarize horizontally.

See Also:
Constant Field Values

vertical

public static final SummarizedFieldDirection vertical
Summarize vertically.


horizontal

public static final SummarizedFieldDirection horizontal
Summarize horizontally.

Method Detail

from_int

public static final SummarizedFieldDirection from_int(int i)
Gets the SummarizedFieldDirection that matches the specified integer value.

Parameters:
i - an int that identifies a summarized field direction
Returns:
the constant that matches the specified integer

from_string

public static final SummarizedFieldDirection from_string(java.lang.String sVal)
Gets the SummarizedFieldDirection that matches the specified name.

Parameters:
sVal - the name of a summarized field direction
Returns:
the constant that matches the specified name

toString

public java.lang.String toString()
Returns the String value of the SummarizedFieldDirection.

Overrides:
toString in class java.lang.Object
Returns:
a String that identifies the summarized field direction

value

public int value()
Returns the integer value of the SummarizedFieldDirection.

Returns:
an int that identifies the summarized field direction