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

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

public final class DetailPrintDirection
extends java.lang.Object

Defines the types of detail print directions, which specifies whether detail data should first be printed across or down the page, when multi-column formatting is enabled.

See Also:
IDetailAreaFormat.setDetailPrintDirection(DetailPrintDirection)

Field Summary
static int _acrossThenDown
          Print details across the columns first - one detail in the 1st column, one in the 2nd, and so on.
static int _downThenAcross
          Print details down the 1st column, then down the 2nd column, and so on.
static DetailPrintDirection acrossThenDown
          Print details across the columns first - one detail in the 1st column, one in the 2nd, and so on.
static DetailPrintDirection downThenAcross
          Print details down the 1st column, then down the 2nd column, and so on.
 
Method Summary
static DetailPrintDirection from_int(int i)
          Gets the DetailPrintDirection that matches the specified integer value.
static DetailPrintDirection from_string(java.lang.String sVal)
          Gets the DetailPrintDirection that matches the specified name.
 java.lang.String toString()
          Returns the String value of the DetailPrintDirection.
 int value()
          Returns the integer value of the DetailPrintDirection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_acrossThenDown

public static final int _acrossThenDown
Print details across the columns first - one detail in the 1st column, one in the 2nd, and so on. When all columns have a detail, the next detail goes in the 2nd row of the 1st column, then in the 2nd row of the 2nd column, and so on.

See Also:
Constant Field Values

_downThenAcross

public static final int _downThenAcross
Print details down the 1st column, then down the 2nd column, and so on.

See Also:
Constant Field Values

acrossThenDown

public static final DetailPrintDirection acrossThenDown
Print details across the columns first - one detail in the 1st column, one in the 2nd, and so on. When all columns have a detail, the next detail goes in the 2nd row of the 1st column, then in the 2nd row of the 2nd column, and so on.


downThenAcross

public static final DetailPrintDirection downThenAcross
Print details down the 1st column, then down the 2nd column, and so on.

Method Detail

value

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

Returns:
an int that identifies the detail printing direction option

from_int

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

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

from_string

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

Parameters:
sVal - the name of a detail printing direction option
Returns:
the constant that matches the specified name

toString

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

Overrides:
toString in class java.lang.Object
Returns:
a String that identifies the detail printing direction option