oracle.jdeveloper.html
Class DHTMLElementContainer
java.lang.Object
oracle.jdeveloper.html.HTMLElement
oracle.jdeveloper.html.DHTMLElement
oracle.jdeveloper.html.DHTMLElementContainer
- Direct Known Subclasses:
- DHTMLArray, HTMLScript
- public class DHTMLElementContainer
- extends DHTMLElement
This class serves as a container for HTML elements. When it renders, it calls the render(0 method on it's containees.
- Version:
- PUBLIC
Field Summary |
protected java.util.Vector |
Elements
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Elements
protected java.util.Vector Elements
DHTMLElementContainer
public DHTMLElementContainer()
addElement
public void addElement(DHTMLElement elem)
- Adds an element to the collection of elements to be rendered
addElement
public void addElement(HTMLElement elem)
- Adds an element to the collection of elements to be rendered
removeElement
public void removeElement(HTMLElement elem)
- Remove an element to the collection of elements to be rendered
removeElement
public void removeElement(DHTMLElement elem)
- Remove an element to the collection of elements to be rendered
removeElementAt
public void removeElementAt(int index)
- Remove an element to the collection of elements to be rendered
numberOfElements
public int numberOfElements()
-
- Returns:
- the number of elements that have been added so far.
elementAt
protected HTMLElement elementAt(int nIndex)
-
- Returns:
- The element at the provided index
indexOf
public int indexOf(java.lang.Object object)
-
- Returns:
- The index of the provided element
renderContainerHeader
protected void renderContainerHeader(java.io.PrintWriter out)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
renderContainerFooter
protected void renderContainerFooter(java.io.PrintWriter out)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
renderElementHeader
protected void renderElementHeader(java.io.PrintWriter out)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
renderElementFooter
protected void renderElementFooter(java.io.PrintWriter out)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
render
public void render(java.io.PrintWriter out)
throws java.lang.Exception
- Renders the container's header, contained objects and footer.
-
- Specified by:
render
in class HTMLElement
-
- Throws:
java.lang.Exception
Copyright © 1997, 2005, Oracle. All rights reserved.