|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement
public class CompositeDisplayElement
This class contains multiple Display Elements. This is a framework only class and should not be used by external developers.
Field Summary | |
---|---|
protected XPArrayList |
m_DisplayElements
The child display elements of this element. |
protected CompositeDisplayElement |
m_ParentContainer
The container that this element is stored in. |
protected TagDisplayElement |
m_ParentTag
The immediate parent tag of this element. |
Constructor Summary | |
---|---|
CompositeDisplayElement(TagDisplayElement _parentTag,
CompositeDisplayElement _parentContainer)
Constructor for CompositeDisplayElement. |
Method Summary | |
---|---|
void |
AddChildElement(IDisplayElement _child)
Add a child display element to this container. |
HTMLElement |
Display(TagVisitor _tagVisitor)
Displays this element and it's child elements and returns the result. |
XPArrayList |
GetDisplayElements()
Returns the unprocessed display elements Only used for Tag definitions. |
CompositeDisplayElement |
GetParentContainer()
Get the parent container of this container. |
TagDisplayElement |
GetParentTag()
Get the parent tag of this container. |
boolean |
HasChildElements(ITagMetaData[] _childTags,
java.lang.Object[] _results,
TagLibraryMetaData _library,
int _nCurrentDepth)
This method searches for child tags of the current tag and fills in the results array with an Object if the tag has been found. |
int |
HasParentElement(ITagMetaData _parentTag,
TagLibraryMetaData _library)
This method searches for a parent tag of the current tag. |
void |
Release()
This method is called to release any data that needs special handling before being allowed to go out of scope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected XPArrayList m_DisplayElements
protected TagDisplayElement m_ParentTag
protected CompositeDisplayElement m_ParentContainer
Constructor Detail |
---|
public CompositeDisplayElement(TagDisplayElement _parentTag, CompositeDisplayElement _parentContainer)
_parentTag
- The immediate parent tag of this element._parentContainer
- The container that this element is
stored in. This may be an internal child container of the
parent tag element.Method Detail |
---|
public HTMLElement Display(TagVisitor _tagVisitor)
IDisplayElement
Display
in interface IDisplayElement
IDisplayElement.Display(TagVisitor)
public void Release()
IDisplayElement
Release
in interface IDisplayElement
IDisplayElement.Release()
public void AddChildElement(IDisplayElement _child)
IDisplayElement
- _child The child to addpublic TagDisplayElement GetParentTag()
public CompositeDisplayElement GetParentContainer()
public XPArrayList GetDisplayElements()
public boolean HasChildElements(ITagMetaData[] _childTags, java.lang.Object[] _results, TagLibraryMetaData _library, int _nCurrentDepth)
IDisplayElement
HasChildElements
in interface IDisplayElement
_childTags
- An array of ITagMetaData objects for each child
tag to search for._results
- An array of null Objects. On execution, when a child
tag is found, the location in the _results array that corresponds to
the location of the tag in the _ChildTags array will be filled in with an
Integer containing the positive depth of the child tag._library
- The Tag Library of the tags to look for._nCurrentDepth
- The depth of the current tag.
IDisplayElement.HasChildElements(ITagMetaData[], Object[], TagLibraryMetaData, int)
public int HasParentElement(ITagMetaData _parentTag, TagLibraryMetaData _library)
IDisplayElement
HasParentElement
in interface IDisplayElement
_library
- The Tag Library of the tag to look for.
IDisplayElement.HasParentElement(ITagMetaData, TagLibraryMetaData)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |