public static enum TLcdOverlayLayout.Location extends Enum<TLcdOverlayLayout.Location>
Enum Constant and Description |
---|
CENTER
Constant representing the center of the container.
|
EAST
Constant representing the center of the right side.
|
FULL_EXTENT
Constant representing a full extent component.
|
NO_LAYOUT
Constant representing that the LayoutManager won't attempt to set the bounds of the component.
|
NORTH
Constant representing the center of the upper side.
|
NORTH_EAST
Constant representing the top right corner.
|
NORTH_WEST
Constant representing the top left corner.
|
SOUTH
Constant representing the center of the lower side.
|
SOUTH_EAST
Constant representing the bottom right corner.
|
SOUTH_WEST
Constant representing the bottom left corner.
|
WEST
Constant representing the center of the left side.
|
Modifier and Type | Method and Description |
---|---|
static TLcdOverlayLayout.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLcdOverlayLayout.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLcdOverlayLayout.Location NORTH
public static final TLcdOverlayLayout.Location NORTH_WEST
public static final TLcdOverlayLayout.Location WEST
public static final TLcdOverlayLayout.Location SOUTH_WEST
public static final TLcdOverlayLayout.Location SOUTH
public static final TLcdOverlayLayout.Location SOUTH_EAST
public static final TLcdOverlayLayout.Location EAST
public static final TLcdOverlayLayout.Location NORTH_EAST
public static final TLcdOverlayLayout.Location CENTER
public static final TLcdOverlayLayout.Location FULL_EXTENT
A special case where the added component will get the same dimension as the Container itself.
Only one such component may be present at any given time. Note that the layout doesn't enforce
that the FULL_EXTENT
component is below all other components. The user is responsible for the z-ordering.
In a normal case, when the FULL_EXTENT
component is added before all the other components, they
will be added on top of the FULL_EXTENT
component, and will not be covered by it.
public static final TLcdOverlayLayout.Location NO_LAYOUT
Warning: : When using NO_LAYOUT
, the user is responsible for
calling Component.setBounds(int, int, int, int)
.
public static TLcdOverlayLayout.Location[] values()
for (TLcdOverlayLayout.Location c : TLcdOverlayLayout.Location.values()) System.out.println(c);
public static TLcdOverlayLayout.Location 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