org.openxava.web.layout
Interface ILayoutPainter

All Known Implementing Classes:
AbstractBasePainter, AbstractJspPainter, DefaultLayoutPainter

public interface ILayoutPainter

Interface contract for a painter.

Author:
Federico Alcantara

Method Summary
 void endCell(LayoutElement element)
           
 void endCollection(LayoutElement element)
           
 void endColumn(LayoutElement element)
           
 void endFrame(LayoutElement element)
           
 void endGroup(LayoutElement element)
           
 void endRow(LayoutElement element)
           
 void endSections(LayoutElement element)
           
 void endView(LayoutElement element)
           
 void finalize(View view, PageContext pageContext)
           
 void initialize(View view, PageContext pageContext)
          Starts to paint form.
 void setPainterManager(LayoutPainterManager painterManager)
           
 void startCell(LayoutElement element)
           
 void startCollection(LayoutElement element)
           
 void startColumn(LayoutElement element)
           
 void startFrame(LayoutElement element)
           
 void startGroup(LayoutElement element)
           
 void startRow(LayoutElement element)
           
 void startSections(LayoutElement element)
           
 void startView(LayoutElement element)
           
 

Method Detail

initialize

void initialize(View view,
                PageContext pageContext)
Starts to paint form.

Parameters:
view - Originating view.
request - Originating request.
pageContext - Page within the form is going to be painted.
errors - Errors container.
Throws:
java.io.IOException
JspException

finalize

void finalize(View view,
              PageContext pageContext)

setPainterManager

void setPainterManager(LayoutPainterManager painterManager)

startView

void startView(LayoutElement element)

endView

void endView(LayoutElement element)

startGroup

void startGroup(LayoutElement element)

endGroup

void endGroup(LayoutElement element)

startFrame

void startFrame(LayoutElement element)

endFrame

void endFrame(LayoutElement element)

startRow

void startRow(LayoutElement element)

endRow

void endRow(LayoutElement element)

startColumn

void startColumn(LayoutElement element)

endColumn

void endColumn(LayoutElement element)

startCell

void startCell(LayoutElement element)

endCell

void endCell(LayoutElement element)

startCollection

void startCollection(LayoutElement element)

endCollection

void endCollection(LayoutElement element)

startSections

void startSections(LayoutElement element)

endSections

void endSections(LayoutElement element)