Class GBC
java.lang.Object
|
+----java.awt.GridBagConstraints
|
+----GBC
- public class GBC
- extends GridBagConstraints
GBC - A convenience class built to aid in implementing GridBagLayouts.
- Author:
- Jayme Manning
-
GBC()
- GBC - Simple constructor, no data initialization, just call
the parent constructor.
-
setupConstraints(int, int, int, int, int, int, int, int, int)
- setupConstraints - Convenience method used to facilitate the
construction of parameters for the GridBagLayout.
GBC
public GBC()
- GBC - Simple constructor, no data initialization, just call
the parent constructor.
setupConstraints
public void setupConstraints(int xCoord,
int yCoord,
int width,
int height,
int xWeight,
int yWeight,
int position,
int newFill,
int newPad)
- setupConstraints - Convenience method used to facilitate the
construction of parameters for the GridBagLayout.
- Parameters:
- xCoord - The x coordinate for the grid location.
- yCoord - The y coordinate for the grid location.
- width - How many columns this component will span.
- height - How many rows this component will span.
- xWieght - The weight of this component in the x vector.
- yWieght - The weight of this component in the y vector.
- position - The relative positioning of this component.
- newFill - The fill parameters for this component.
- newPad - Uniform ammount of space to add to a components border.