|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.lwuit.layouts.Layout com.sun.lwuit.layouts.CoordinateLayout
public class CoordinateLayout
Allows laying out components based on absolute positions/sizes that are adapted based on available space for the layout. The layout
Constructor Summary | |
---|---|
CoordinateLayout()
Allows creating a coordinate layouts that disables the scaling feature |
|
CoordinateLayout(Dimension d)
This constructor accepts the relative width and height used to define the aspect ratio of the Container |
|
CoordinateLayout(int width,
int height)
This constructor accepts the relative width and height used to define the aspect ratio of the Container |
Method Summary | |
---|---|
Dimension |
getPreferredSize(Container parent)
Returns the container preferred size |
boolean |
isOverlapSupported()
This method returns true if the Layout allows Components to Overlap. |
void |
layoutContainer(Container parent)
Layout the given parent container children |
Methods inherited from class com.sun.lwuit.layouts.Layout |
---|
addLayoutComponent, equals, getComponentConstraint, hashCode, removeLayoutComponent |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoordinateLayout()
public CoordinateLayout(int width, int height)
width
- height
- public CoordinateLayout(Dimension d)
d
- the width/heightMethod 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
public boolean isOverlapSupported()
Layout
isOverlapSupported
in class Layout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |