EchoPoint
1.0

echopoint.layout
Class HorizontalLayoutManager

java.lang.Object
  extended byechopoint.layout.AbstractLayoutManager
      extended byechopoint.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

Field 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

HorizontalLayoutManager

public HorizontalLayoutManager()
Method Detail

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 nextapp.echo.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(nextapp.echo.Insets newValue)
See Also:
Panel.setInsets(nextapp.echo.Insets)

setVerticalAlignment

public void setVerticalAlignment(int newValue)
See Also:
Panel.setVerticalAlignment(int)

EchoPoint
1.0