echopoint.layout
Class HorizontalLayoutManager
java.lang.Object
echopoint.layout.AbstractLayoutManager
echopoint.layout.HorizontalLayoutManager
- All Implemented Interfaces:
- LayoutManager, java.io.Serializable
public class HorizontalLayoutManager
- extends AbstractLayoutManager
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 :
- See Also:
Grid
,
Table
,
GridPanel
,
GridLayoutManager
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HorizontalLayoutManager
public HorizontalLayoutManager()
getCellSpacing
public int getCellSpacing()
- Returns the spacing between cells
- Returns:
- int - the spacing between cells
getHorizontalAlignment
public int getHorizontalAlignment()
- See Also:
Panel.getHorizontalAlignment()
getInsets
public Insets getInsets()
- See Also:
Panel.getInsets()
getVerticalAlignment
public int getVerticalAlignment()
- See Also:
Panel.getVerticalAlignment()
setCellSpacing
public void setCellSpacing(int newValue)
- Sets the spacing between cells
- Parameters:
newValue
- - the spacing between cells
setHorizontalAlignment
public void setHorizontalAlignment(int newValue)
- See Also:
Panel.setHorizontalAlignment(int)
setInsets
public void setInsets(Insets newValue)
- See Also:
Panel.setInsets(nextapp.echo.Insets)
setVerticalAlignment
public void setVerticalAlignment(int newValue)
- See Also:
Panel.setVerticalAlignment(int)