|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.CurrencyPositionFormat
public final class CurrencyPositionFormat
This class is used to specify the position of the currency symbol for negative values.
| Field Summary | |
|---|---|
static int |
_leadingCurrencyInsideNegative
Display negative currency using leading symbol inside parenthesis. |
static int |
_leadingCurrencyOutsideNegative
Display negative currency using leading symbol outside parenthesis. |
static int |
_trailingCurrencyInsideNegative
Display negative currency using trailing symbol inside parenthesis. |
static int |
_trailingCurrencyOutsideNegative
Display negative currency using trailing symbol outside parenthesis. |
static CurrencyPositionFormat |
leadingCurrencyInsideNegative
A CurrencyPositionFormat object that specifies to display negative currency
using leading symbol inside parenthesis. |
static CurrencyPositionFormat |
leadingCurrencyOutsideNegative
A CurrencyPositionFormat object that specifies to display negative currency
using leading symbol outside parenthesis. |
static CurrencyPositionFormat |
trailingCurrencyInsideNegative
A CurrencyPositionFormat object that specifies to display negative currency
using trailing symbol inside parenthesis. |
static CurrencyPositionFormat |
trailingCurrencyOutsideNegative
A CurrencyPositionFormat object that specifies to display negative currency
using trailing symbol outside parenthesis. |
| Method Summary | |
|---|---|
static CurrencyPositionFormat |
from_int(int i)
Returns the CurrencyPositionFormat object corresponding to the specified value. |
static CurrencyPositionFormat |
from_string(java.lang.String sVal)
Returns the CurrencyPositionFormat object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this CurrencyPositionFormat object. |
int |
value()
Returns the int value of this CurrencyPositionFormat object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int _leadingCurrencyInsideNegative
Display negative currency using leading symbol inside parenthesis. For example ($123).
public static final int _leadingCurrencyOutsideNegative
Display negative currency using leading symbol outside parenthesis. For example $(123).
public static final int _trailingCurrencyInsideNegative
Display negative currency using trailing symbol inside parenthesis. For example (123$).
public static final int _trailingCurrencyOutsideNegative
Display negative currency using trailing symbol outside parenthesis. For example (123)$.
public static final CurrencyPositionFormat leadingCurrencyInsideNegative
A CurrencyPositionFormat object that specifies to display negative currency
using leading symbol inside parenthesis. For example ($123).
public static final CurrencyPositionFormat leadingCurrencyOutsideNegative
A CurrencyPositionFormat object that specifies to display negative currency
using leading symbol outside parenthesis. For example $(123).
public static final CurrencyPositionFormat trailingCurrencyInsideNegative
A CurrencyPositionFormat object that specifies to display negative currency
using trailing symbol inside parenthesis. For example (123$).
public static final CurrencyPositionFormat trailingCurrencyOutsideNegative
A CurrencyPositionFormat object that specifies to display negative currency
using trailing symbol outside parenthesis. For example (123)$.
| Method Detail |
|---|
public static final CurrencyPositionFormat from_int(int i)
Returns the CurrencyPositionFormat object corresponding to the specified value.
i - The int value of the desired CurrencyPositionFormat object.
CurrencyPositionFormat object corresponding to the specified value.public static final CurrencyPositionFormat from_string(java.lang.String sVal)
Returns the CurrencyPositionFormat object corresponding to the specified type.
sVal - The String value of the desired CurrencyPositionFormat object.
CurrencyPositionFormat object corresponding to the specified type.public java.lang.String toString()
Returns the String value of this CurrencyPositionFormat object.
toString in class java.lang.ObjectString value of this CurrencyPositionFormat object.public int value()
Returns the int value of this CurrencyPositionFormat object.
int value of this CurrencyPositionFormat object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||