GridBagConstraints.anchor

GridBagConstraints.anchor

Class Overview | Class Members | This Package | All Packages

Syntax
public int anchor
Description
This field is used when the component is smaller than its display area. It determines where, within the display area, to place the component. Possible values are CENTER, NORTH, NORTHEAST, EAST, SOUTHEAST, SOUTH, SOUTHWEST, WEST, and NORTHWEST. The default value is CENTER.