Example usage for Java java.awt GridBagConstraints fields, constructors, methods, implement or subclass
The text is from its open source code.
int | RELATIVE Specifies that this component is the next-to-last component in its column or row ( gridwidth , gridheight ), or that this component be placed next to the previously added component ( gridx , gridy ). |
int | REMAINDER Specifies that this component is the last component in its column or row. |
int | NONE Do not resize the component. |
int | BOTH Resize the component both horizontally and vertically. |
int | HORIZONTAL Resize the component horizontally but not vertically. |
int | VERTICAL Resize the component vertically but not horizontally. |
int | CENTER Put the component in the center of its display area. |
int | NORTH Put the component at the top of its display area, centered horizontally. |
int | NORTHEAST Put the component at the top-right corner of its display area. |
int | EAST Put the component on the right side of its display area, centered vertically. |
int | SOUTHEAST Put the component at the bottom-right corner of its display area. |
int | SOUTH Put the component at the bottom of its display area, centered horizontally. |
int | SOUTHWEST Put the component at the bottom-left corner of its display area. |
int | WEST Put the component on the left side of its display area, centered vertically. |
int | NORTHWEST Put the component at the top-left corner of its display area. |
int | PAGE_START Place the component centered along the edge of its display area associated with the start of a page for the current ComponentOrientation . |
int | PAGE_END Place the component centered along the edge of its display area associated with the end of a page for the current ComponentOrientation . |
int | LINE_START Place the component centered along the edge of its display area where lines of text would normally begin for the current ComponentOrientation . |
int | LINE_END Place the component centered along the edge of its display area where lines of text would normally end for the current ComponentOrientation . |
int | FIRST_LINE_START Place the component in the corner of its display area where the first line of text on a page would normally begin for the current ComponentOrientation . |
int | FIRST_LINE_END Place the component in the corner of its display area where the first line of text on a page would normally end for the current ComponentOrientation . |
int | LAST_LINE_START Place the component in the corner of its display area where the last line of text on a page would normally start for the current ComponentOrientation . |
int | LAST_LINE_END Place the component in the corner of its display area where the last line of text on a page would normally end for the current ComponentOrientation . |
int | BASELINE Possible value for the anchor field. |
int | BASELINE_LEADING Possible value for the anchor field. |
int | ABOVE_BASELINE Possible value for the anchor field. |
int | ABOVE_BASELINE_LEADING Possible value for the anchor field. |
GridBagConstraints() Creates a GridBagConstraint object with all of its fields set to their default value. | |
GridBagConstraints(int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady) Creates a GridBagConstraints object with all of its fields set to the passed-in arguments. |
Object | clone() Creates a copy of this grid bag constraint. |