|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.painter.def.frame.TableFrame
A Frame based on a HTML table element
Field Summary | |
private CompositeElement |
body
The body element of the Frame. |
private TableCE |
container
The table element for this frame |
private CompositeElement |
sections
A frame can have multiple sections. |
private static long |
serialVersionUID
Serial Version UID |
Constructor Summary | |
TableFrame()
Constructor |
Method Summary | |
Frame |
addBodyElement(org.apache.ecs.Element element)
Adds an element to the frames body region. |
TableFrame |
addElement(org.apache.ecs.Element element)
Adds an element to the table |
Frame |
addSection(org.apache.ecs.Element element)
Adds a new section to the frame. |
org.apache.ecs.ConcreteElement |
createElement()
Creates a ECS Element from this Frame |
protected TableCE |
getContainer()
|
Frame |
setBodyContainer(CompositeElement body)
Sets the frames body container. |
TableFrame |
setBorder(int border)
Sets the BORDER="" attribute. |
TableFrame |
setCellPadding(int cellpadding)
Sets the CELLPADING="" attribute. |
TableFrame |
setCellSpacing(int cellspacing)
Sets the CELLSPACING="" attribute. |
Frame |
setClass(java.lang.String styleClass)
Set the CLASS attribute. |
Frame |
setHeight(java.lang.String height)
Set the HEIGHT attribute. |
Frame |
setID(java.lang.String id)
Set the ID attribute. |
Frame |
setSectionContainer(CompositeElement container)
Sets the frames section container. |
Frame |
setStyle(java.lang.String style)
Set the STYLE attribute. |
Frame |
setSummary(java.lang.String summary)
Set the SUMMARY attribute. |
Frame |
setWidth(java.lang.String width)
Set the WIDTH attribute. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
private TableCE container
private CompositeElement sections
private CompositeElement body
Constructor Detail |
public TableFrame()
Method Detail |
public Frame setSectionContainer(CompositeElement container)
Frame
setSectionContainer
in interface Frame
container
- Section container
Frame.setSectionContainer(com.cc.framework.ui.painter.CompositeElement)
public Frame setBodyContainer(CompositeElement body)
Frame
setBodyContainer
in interface Frame
body
- sets the frames body element
Frame.setBodyContainer(com.cc.framework.ui.painter.CompositeElement)
public Frame addSection(org.apache.ecs.Element element)
Frame
addSection
in interface Frame
element
- The section title element, or null
if this
section has no title
Frame.addSection(org.apache.ecs.Element)
public Frame addBodyElement(org.apache.ecs.Element element)
Frame
addBodyElement
in interface Frame
element
- The element to add
Frame.addBodyElement(org.apache.ecs.Element)
protected TableCE getContainer()
public TableFrame setCellPadding(int cellpadding)
cellpadding
- sets the CELLPADING="" attribute.
public TableFrame setCellSpacing(int cellspacing)
cellspacing
- sets the CELLSPACING="" attribute.
public TableFrame setBorder(int border)
border
- sets the BORDER="" attribute.
public TableFrame addElement(org.apache.ecs.Element element)
element
- the element to add
public Frame setClass(java.lang.String styleClass)
Frame
setClass
in interface Frame
styleClass
- sets the CLASS attribute.
Frame.setClass(java.lang.String)
public Frame setHeight(java.lang.String height)
Frame
setHeight
in interface Frame
height
- sets the HEIGHT attribute.
Frame.setHeight(java.lang.String)
public Frame setID(java.lang.String id)
Frame
setID
in interface Frame
id
- sets the ID attribute.
Frame.setID(java.lang.String)
public Frame setStyle(java.lang.String style)
Frame
setStyle
in interface Frame
style
- sets the STYLE attribute.
Frame.setStyle(java.lang.String)
public Frame setWidth(java.lang.String width)
Frame
setWidth
in interface Frame
width
- sets the WIDTH attribute.
Frame.setWidth(java.lang.String)
public Frame setSummary(java.lang.String summary)
Frame
setSummary
in interface Frame
summary
- sets the SUMMARY attribute.
Frame.setSummary(java.lang.String)
public org.apache.ecs.ConcreteElement createElement()
Frame
createElement
in interface Frame
Frame.createElement()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |