|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.layout.AbstractLayoutManager echopoint.layout.HorizontalLayoutManager
The HorizontalLayoutManager
class provides a LayoutManager
that will layout its contents horizontally in a series of
adjoining cells.
|=======|=======|=======|=======|=======|
|-------|-------|-------|-------|-------|
|-------|-------|-------|-------|-------| extends -->
|-------|-------|-------|-------|-------|
|=======|=======|=======|=======|=======|
The vertical and horizontal alignment properties relate to these horizontal cells. The component will only be sized as large as its contents.
This component was created because browser clients layout complex components underneath each other (using a box model) rather than side by side. This class provides a simple way to layout components side by side.
For more complex layout components see :
Grid
,
Table
,
GridPanel
,
GridLayoutManager
,
Serialized FormField Summary |
Fields inherited from class echopoint.layout.AbstractLayoutManager |
componentMap, layoutManageableWR |
Constructor Summary | |
HorizontalLayoutManager()
|
Method Summary | |
int |
getCellSpacing()
Returns the spacing between cells |
int |
getHorizontalAlignment()
|
nextapp.echo.Insets |
getInsets()
|
int |
getVerticalAlignment()
|
void |
setCellSpacing(int newValue)
Sets the spacing between cells |
void |
setHorizontalAlignment(int newValue)
|
void |
setInsets(nextapp.echo.Insets newValue)
|
void |
setVerticalAlignment(int newValue)
|
Methods inherited from class echopoint.layout.AbstractLayoutManager |
addLayoutComponent, getComponent, getComponentMap, getContraints, getLayoutManageable, invalidateLayout, removeLayoutComponent, setLayoutManageable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HorizontalLayoutManager()
Method Detail |
public int getCellSpacing()
public int getHorizontalAlignment()
Panel.getHorizontalAlignment()
public nextapp.echo.Insets getInsets()
Panel.getInsets()
public int getVerticalAlignment()
Panel.getVerticalAlignment()
public void setCellSpacing(int newValue)
newValue
- - the spacing between cellspublic void setHorizontalAlignment(int newValue)
Panel.setHorizontalAlignment(int)
public void setInsets(nextapp.echo.Insets newValue)
Panel.setInsets(nextapp.echo.Insets)
public void setVerticalAlignment(int newValue)
Panel.setVerticalAlignment(int)
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |