|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.web.layout.AbstractBasePainter
public abstract class AbstractBasePainter
Base class for painters.
| Constructor Summary | |
|---|---|
AbstractBasePainter()
|
|
| Method Summary | |
|---|---|
void |
finalize(View view,
PageContext pageContext)
|
protected LayoutElement |
getContainer()
|
protected java.util.Stack<LayoutElement> |
getContainersStack()
It is a stack of processed containers, the last element represents the current container. |
protected int |
getMaxColumnsOnView()
|
protected PageContext |
getPageContext()
|
LayoutPainterManager |
getPainterManager()
|
protected LayoutElement |
getRow()
|
protected java.util.Stack<LayoutElement> |
getRowsStack()
It is a stack of processed rows, where the last element (at the top of the stack) represents the current row. |
protected View |
getView()
|
void |
initialize(View view,
PageContext pageContext)
Starts to paint form. |
protected void |
setContainer(LayoutElement layoutElement)
Sets element as the current container. |
protected void |
setContainersStack(java.util.Stack<LayoutElement> containersStack)
Sets (or resets) the containers stack. |
void |
setPainterManager(LayoutPainterManager painterManager)
|
protected void |
setRow(LayoutElement layoutElement)
Sets the element as the current row and resets its column count to 0. |
protected void |
setRowsStack(java.util.Stack<LayoutElement> rowsStack)
Sets or (resets) the row stack. |
protected void |
unsetContainer()
Release current container and sets the previous one. |
protected void |
unsetRow()
Release current row and sets the previous one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.openxava.web.layout.ILayoutPainter |
|---|
endCell, endCollection, endColumn, endFrame, endGroup, endRow, endSections, endView, startCell, startCollection, startColumn, startFrame, startGroup, startRow, startSections, startView |
| Constructor Detail |
|---|
public AbstractBasePainter()
| Method Detail |
|---|
public void initialize(View view,
PageContext pageContext)
ILayoutPainter
initialize in interface ILayoutPainterview - Originating view.pageContext - Page within the form is going to be painted.org.openxava.web.layout.ILayoutPainter#initialize(org.openxava.view.View, javax.servlet.jsp.PageContext)
public void finalize(View view,
PageContext pageContext)
finalize in interface ILayoutPainterpublic void setPainterManager(LayoutPainterManager painterManager)
setPainterManager in interface ILayoutPainterILayoutPainter.setPainterManager(org.openxava.web.layout.LayoutPainterManager)public LayoutPainterManager getPainterManager()
protected LayoutElement getContainer()
protected LayoutElement getRow()
protected void setContainer(LayoutElement layoutElement)
layoutContainer. - protected void unsetContainer()
protected void setRow(LayoutElement layoutElement)
layoutElement - protected void unsetRow()
protected java.util.Stack<LayoutElement> getContainersStack()
protected void setContainersStack(java.util.Stack<LayoutElement> containersStack)
containersStack - New container stack to use.protected java.util.Stack<LayoutElement> getRowsStack()
protected void setRowsStack(java.util.Stack<LayoutElement> rowsStack)
rowsStack - New row stack to use.protected int getMaxColumnsOnView()
protected View getView()
protected PageContext getPageContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||