public static enum TLcdOverlayLayout.ResolveClash extends Enum<TLcdOverlayLayout.ResolveClash>
TLcdOverlayLayout.putConstraint(Component, Location, ResolveClash)
method to specify the precise ResolveClash
constraint for a given component.Enum Constant and Description |
---|
HORIZONTAL
Constant representing that the component will be added to the left or right of its nearest neighbour.
|
VERTICAL
Constant representing that the component will be added on top of or below its nearest neighbour.
|
Modifier and Type | Method and Description |
---|---|
static TLcdOverlayLayout.ResolveClash |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLcdOverlayLayout.ResolveClash[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLcdOverlayLayout.ResolveClash HORIZONTAL
TLcdOverlayLayout.Location
of
the component. As a rule of thumb, it is always placed away from the edge it is placed against.public static final TLcdOverlayLayout.ResolveClash VERTICAL
TLcdOverlayLayout.Location
of
the component. As a rule of thumb, it is always placed away from the edge it is placed against.public static TLcdOverlayLayout.ResolveClash[] values()
for (TLcdOverlayLayout.ResolveClash c : TLcdOverlayLayout.ResolveClash.values()) System.out.println(c);
public static TLcdOverlayLayout.ResolveClash 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 null