|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.lwuit.layouts.Layout
com.sun.lwuit.layouts.GridLayout
Components are arranged in an equally sized grid based on available space.
| Constructor Summary | |
GridLayout(int rows,
int columns)
Creates a new instance of GridLayout with the given rows and columns. |
|
| Method Summary | |
Dimension |
getPreferredSize(Container parent)
Returns the container preferred size. |
void |
layoutContainer(Container parent)
Layout the given parent container children. |
| Methods inherited from class com.sun.lwuit.layouts.Layout |
addLayoutComponent, getComponentConstraint, isOverlapSupported, removeLayoutComponent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GridLayout(int rows,
int columns)
rows - - the rows, with the value zero meaning any number of rows.columns - - the columns, with the value zero meaning any number of
columns.| Method Detail |
public void layoutContainer(Container parent)
Layout
layoutContainer in class Layoutparent - the given parent containerpublic Dimension getPreferredSize(Container parent)
Layout
getPreferredSize in class Layoutparent - the parent container
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||