|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.objectxp.mms.message.smil.Element
com.objectxp.mms.message.smil.Layout
This class represents a SMIL "layout" element. The layout element determines how the elements in the document's body are positioned on an abstract rendering surface (either visual or acoustic).
If present, the layout element must appear in the head section of the document. If a document contains no layout element, the positioning of the body elements is implementation-dependent.
| Field Summary | |
static java.lang.String |
TYPE
attribute, value: type |
| Constructor Summary | |
Layout()
Construct a new Layout. |
|
| Method Summary | |
Element |
addAttribute(java.lang.String name,
java.lang.String value)
Add an attribute for this layout element. |
Layout |
addElement(Element element)
Add a element to the Layout. |
| Methods inherited from class com.objectxp.mms.message.smil.Element |
getElements, toXML |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String TYPE
| Constructor Detail |
public Layout()
| Method Detail |
public Layout addElement(Element element)
throws java.lang.IllegalArgumentException
element - either a RootLayout or a Region
java.lang.IllegalArgumentException - for invalid elements
public Element addAttribute(java.lang.String name,
java.lang.String value)
throws java.lang.IllegalArgumentException
addAttribute in class Elementname - the attribute namevalue - the attribute value
java.lang.IllegalArgumentException - for invalid attributes
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||