public abstract class GridLayoutAdapter extends LayoutAdapter
Constructor and Description |
---|
GridLayoutAdapter() |
Modifier and Type | Method and Description |
---|---|
static GridLayoutAdapter |
create(javax.swing.JComponent container) |
static GridLayoutAdapter |
create(java.awt.LayoutManager layout,
javax.swing.JComponent container) |
abstract java.lang.Object |
getCaptionConstraints(Component component,
int col,
int row,
int col2,
int row2) |
float |
getColumnExpandRatio(int col) |
int |
getColumns() |
abstract java.lang.Object |
getConstraints(Component component,
int col,
int row,
int col2,
int row2) |
float |
getRowExpandRatio(int col) |
int |
getRows() |
void |
setColumnExpandRatio(int col,
float ratio) |
void |
setColumns(int columns) |
void |
setRowExpandRatio(int col,
float ratio) |
void |
setRows(int rows) |
abstract void |
updateConstraints(javax.swing.JComponent component,
java.lang.Object constraints) |
getConstraints, getLayout, getMargin, getSpacing, isDebug, setMargin, setSpacing
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setMargin, setMargin
public static GridLayoutAdapter create(javax.swing.JComponent container)
public static GridLayoutAdapter create(java.awt.LayoutManager layout, javax.swing.JComponent container)
public int getRows()
public void setRows(int rows)
public int getColumns()
public void setColumns(int columns)
public abstract java.lang.Object getConstraints(Component component, int col, int row, int col2, int row2)
public abstract java.lang.Object getCaptionConstraints(Component component, int col, int row, int col2, int row2)
public abstract void updateConstraints(javax.swing.JComponent component, java.lang.Object constraints)
public void setColumnExpandRatio(int col, float ratio)
public float getColumnExpandRatio(int col)
public float getRowExpandRatio(int col)
public void setRowExpandRatio(int col, float ratio)