|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.config.ui.util.GridBagUtil
Facilitates the use of GridBagLayout.
GridBagLayout,
GridBagConstraints| Constructor Summary | |
GridBagUtil()
|
|
| Method Summary | |
static void |
constrain(Container cont,
Component comp,
int grid_x,
int grid_y,
int grid_width,
int grid_height)
Constrain a component to a location and size in the specified container. |
static void |
constrain(Container cont,
Component comp,
int grid_x,
int grid_y,
int grid_width,
int grid_height,
int fill,
int anchor,
double weight_x,
double weight_y,
int top,
int left,
int bottom,
int right)
Constrain a component in a container. |
static void |
constrain(Container cont,
Component comp,
int grid_x,
int grid_y,
int grid_width,
int grid_height,
int top,
int left,
int bottom,
int right)
Constrain a component to a location and size in the specified container, also setting a certain amount of space around it. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GridBagUtil()
| Method Detail |
public static void constrain(Container cont,
Component comp,
int grid_x,
int grid_y,
int grid_width,
int grid_height)
cont - the container in which the component is to be
constrained.comp - the component to constrain.grid_x - the x-coordinate of the component.grid_y - the y-coordinate of the component.grid_width - the width of the component.grid_height - the height of the component.
public static void constrain(Container cont,
Component comp,
int grid_x,
int grid_y,
int grid_width,
int grid_height,
int top,
int left,
int bottom,
int right)
cont - the container in which the component is to be
constrained.comp - the component to constrain.grid_x - the x-coordinate of the component.grid_y - the y-coordinate of the component.grid_width - the width of the component.grid_height - the height of the component.top - the amount of space above the component (in pixels).left - the amount of space to the left of the component
(in pixels).bottom - the amount of space below the component
(in pixels).right - the amount of space to the right of the component
(in pixels).
public static void constrain(Container cont,
Component comp,
int grid_x,
int grid_y,
int grid_width,
int grid_height,
int fill,
int anchor,
double weight_x,
double weight_y,
int top,
int left,
int bottom,
int right)
cont - the container in which the component is to be
constrained.comp - the component to constrain.grid_x - the x-coordinate of the component.grid_y - the y-coordinate of the component.grid_width - the width of the component.grid_height - the height of the component.fill - how to fill out the component.anchor - where to anchor the component.weight_x - the x-weight of the component.weight_y - the y-weight of the component.top - the amount of space above the component (in pixels).left - the amount of space to the left of the component
(in pixels).bottom - the amount of space below the component
(in pixels).right - the amount of space to the right of the component
(in pixels).
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||