|
WUI : API |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.westofj.wui.WHorizontalLayout
Arranges Widgetcomponents in a WContainerin a horizontal
row.
| Constructor Summary | |
WHorizontalLayout()
Constructs a horizontal layout manager. |
|
| Method Summary | |
WHorizontalAlignment |
getDefaultHorizontalAlignment()
Returns the horizontal alignment of the layout. |
WVerticalAlignment |
getDefaultVerticalAlignment()
Returns the vertical alignment of the layout. |
WHorizontalAlignment |
getHorizontalAlignment(int column)
Returns the horizontal alignment of the column. |
void |
render(WContainer container,
WRunner runner,
WRenderContext context,
PrintWriter out)
Renders the WContainer. |
void |
setDefaultHorizontalAlignment(WHorizontalAlignment alignment)
Sets the horizontal alignment of the layout to the specified alignment. |
void |
setDefaultVerticalAlignment(WVerticalAlignment alignment)
Sets the vertical alignment of the layout to the specified alignment. |
void |
setHorizontalAlignment(int column,
WHorizontalAlignment alignment)
Sets the horizontal alignment of the column to the specified alignment. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WHorizontalLayout()
| Method Detail |
public WHorizontalAlignment getDefaultHorizontalAlignment()
public WVerticalAlignment getDefaultVerticalAlignment()
public WHorizontalAlignment getHorizontalAlignment(int column)
public final void render(WContainer container,
WRunner runner,
WRenderContext context,
PrintWriter out)
throws WRenderException
WLayoutManagerWContainer.
render in interface WLayoutManagercontainer - the container to render.runner - the current runner context.out - the PrintWriterto which to render the
WContainerinstance.
WRenderExceptionpublic void setDefaultHorizontalAlignment(WHorizontalAlignment alignment)
alignment - the horizontal alignment of the layout.public void setDefaultVerticalAlignment(WVerticalAlignment alignment)
alignment - the vertical alignment of the layout.
public void setHorizontalAlignment(int column,
WHorizontalAlignment alignment)
alignment - the horizontal alignment of the layout.
|
Copyright (c) 2003 West of J - All rights reserved. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||