|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.NegativeType
public final class NegativeType
This class is used to specify how to display negative numbers.
Field Summary | |
---|---|
static int |
_bracketed
Show digits in brackets. |
static int |
_leadingMinus
Show digits with a leading minus sign. |
static int |
_notNegative
Show digits only. |
static int |
_trailingMinus
Show digits with a trailing minus sign. |
static NegativeType |
bracketed
A NegativeType object that specifies to show digits in brackets. |
static NegativeType |
leadingMinus
A NegativeType object that specifies to show digits with a leading minus sign. |
static NegativeType |
notNegative
A NegativeType object that specifies to show digits only. |
static NegativeType |
trailingMinus
A NegativeType object that specifies to show digits with a trailing minus sign. |
Method Summary | |
---|---|
static NegativeType |
from_int(int i)
Returns the NegativeType object corresponding to the specified value. |
static NegativeType |
from_string(java.lang.String sVal)
Returns the NegativeType object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this NegativeType object. |
int |
value()
Returns the int value of this NegativeType object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _notNegative
Show digits only.
public static final int _leadingMinus
Show digits with a leading minus sign.
public static final int _trailingMinus
Show digits with a trailing minus sign.
public static final int _bracketed
Show digits in brackets.
public static final NegativeType notNegative
A NegativeType
object that specifies to show digits only.
public static final NegativeType leadingMinus
A NegativeType
object that specifies to show digits with a leading minus sign.
public static final NegativeType trailingMinus
A NegativeType
object that specifies to show digits with a trailing minus sign.
public static final NegativeType bracketed
A NegativeType
object that specifies to show digits in brackets.
Method Detail |
---|
public static final NegativeType from_int(int i)
Returns the NegativeType
object corresponding to the specified value.
i
- The int
value of the desired NegativeType
object.
NegativeType
object corresponding to the specified value.public static final NegativeType from_string(java.lang.String sVal)
Returns the NegativeType
object corresponding to the specified type.
sVal
- The String
value of the desired NegativeType
object.
NegativeType
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this NegativeType
object.
toString
in class java.lang.Object
String
value of this NegativeType
object.public int value()
Returns the int
value of this NegativeType
object.
int
value of this NegativeType
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |