| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Presents two static methods : Add which add component to container with some constraints,
and GetDefaultConstraints which return predefined constraints.
| Method Summary | |
static void | Add(Container to, Component what, GridBagConstraints constraints)Adds component what to container to with some
constraints constraints. |
static GridBagConstraints | GetDefaultConstraints()Returns predefined GetDefaultConstraints : insets = (2,2,2,2) anchor = CENTER; fill = BOTH; gridwidth = REMAINDER; gridx = RELATIVE; gridy = RELATIVE; weighty = 0.; weightx = 0.; |
| Method Detail |
public static void Add(Container to, Component what, GridBagConstraints constraints)
what to container to with some
constraints.public static GridBagConstraints GetDefaultConstraints()
insets = (2,2,2,2)
anchor = CENTER;
fill = BOTH;
gridwidth = REMAINDER;
gridx = RELATIVE;
gridy = RELATIVE;
weighty = 0.;
weightx = 0.;
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||