|
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.FlowLayout
Flows elements in a row so they can spill over when reaching line end.
Constructor Summary | |
FlowLayout()
Creates a new instance of FlowLayout with left alignment. |
|
FlowLayout(int orientation)
Creates a new instance of FlowLayout with the given orientation one of LEFT, RIGHT or CENTER. |
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 FlowLayout()
public FlowLayout(int orientation)
orientation
- the orientation valueMethod Detail |
public void layoutContainer(Container parent)
Layout
layoutContainer
in class Layout
parent
- the given parent containerpublic Dimension getPreferredSize(Container parent)
Layout
getPreferredSize
in class Layout
parent
- 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 |