Enum Class TLcdOverlayLayout.Location

java.lang.Object
java.lang.Enum<TLcdOverlayLayout.Location>
com.luciad.gui.swing.TLcdOverlayLayout.Location
All Implemented Interfaces:
Serializable, Comparable<TLcdOverlayLayout.Location>, Constable
Enclosing class:
TLcdOverlayLayout

public static enum TLcdOverlayLayout.Location extends Enum<TLcdOverlayLayout.Location>
This enumeration identifies the different locations where components can be placed when added to the container.
  • Enum Constant Details

    • NORTH

      public static final TLcdOverlayLayout.Location NORTH
      Constant representing the center of the upper side.
    • NORTH_WEST

      public static final TLcdOverlayLayout.Location NORTH_WEST
      Constant representing the top left corner.
    • WEST

      public static final TLcdOverlayLayout.Location WEST
      Constant representing the center of the left side.
    • SOUTH_WEST

      public static final TLcdOverlayLayout.Location SOUTH_WEST
      Constant representing the bottom left corner.
    • SOUTH

      public static final TLcdOverlayLayout.Location SOUTH
      Constant representing the center of the lower side.
    • SOUTH_EAST

      public static final TLcdOverlayLayout.Location SOUTH_EAST
      Constant representing the bottom right corner.
    • EAST

      public static final TLcdOverlayLayout.Location EAST
      Constant representing the center of the right side.
    • NORTH_EAST

      public static final TLcdOverlayLayout.Location NORTH_EAST
      Constant representing the top right corner.
    • CENTER

      public static final TLcdOverlayLayout.Location CENTER
      Constant representing the center of the container.
    • FULL_EXTENT

      public static final TLcdOverlayLayout.Location 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 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.

    • NO_LAYOUT

      public static final TLcdOverlayLayout.Location 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 calling Component.setBounds(int, int, int, int).

  • Method Details

    • values

      public static TLcdOverlayLayout.Location[] 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

      public static TLcdOverlayLayout.Location valueOf(String name)
      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 name
      NullPointerException - if the argument is null