|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Frame is a complex HTML element with the following properties:
Method Summary | |
Frame |
addBodyElement(org.apache.ecs.Element element)
Adds an element to the frames body region. |
Frame |
addSection(org.apache.ecs.Element title)
Adds a new section to the frame. |
org.apache.ecs.ConcreteElement |
createElement()
Creates a ECS Element from this Frame |
Frame |
setBodyContainer(CompositeElement body)
Sets the frames body container. |
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. |
Method Detail |
public Frame addSection(org.apache.ecs.Element title)
title
- The section title element, or null
if this
section has no title
public Frame setSectionContainer(CompositeElement container)
container
- Section container
public Frame addBodyElement(org.apache.ecs.Element element)
element
- The element to add
public Frame setBodyContainer(CompositeElement body)
body
- sets the frames body element
public Frame setID(java.lang.String id)
id
- sets the ID attribute.
public Frame setStyle(java.lang.String style)
style
- sets the STYLE attribute.
public Frame setClass(java.lang.String styleClass)
styleClass
- sets the CLASS attribute.
public Frame setWidth(java.lang.String width)
width
- sets the WIDTH attribute.
public Frame setHeight(java.lang.String height)
height
- sets the HEIGHT attribute.
public Frame setSummary(java.lang.String summary)
summary
- sets the SUMMARY attribute.
public org.apache.ecs.ConcreteElement createElement()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |