|
||||||||||
| 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.Frame
public class Frame
This class creates a <Frame> 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 | |
|---|---|
Frame()
Basic constructor. |
|
Frame(Element element)
Basic constructor. |
|
Frame(Element element,
java.lang.String name)
Basic constructor. |
|
Frame(Element element,
java.lang.String name,
java.lang.String src)
Basic constructor. |
|
Frame(java.lang.String element)
Basic constructor. |
|
Frame(java.lang.String element,
java.lang.String name)
Basic constructor. |
|
Frame(java.lang.String element,
java.lang.String name,
java.lang.String src)
Basic constructor. |
|
| Method Summary | |
|---|---|
Frame |
addElement(Element element)
Adds an Element to the element. |
Frame |
addElement(java.lang.String element)
Adds an Element to the element. |
Frame |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
Frame |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
Frame |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
Frame |
setFrameBorder(boolean frameborder)
Sets the FRAMEBORDER="" attribute |
Frame |
setLongDesc(java.lang.String longdesc)
Sets the LONGDESC="" attribute |
Frame |
setMarginHeight(int marginheight)
Sets the MARGINHEIGHT="" attribute |
Frame |
setMarginHeight(java.lang.String marginheight)
Sets the MARGINHEIGHT="" attribute |
Frame |
setMarginWidth(int marginwidth)
Sets the MARGINWIDTH="" attribute |
Frame |
setMarginWidth(java.lang.String marginwidth)
Sets the MARGINWIDTH="" attribute |
Frame |
setName(java.lang.String name)
Sets the NAME="" attribute |
Frame |
setNoResize(boolean noresize)
Sets the noresize value |
Frame |
setScrolling(java.lang.String scrolling)
Sets the SCROLLING="" attribute |
Frame |
setSrc(java.lang.String src)
Sets the SRC="" 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 Frame()
public Frame(Element element)
element - Adds an Element to the element.public Frame(java.lang.String element)
element - Adds an Element to the element.
public Frame(Element element,
java.lang.String name)
element - Adds an Element to the element.name - the NAME="" attribute
public Frame(java.lang.String element,
java.lang.String name)
element - Adds an Element to the element.name - the NAME="" attribute
public Frame(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 Frame(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 Frame setLongDesc(java.lang.String longdesc)
longdesc - the LONGDESC="" attributepublic Frame setName(java.lang.String name)
name - the NAME="" attributepublic Frame setSrc(java.lang.String src)
src - the SRC="" attributepublic Frame setFrameBorder(boolean frameborder)
frameborder - the FRAMEBORDER="" attributepublic Frame setMarginWidth(int marginwidth)
marginwidth - the MARGINWIDTH="" attributepublic Frame setMarginWidth(java.lang.String marginwidth)
marginwidth - the MARGINWIDTH="" attributepublic Frame setMarginHeight(int marginheight)
marginheight - the MARGINHEIGHT="" attributepublic Frame setMarginHeight(java.lang.String marginheight)
marginheight - the MARGINHEIGHT="" attributepublic Frame setScrolling(java.lang.String scrolling)
scrolling - the SCROLLING="" attributepublic Frame setNoResize(boolean noresize)
noresize - true or false
public Frame addElement(java.lang.String hashcode,
Element element)
hashcode - name of element for hash tableelement - Adds an Element to the element.
public Frame addElement(java.lang.String hashcode,
java.lang.String element)
hashcode - name of element for hash tableelement - Adds an Element to the element.public Frame addElement(Element element)
element - Adds an Element to the element.public Frame addElement(java.lang.String element)
element - Adds an Element to the element.public Frame 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 | |||||||||