|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.barracuda.core.comp.DefaultView | +--org.enhydra.barracuda.core.comp.DefaultTableView
This class provides the default implementation for a TableView. It provides a View for components to render themselves in. Unlike other views, the TableView provides convenience methods to access the header, body, and footer elements of the view.
Field Summary | |
protected org.w3c.dom.Element |
body
|
protected org.w3c.dom.Element |
footer
|
protected org.w3c.dom.Element |
header
|
protected static org.apache.log4j.Logger |
logger
|
Fields inherited from class org.enhydra.barracuda.core.comp.DefaultView |
localFactory, node, templateNodes |
Constructor Summary | |
DefaultTableView()
Public noargs constructor. |
|
DefaultTableView(org.w3c.dom.Node node)
Create a view and bind it to a node. |
Method Summary | |
protected void |
customSearchForTemplates(org.w3c.dom.Node curnode)
Here we are going to look for custom header, footer, and body elements |
org.w3c.dom.Element |
getBodyElement()
Get the body element from the particular Node that backs this view. |
org.w3c.dom.Element |
getFooterElement()
Get the footer element from the particular Node that backs this view. |
org.w3c.dom.Element |
getHeaderElement()
Get the header element from the particular Node that backs this view. |
java.lang.String |
toString()
Get a String describing the view |
Methods inherited from class org.enhydra.barracuda.core.comp.DefaultView |
clone, getElementFactory, getName, getNode, searchForTemplates, setName, setNode |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.enhydra.barracuda.core.comp.View |
clone, getElementFactory, getName, getNode, setName, setNode |
Field Detail |
protected static org.apache.log4j.Logger logger
protected org.w3c.dom.Element header
protected org.w3c.dom.Element body
protected org.w3c.dom.Element footer
Constructor Detail |
public DefaultTableView()
public DefaultTableView(org.w3c.dom.Node node)
node
- the node the view should be bound toMethod Detail |
public org.w3c.dom.Element getHeaderElement()
getHeaderElement
in interface TableView
public org.w3c.dom.Element getBodyElement()
getBodyElement
in interface TableView
public org.w3c.dom.Element getFooterElement()
getFooterElement
in interface TableView
protected void customSearchForTemplates(org.w3c.dom.Node curnode)
customSearchForTemplates
in class DefaultView
public java.lang.String toString()
DefaultView
toString
in class DefaultView
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |