public class ExtendedGridBagConstraints
extends java.awt.GridBagConstraints
ABOVE_BASELINE, ABOVE_BASELINE_LEADING, ABOVE_BASELINE_TRAILING, anchor, BASELINE, BASELINE_LEADING, BASELINE_TRAILING, BELOW_BASELINE, BELOW_BASELINE_LEADING, BELOW_BASELINE_TRAILING, BOTH, CENTER, EAST, fill, FIRST_LINE_END, FIRST_LINE_START, gridheight, gridwidth, gridx, gridy, HORIZONTAL, insets, ipadx, ipady, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, NONE, NORTH, NORTHEAST, NORTHWEST, PAGE_END, PAGE_START, RELATIVE, REMAINDER, SOUTH, SOUTHEAST, SOUTHWEST, VERTICAL, weightx, weighty, WEST
Constructor and Description |
---|
ExtendedGridBagConstraints() |
Modifier and Type | Method and Description |
---|---|
void |
setGridBounds(int x,
int y,
int width,
int height)
Modifies gridx, gridy, gridwidth, gridheight.
|
void |
setWeight(double weightx,
double weighty)
Modifies the weightx and weighty.
|
public void setGridBounds(int x, int y, int width, int height)
x
- The value for gridx.y
- The value for gridy.width
- The value for gridwidth.height
- The value for gridheight.public void setWeight(double weightx, double weighty)
weightx
- The value for weightxweighty
- The value for weightyCopyright © 2022 Apache Software Foundation. All Rights Reserved.