portal.core.render
Class GridLayout

java.lang.Object
  extended byportal.core.render.AbstractContainerLayout
      extended byportal.core.render.GridLayout
All Implemented Interfaces:
LayoutManager, java.io.Serializable

public class GridLayout
extends AbstractContainerLayout

See Also:
Serialized Form

Constructor Summary
GridLayout(int cols)
           
 
Method Summary
 void doContainerLayout(Container target, RenderContext renderContext)
           
 int getPadding()
           
 int getSpacing()
           
 void setPadding(int i)
           
 void setSpacing(int i)
           
 
Methods inherited from class portal.core.render.AbstractContainerLayout
doLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridLayout

public GridLayout(int cols)
Method Detail

getPadding

public int getPadding()

getSpacing

public int getSpacing()

setPadding

public void setPadding(int i)

setSpacing

public void setSpacing(int i)

doContainerLayout

public void doContainerLayout(Container target,
                              RenderContext renderContext)
                       throws RenderException
Specified by:
doContainerLayout in class AbstractContainerLayout
Throws:
RenderException