|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kalmeo.kuix.layout.InlineLayout
public class InlineLayout
Field Summary | |
---|---|
Alignment |
alignment
|
boolean |
horizontal
|
Constructor Summary | |
---|---|
InlineLayout()
Construct an InlineLayout |
|
InlineLayout(boolean horizontal)
Construct an InlineLayout |
|
InlineLayout(boolean horizontal,
Alignment alignment)
Construct a InlineLayout |
Method Summary | |
---|---|
void |
doLayout(Widget target)
Do the layout on the specified Widget |
void |
measurePreferredSize(Widget target,
int preferredWidth,
Metrics metrics)
Returns the Metrics that represents the widget's preferedSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean horizontal
public Alignment alignment
Constructor Detail |
---|
public InlineLayout()
InlineLayout
public InlineLayout(boolean horizontal)
InlineLayout
horizontal
- public InlineLayout(boolean horizontal, Alignment alignment)
InlineLayout
horizontal
- alignment
- Method Detail |
---|
public void measurePreferredSize(Widget target, int preferredWidth, Metrics metrics)
Layout
Metrics
that represents the widget's preferedSize
measurePreferredSize
in interface Layout
target
- The target widgetpublic void doLayout(Widget target)
Layout
Widget
doLayout
in interface Layout
target
- The target widget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |