public class GridBagUtil extends Object
Constructor and Description |
---|
GridBagUtil(Container container) |
GridBagUtil(Container container,
GridBagLayout layout) |
Modifier and Type | Method and Description |
---|---|
void |
add(Component component,
int gridx,
int gridy,
int gridwidth,
int gridheight,
double weightx,
double weighty,
int fill,
int anchor)
Add the given component to the given container with the given options and
default insets.
|
void |
add(Component component,
int gridx,
int gridy,
int gridwidth,
int gridheight,
double weightx,
double weighty,
int fill,
int anchor,
Insets insets)
Add the given component to the given container with the given options.
|
void |
add(Component component,
int gridx,
int gridy,
int gridwidth,
int gridheight,
double weightx,
double weighty,
int fill,
int anchor,
Insets insets,
int ipadx,
int ipady)
Add the given component to the given container with the given options.
|
public GridBagUtil(Container container)
public GridBagUtil(Container container, GridBagLayout layout)
public void add(Component component, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int fill, int anchor, Insets insets, int ipadx, int ipady)
public void add(Component component, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int fill, int anchor, Insets insets)
public void add(Component component, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int fill, int anchor)
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.