public class GridBagConverter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GridBagConverter.Result |
Constructor and Description |
---|
GridBagConverter() |
GridBagConverter(java.awt.Insets insets,
int hgap,
int vgap,
boolean sameSizeHorz,
boolean sameSizeVert) |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(javax.swing.JComponent component,
GridConstraints constraints) |
static void |
constraintsToGridBag(GridConstraints constraints,
java.awt.GridBagConstraints result) |
GridBagConverter.Result[] |
convert() |
static java.awt.GridBagConstraints |
getGridBagConstraints(IComponent component) |
static void |
prepareConstraints(LwContainer container,
java.util.Map idToConstraintsMap) |
public GridBagConverter()
public GridBagConverter(java.awt.Insets insets, int hgap, int vgap, boolean sameSizeHorz, boolean sameSizeVert)
public void addComponent(javax.swing.JComponent component, GridConstraints constraints)
public static void prepareConstraints(LwContainer container, java.util.Map idToConstraintsMap)
public GridBagConverter.Result[] convert()
public static java.awt.GridBagConstraints getGridBagConstraints(IComponent component)
public static void constraintsToGridBag(GridConstraints constraints, java.awt.GridBagConstraints result)