public interface GridBagConstants
GridBagConstraints
constants.Modifier and Type | Field and Description |
---|---|
static int |
BOTH
Resize the component both horizontally and vertically.
|
static int |
CENTER
Put the component in the center of its display area.
|
static int |
EAST
Put the component on the left side of its display area,
centered vertically.
|
static int |
HORIZONTAL
Resize the component horizontally but not vertically.
|
static int |
NONE
Do not resize the component.
|
static int |
NORTH
Put the component at the top of its display area,
centered horizontally.
|
static int |
NORTHEAST
Put the component at the top-right corner of its display area.
|
static int |
NORTHWEST
Put the component at the top-left corner of its display area.
|
static int |
REMAINDER
Specify that this component is the
last component in its column or row.
|
static int |
SOUTH
Put the component at the bottom of its display area, centered
horizontally.
|
static int |
SOUTHEAST
Put the component at the bottom-right corner of its display area.
|
static int |
SOUTHWEST
Put the component at the bottom-left corner of its display area.
|
static int |
VERTICAL
Resize the component vertically but not horizontally.
|
static int |
WEST
Put the component on the left side of its display area,
centered vertically.
|
static final int REMAINDER
static final int NONE
static final int BOTH
static final int HORIZONTAL
static final int VERTICAL
static final int CENTER
static final int NORTH
static final int NORTHEAST
static final int EAST
static final int SOUTHEAST
static final int SOUTH
static final int SOUTHWEST
static final int WEST
static final int NORTHWEST
Copyright © 2022 Apache Software Foundation. All Rights Reserved.