|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kalmeo.kuix.layout.GridLayout
public class GridLayout
| Field Summary | |
|---|---|
static GridLayout |
instanceOneByOne
|
int |
numCols
|
int |
numRows
|
| Constructor Summary | |
|---|---|
GridLayout()
Construct a GridLayout |
|
GridLayout(int numCols,
int numRows)
Construct a GridLayout |
|
| Method Summary | |
|---|---|
void |
doLayout(Widget target)
Do the layout on the specified Widget |
void |
measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
Returns the Metrics that represents the widget's preferedSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final GridLayout instanceOneByOne
public int numCols
public int numRows
| Constructor Detail |
|---|
public GridLayout()
GridLayout
public GridLayout(int numCols,
int numRows)
GridLayout
numCols - numRows - | Method Detail |
|---|
public void measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
LayoutMetrics that represents the widget's preferedSize
measurePreferredSize in interface Layouttarget - The target widgetpublic void doLayout(Widget target)
LayoutWidget
doLayout in interface Layouttarget - The target widget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||