|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.MultiPartElement
org.apache.ecs.wml.Option
This class implements the option element
Field Summary |
Fields inherited from class org.apache.ecs.ConcreteElement |
|
Fields inherited from class org.apache.ecs.ElementAttributes |
|
Fields inherited from class org.apache.ecs.GenericElement |
tabLevel |
Fields inherited from interface org.apache.ecs.Attributes |
NO_ATTRIBUTE_VALUE |
Fields inherited from interface org.apache.ecs.Element |
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE |
Constructor Summary | |
Option()
Basic constructor. |
|
Option(java.lang.String value)
Basic constructor. |
|
Option(java.lang.String title,
java.lang.String value)
Basic constructor. |
|
Option(java.lang.String title,
java.lang.String value,
java.lang.String url)
Basic constructor. |
Method Summary | |
Option |
addElement(Element element)
Adds an Element to the element. |
Option |
addElement(java.lang.String element)
Adds an Element to the element. |
Option |
setOnPick(java.lang.String url)
Sets the onpick="" attribute |
Option |
setTitleAttr(java.lang.String title)
Sets the title="" attribute |
Option |
setValue(java.lang.String value)
Sets the value="" attribute |
Methods inherited from class org.apache.ecs.ConcreteElement |
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, keys, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Option()
public Option(java.lang.String value)
value
- sets the attribute value=""public Option(java.lang.String title, java.lang.String value)
title
- sets the attribute title=""value
- sets the attribute value=""public Option(java.lang.String title, java.lang.String value, java.lang.String url)
title
- sets the attribute title=""value
- sets the attribute value=""url
- sets the attribute onpick=""Method Detail |
public Option setTitleAttr(java.lang.String title)
title
- the title="" attributepublic Option setValue(java.lang.String value)
value
- the value="" attributepublic Option setOnPick(java.lang.String url)
url
- the onpick="" attributepublic Option addElement(Element element)
element
- Adds an Element to the element.public Option addElement(java.lang.String element)
element
- Adds an Element to the element.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |