Package com.luciad.gui.swing
Enum Class TLcdOverlayLayout.Location
- All Implemented Interfaces:
Serializable
,Comparable<TLcdOverlayLayout.Location>
,Constable
- Enclosing class:
TLcdOverlayLayout
This enumeration identifies the different locations where components can be placed when
added to the container.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConstant representing the center of the container.Constant representing the center of the right side.Constant representing a full extent component.Constant representing that the LayoutManager won't attempt to set the bounds of the component.Constant representing the center of the upper side.Constant representing the top right corner.Constant representing the top left corner.Constant representing the center of the lower side.Constant representing the bottom right corner.Constant representing the bottom left corner.Constant representing the center of the left side. -
Method Summary
Modifier and TypeMethodDescriptionstatic TLcdOverlayLayout.Location
Returns the enum constant of this class with the specified name.static TLcdOverlayLayout.Location[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORTH
Constant representing the center of the upper side. -
NORTH_WEST
Constant representing the top left corner. -
WEST
Constant representing the center of the left side. -
SOUTH_WEST
Constant representing the bottom left corner. -
SOUTH
Constant representing the center of the lower side. -
SOUTH_EAST
Constant representing the bottom right corner. -
EAST
Constant representing the center of the right side. -
NORTH_EAST
Constant representing the top right corner. -
CENTER
Constant representing the center of the container. -
FULL_EXTENT
Constant representing a full extent component.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 theFULL_EXTENT
component is added before all the other components, they will be added on top of theFULL_EXTENT
component, and will not be covered by it. -
NO_LAYOUT
Constant representing that the LayoutManager won't attempt to set the bounds of the component.Warning: : When using
NO_LAYOUT
, the user is responsible for callingComponent.setBounds(int, int, int, int)
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-