|
||||||||||
| 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.html.IFrame
public class IFrame
This class creates a <IFrame> tag.
| Field Summary | |
|---|---|
static java.lang.String |
auto
|
static java.lang.String |
AUTO
|
static java.lang.String |
no
|
static java.lang.String |
NO
|
static java.lang.String |
yes
|
static java.lang.String |
YES
|
| 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 | |
|---|---|
IFrame()
Basic constructor. |
|
IFrame(Element element)
Basic constructor. |
|
IFrame(Element element,
java.lang.String name)
Basic constructor. |
|
IFrame(Element element,
java.lang.String name,
java.lang.String src)
Basic constructor. |
|
IFrame(java.lang.String element)
Basic constructor. |
|
IFrame(java.lang.String element,
java.lang.String name)
Basic constructor. |
|
IFrame(java.lang.String element,
java.lang.String name,
java.lang.String src)
Basic constructor. |
|
| Method Summary | |
|---|---|
IFrame |
addElement(Element element)
Adds an Element to the element. |
IFrame |
addElement(java.lang.String element)
Adds an Element to the element. |
IFrame |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
IFrame |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
IFrame |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
IFrame |
setAlign(java.lang.String align)
Sets the ALIGN="" attribute. |
IFrame |
setFrameBorder(boolean frameborder)
Sets the FRAMEBORDER="" attribute |
IFrame |
setHeight(int height)
Sets the HEIGHT="" attribute |
IFrame |
setHeight(java.lang.String height)
Sets the HEIGHT="" attribute |
IFrame |
setLongDesc(java.lang.String longdesc)
Sets the LONGDESC="" attribute |
IFrame |
setMarginHeight(int marginheight)
Sets the MARGINHEIGHT="" attribute |
IFrame |
setMarginHeight(java.lang.String marginheight)
Sets the MARGINHEIGHT="" attribute |
IFrame |
setMarginWidth(int marginwidth)
Sets the MARGINWIDTH="" attribute |
IFrame |
setMarginWidth(java.lang.String marginwidth)
Sets the MARGINWIDTH="" attribute |
IFrame |
setName(java.lang.String name)
Sets the NAME="" attribute |
IFrame |
setScrolling(java.lang.String scrolling)
Sets the SCROLLING="" attribute |
IFrame |
setSrc(java.lang.String src)
Sets the SRC="" attribute |
IFrame |
setWidth(int width)
Sets the WIDTH="" attribute |
IFrame |
setWidth(java.lang.String width)
Sets the WIDTH="" 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 |
| Field Detail |
|---|
public static final java.lang.String YES
public static final java.lang.String NO
public static final java.lang.String AUTO
public static final java.lang.String yes
public static final java.lang.String no
public static final java.lang.String auto
| Constructor Detail |
|---|
public IFrame()
public IFrame(Element element)
element - Adds an Element to the element.public IFrame(java.lang.String element)
element - Adds an Element to the element.
public IFrame(Element element,
java.lang.String name)
element - Adds an Element to the element.name - the NAME="" attribute
public IFrame(java.lang.String element,
java.lang.String name)
element - Adds an Element to the element.name - the NAME="" attribute
public IFrame(Element element,
java.lang.String name,
java.lang.String src)
element - Adds an Element to the element.name - the NAME="" attributesrc - the SRC="" attribute
public IFrame(java.lang.String element,
java.lang.String name,
java.lang.String src)
element - Adds an Element to the element.name - the NAME="" attributesrc - the SRC="" attribute| Method Detail |
|---|
public IFrame setLongDesc(java.lang.String longdesc)
longdesc - the LONGDESC="" attributepublic IFrame setName(java.lang.String name)
name - the NAME="" attributepublic IFrame setSrc(java.lang.String src)
src - the SRC="" attributepublic IFrame setFrameBorder(boolean frameborder)
frameborder - the FRAMEBORDER="" attributepublic IFrame setMarginWidth(int marginwidth)
marginwidth - the MARGINWIDTH="" attributepublic IFrame setMarginWidth(java.lang.String marginwidth)
marginwidth - the MARGINWIDTH="" attributepublic IFrame setHeight(java.lang.String height)
height - the HEIGHT="" attributepublic IFrame setHeight(int height)
height - the HEIGHT="" attributepublic IFrame setWidth(java.lang.String width)
width - the WIDTH="" attributepublic IFrame setWidth(int width)
width - the WIDTH="" attributepublic IFrame setMarginHeight(int marginheight)
marginheight - the MARGINHEIGHT="" attributepublic IFrame setMarginHeight(java.lang.String marginheight)
marginheight - the MARGINHEIGHT="" attributepublic IFrame setScrolling(java.lang.String scrolling)
scrolling - the SCROLLING="" attributepublic IFrame setAlign(java.lang.String align)
align - sets the ALIGN="" attribute. You can
use the AlignType.* variables for convience.
public IFrame addElement(java.lang.String hashcode,
Element element)
hashcode - name of element for hash tableelement - Adds an Element to the element.
public IFrame addElement(java.lang.String hashcode,
java.lang.String element)
hashcode - name of element for hash tableelement - Adds an Element to the element.public IFrame addElement(Element element)
element - Adds an Element to the element.public IFrame addElement(java.lang.String element)
element - Adds an Element to the element.public IFrame removeElement(java.lang.String hashcode)
hashcode - the name of the element to be removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||