FormFieldNegativeNumberStyle Class
Lists values that specify negative number format.
Declaration
public final class FormFieldNegativeNumberStyle extends IntEnum<FormFieldNegativeNumberStyle>
Inherited Members
Inheritance
Fields
_NONE Field
The numeric value for the NONE negative number style.
Declaration
public static final int _NONE
Field Value
| Type | Description |
|---|---|
| int | The numeric value for the |
_SHOW_PARENTHESES Field
The numeric value for the SHOW_PARENTHESES negative number style.
Declaration
public static final int _SHOW_PARENTHESES
Field Value
| Type | Description |
|---|---|
| int | The numeric value for the |
_USE_RED_TEXT Field
The numeric value for the USE_RED_TEXT negative number style.
Declaration
public static final int _USE_RED_TEXT
Field Value
| Type | Description |
|---|---|
| int | The numeric value for the |
NONE Field
No negative number format.
Declaration
public static final FormFieldNegativeNumberStyle NONE
Field Value
| Type | Description |
|---|---|
FormFieldNegativeNumberStyle |
A value that specifies no negative number format. |
SHOW_PARENTHESES Field
Displays a negative number in brackets.
Declaration
public static final FormFieldNegativeNumberStyle SHOW_PARENTHESES
Field Value
| Type | Description |
|---|---|
FormFieldNegativeNumberStyle |
A value that displays a negative number in brackets. |
USE_RED_TEXT Field
Displays a negative number in red.
Declaration
public static final FormFieldNegativeNumberStyle USE_RED_TEXT
Field Value
| Type | Description |
|---|---|
FormFieldNegativeNumberStyle |
A value that displays a negative number in red. |
Methods
fromValue(int value) Method
Returns a negative number style that corresponds to the specified integer value.
Declaration
public static FormFieldNegativeNumberStyle fromValue(int value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | int | An integer value that identifies a negative number style. |
Returns
| Type | Description |
|---|---|
FormFieldNegativeNumberStyle |
The negative number style that corresponds to the specified integer value. |
values() Method
Returns an array that contains all negative number styles.
Declaration
public static FormFieldNegativeNumberStyle[] values()
Returns
| Type | Description |
|---|---|
| FormFieldNegativeNumberStyle[] | An array that contains all negative number styles. |