public static enum HasDirection.Direction extends Enum<HasDirection.Direction>
HasDirection.getDirection()
and parameter values for
HasDirection.setDirection(Direction)
.Widgets that implement this interface can
either have a direction that is right-to-left (RTL), left-to-right (LTR), or default
(which means that their directionality is inherited from their parent widget).Modifier and Type | Method and Description |
---|---|
static HasDirection.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HasDirection.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf, valueOf
$isInstance
public static final HasDirection.Direction RTL
public static final HasDirection.Direction LTR
public static final HasDirection.Direction DEFAULT
public static HasDirection.Direction[] values()
for (HasDirection.Direction c : HasDirection.Direction.values()) System.out.println(c);
public static HasDirection.Direction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.