|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Layout | |
---|---|
com.sun.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.lwuit.layouts |
Layout managers allow a Container to
arrange its components by a set of rules that would be adapted for specific
screen/font sizes. |
com.sun.lwuit.list |
Lists are highly customizable and serve as the basis for ComboBox and
other components (such as carousels etc) they employ a similar MVC approach to
Swing including the renderer pattern. |
com.sun.lwuit.table | Table component for editing and viewing tabular data and arranging LWUIT components in a tabular form |
Uses of Layout in com.sun.lwuit |
---|
Methods in com.sun.lwuit that return Layout | |
---|---|
Layout |
Form.getLayout()
|
Layout |
Dialog.getLayout()
|
Layout |
Container.getLayout()
Returns the layout manager responsible for arranging this container |
Methods in com.sun.lwuit with parameters of type Layout | |
---|---|
void |
Form.setLayout(Layout layout)
|
void |
Dialog.setLayout(Layout layout)
|
void |
Container.setLayout(Layout layout)
Sets the layout manager responsible for arranging this container |
Constructors in com.sun.lwuit with parameters of type Layout | |
---|---|
Container(Layout layout)
Constructs a new Container with a new layout manager. |
Uses of Layout in com.sun.lwuit.layouts |
---|
Subclasses of Layout in com.sun.lwuit.layouts | |
---|---|
class |
BorderLayout
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center. |
class |
BoxLayout
Layout manager that places elements in a row or column according to box orientation |
class |
CoordinateLayout
Allows laying out components based on absolute positions/sizes that are adapted based on available space for the layout. |
class |
FlowLayout
Flows elements in a row so they can spill over when reaching line end |
class |
GridLayout
Components are arranged in an equally sized grid based on available space |
class |
GroupLayout
GroupLayout is a LayoutManager that hierarchically groups components to achieve common, and not so common, layouts. |
class |
LayeredLayout
Allows placing components one on top of the other like a stack, this layout effectively allows us to build a UI of overlapping components. |
Uses of Layout in com.sun.lwuit.list |
---|
Constructors in com.sun.lwuit.list with parameters of type Layout | |
---|---|
ContainerList(Layout l,
ListModel m)
Constructs a container list with the given model and layout |
Uses of Layout in com.sun.lwuit.table |
---|
Subclasses of Layout in com.sun.lwuit.table | |
---|---|
class |
TableLayout
Layout manager similar in spirit to HTML tables allowing rows and columns of varying width/height. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |