portal.core.render
Class TableLayoutManager

java.lang.Object
  extended byportal.core.render.AbstractContainerLayout
      extended byportal.core.render.TableLayoutManager
All Implemented Interfaces:
LayoutManager, java.io.Serializable
Direct Known Subclasses:
FlowLayout

public abstract class TableLayoutManager
extends AbstractContainerLayout

See Also:
Serialized Form

Field Summary
static java.lang.String BOTTOM
           
static java.lang.String CENTERED
           
static java.lang.String LEFT
           
static java.lang.String MIDDLE
           
static java.lang.String RIGHT
           
static java.lang.String TOP
           
 
Constructor Summary
TableLayoutManager()
           
 
Method Summary
 void doContainerLayout(Container target, RenderContext renderContext)
           
protected abstract  void doTableContent(Container target, HtmlGraphics graphics)
           
 java.lang.String getHorizontalPosition()
           
 int getPadding()
           
 int getSpacing()
           
 java.lang.String getVerticalPosition()
           
 void setHorizontalPosition(java.lang.String string)
           
 void setPadding(int i)
           
 void setSpacing(int i)
           
 void setVerticalPosition(java.lang.String string)
           
 
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
 

Field Detail

CENTERED

public static final java.lang.String CENTERED
See Also:
Constant Field Values

LEFT

public static final java.lang.String LEFT
See Also:
Constant Field Values

RIGHT

public static final java.lang.String RIGHT
See Also:
Constant Field Values

TOP

public static final java.lang.String TOP
See Also:
Constant Field Values

MIDDLE

public static final java.lang.String MIDDLE
See Also:
Constant Field Values

BOTTOM

public static final java.lang.String BOTTOM
See Also:
Constant Field Values
Constructor Detail

TableLayoutManager

public TableLayoutManager()
Method Detail

getPadding

public int getPadding()

getSpacing

public int getSpacing()

setPadding

public void setPadding(int i)

setSpacing

public void setSpacing(int i)

getHorizontalPosition

public java.lang.String getHorizontalPosition()

getVerticalPosition

public java.lang.String getVerticalPosition()

setHorizontalPosition

public void setHorizontalPosition(java.lang.String string)

setVerticalPosition

public void setVerticalPosition(java.lang.String string)

doContainerLayout

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

doTableContent

protected abstract void doTableContent(Container target,
                                       HtmlGraphics graphics)
                                throws RenderException
Throws:
RenderException