Skip to main content

FormFieldNegativeNumberStyle Class

Lists values that specify negative number format.

Declaration

public final class FormFieldNegativeNumberStyle extends IntEnum<FormFieldNegativeNumberStyle>

Inherited Members

com.devexpress.java.enums.IntEnum.clone()
com.devexpress.java.enums.IntEnum.equals(java.lang.Object)
com.devexpress.java.enums.IntEnum.getName()
com.devexpress.java.enums.IntEnum.getValue()
com.devexpress.java.enums.IntEnum.hasFlag(T)
com.devexpress.java.enums.IntEnum.hasFlag(int)
com.devexpress.java.enums.IntEnum.hashCode()
com.devexpress.java.enums.IntEnum.readResolve()
com.devexpress.java.enums.IntEnum.resolve(int)
com.devexpress.java.enums.IntEnum.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.java.enums.IntEnum
FormFieldNegativeNumberStyle

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 NONE negative number style.

_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 SHOW_PARENTHESES negative number style.

_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 USE_RED_TEXT negative number style.

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.