LabelDisplayMode

Methods
7
Fields
4

Getting one

LabelDisplayMode.valueOf(…)
LabelDisplayMode.PERCENTAGE
LabelDisplayMode.FULL

Methods

MethodReturnsDescription
name()stringThe constant's name as declared.
ordinal()numberThe constant's 0-based position in values().
toString()stringname(); tostring(c) answers the same.
compareTo(LabelDisplayMode)numberThis ordinal less other's.
equals(any)booleanWhether other is this constant. == answers the same.
values(){LabelDisplayMode}Every constant in ordinal order, as a new 1-based array.
valueOf(string)LabelDisplayModeThe constant named name; any other name is an error.

Fields

FieldTypeDescription
PERCENTAGELabelDisplayModePERCENTAGE: ordinal 0, the value as a percentage.
FULLLabelDisplayModeFULL: ordinal 1, value/maximum.
TEXT_ONLYLabelDisplayModeTEXT_ONLY: ordinal 2, the centre label only.
BOTHLabelDisplayModeBOTH: ordinal 3, value/maximum (percentage).

Returned by

MethodReturnsDescription
LabelDisplayModeClass.valueOfLabelDisplayModeThe constant named name; any other name is an error.
LabelDisplayModeClass.values{LabelDisplayMode}Every constant in ordinal order, as a new 1-based array.

Method details