ComponentOrientation

Methods
7
Fields
2

Getting one

ComponentOrientation.valueOf(…)
ComponentOrientation.HORIZONTAL
ComponentOrientation.VERTICAL

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(ComponentOrientation)numberThis ordinal less other's.
equals(any)booleanWhether other is this constant. == answers the same.
values(){ComponentOrientation}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.
valueOf(string)ComponentOrientationvalueOf(name): the constant named name; any other name is an error.

Fields

FieldTypeDescription
HORIZONTALComponentOrientationHORIZONTAL: ordinal 0.
VERTICALComponentOrientationVERTICAL: ordinal 1.

Returned by

MethodReturnsDescription
ComponentOrientationClass.valueOfComponentOrientationvalueOf(name): the constant named name; any other name is an error.
ComponentOrientationClass.values{ComponentOrientation}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.

Method details

values

values: () -> {ComponentOrientation}

Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.