net.datacrow.console
Class Layout
java.lang.Object
net.datacrow.console.Layout
public final class Layout
- extends java.lang.Object
Holds static references to the GridBagConstraints and the GridBagLayout.
These should always be used when adding components.
- Author:
- Robert Jan van der Waals
- See Also:
GridBagConstraints
,
GridBagLayout
Method Summary |
static java.awt.GridBagConstraints |
getGBC(int x,
int y,
int width,
int height,
double xWeight,
double yWeigth,
int gbcAnchor,
int gbcStretch,
java.awt.Insets insets,
int xPad,
int yPad)
Sets the Gridbag Constraints on the saved instance |
static java.awt.GridBagLayout |
getGBL()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Layout
public Layout()
getGBL
public static java.awt.GridBagLayout getGBL()
getGBC
public static java.awt.GridBagConstraints getGBC(int x,
int y,
int width,
int height,
double xWeight,
double yWeigth,
int gbcAnchor,
int gbcStretch,
java.awt.Insets insets,
int xPad,
int yPad)
- Sets the Gridbag Constraints on the saved instance