|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.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 Framecontainer - Section container
Frame.setSectionContainer(com.cc.framework.ui.painter.CompositeElement)public Frame setBodyContainer(CompositeElement body)
Frame
setBodyContainer in interface Framebody - 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 Frameelement - 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 Frameelement - 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 FramestyleClass - sets the CLASS attribute.
Frame.setClass(java.lang.String)public Frame setHeight(java.lang.String height)
Frame
setHeight in interface Frameheight - sets the HEIGHT attribute.
Frame.setHeight(java.lang.String)public Frame setID(java.lang.String id)
Frame
setID in interface Frameid - sets the ID attribute.
Frame.setID(java.lang.String)public Frame setStyle(java.lang.String style)
Frame
setStyle in interface Framestyle - sets the STYLE attribute.
Frame.setStyle(java.lang.String)public Frame setWidth(java.lang.String width)
Frame
setWidth in interface Framewidth - sets the WIDTH attribute.
Frame.setWidth(java.lang.String)public Frame setSummary(java.lang.String summary)
Frame
setSummary in interface Framesummary - sets the SUMMARY attribute.
Frame.setSummary(java.lang.String)public org.apache.ecs.ConcreteElement createElement()
Frame
createElement in interface FrameFrame.createElement()public java.lang.String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||