Interface GridBagConstants

All Known Implementing Classes:
JAffineTransformChooser, JGridBagPanel

public interface GridBagConstants
GridBagConstraints constants.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Resize the component both horizontally and vertically.
    static final int
    Put the component in the center of its display area.
    static final int
    Put the component on the left side of its display area, centered vertically.
    static final int
    Resize the component horizontally but not vertically.
    static final int
    Do not resize the component.
    static final int
    Put the component at the top of its display area, centered horizontally.
    static final int
    Put the component at the top-right corner of its display area.
    static final int
    Put the component at the top-left corner of its display area.
    static final int
    Specify that this component is the last component in its column or row.
    static final int
    Put the component at the bottom of its display area, centered horizontally.
    static final int
    Put the component at the bottom-right corner of its display area.
    static final int
    Put the component at the bottom-left corner of its display area.
    static final int
    Resize the component vertically but not horizontally.
    static final int
    Put the component on the left side of its display area, centered vertically.
  • Field Details

    • REMAINDER

      static final int REMAINDER
      Specify that this component is the last component in its column or row.
      Since:
      JDK1.0
      See Also:
    • NONE

      static final int NONE
      Do not resize the component.
      Since:
      JDK1.0
      See Also:
    • BOTH

      static final int BOTH
      Resize the component both horizontally and vertically.
      Since:
      JDK1.0
      See Also:
    • HORIZONTAL

      static final int HORIZONTAL
      Resize the component horizontally but not vertically.
      Since:
      JDK1.0
      See Also:
    • VERTICAL

      static final int VERTICAL
      Resize the component vertically but not horizontally.
      Since:
      JDK1.0
      See Also:
    • CENTER

      static final int CENTER
      Put the component in the center of its display area.
      Since:
      JDK1.0
      See Also:
    • NORTH

      static final int NORTH
      Put the component at the top of its display area, centered horizontally.
      Since:
      JDK1.0
      See Also:
    • NORTHEAST

      static final int NORTHEAST
      Put the component at the top-right corner of its display area.
      Since:
      JDK1.0
      See Also:
    • EAST

      static final int EAST
      Put the component on the left side of its display area, centered vertically.
      Since:
      JDK1.0
      See Also:
    • SOUTHEAST

      static final int SOUTHEAST
      Put the component at the bottom-right corner of its display area.
      Since:
      JDK1.0
      See Also:
    • SOUTH

      static final int SOUTH
      Put the component at the bottom of its display area, centered horizontally.
      Since:
      JDK1.0
      See Also:
    • SOUTHWEST

      static final int SOUTHWEST
      Put the component at the bottom-left corner of its display area.
      Since:
      JDK1.0
      See Also:
    • WEST

      static final int WEST
      Put the component on the left side of its display area, centered vertically.
      Since:
      JDK1.0
      See Also:
    • NORTHWEST

      static final int NORTHWEST
      Put the component at the top-left corner of its display area.
      Since:
      JDK1.0
      See Also: