|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.dtv.lwuit.layouts.Layout
com.sun.dtv.lwuit.layouts.FlowLayout
public class 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.dtv.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.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |