|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.core.internal.DItem
org.eclipse.tptp.platform.report.core.internal.DItemContainer
org.eclipse.tptp.platform.report.birt).
public abstract class DItemContainer
A DItemContainer is a container which contains IDItem. It is useful to replace an IDItem when you want to insert child in it because it is impossible with an IDItem which is a leaf element.
| Constructor Summary | |
|---|---|
DItemContainer()
Deprecated. Constructs the DItemContainer. |
|
| Method Summary | |
|---|---|
void |
clear()
Deprecated. Removes all children item in the container. |
int |
getChildCount()
Deprecated. Returns the number of children of the container. |
IDItem |
getChildOfClass(java.lang.Class clazz)
Deprecated. Returns the first IDItem which derives of the class clazz null if an IDItem has not be found. |
int |
getChildPosition(IDItem i)
Deprecated. Returns the position in the children list of the child passed in argument. |
java.util.List |
getChildrenOfClass(java.lang.Class clazz)
Deprecated. Returns the list which is contains all children which derive of the class clazz |
IDItem |
getFirstChild()
Deprecated. Returns the first child of the container. |
IDItem |
getLastChild()
Deprecated. Returns the last child of the item container. |
boolean |
insertChild(IDItem _child,
IDItem after)
Deprecated. Inserts the child 'item' to the item container after the child 'after'. |
boolean |
isContainer()
Deprecated. Return always true because the item is a container. |
boolean |
removeChild(IDItem item)
Deprecated. Removes the child 'item' from the item container children and returns true. |
| Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DItem |
|---|
addChild, getAppliedStyle, getIterator, getNext, getParent, getRoot, getStyle, setNext, setParent, setStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DItemContainer()
| Method Detail |
|---|
public IDItem getLastChild()
getLastChild in interface IDItemgetLastChild in class DItemgetFirstChild(),
getChildPosition(org.eclipse.tptp.platform.report.core.internal.IDItem)public boolean removeChild(IDItem item)
removeChild in interface IDItemremoveChild in class DIteminsertChild(org.eclipse.tptp.platform.report.core.internal.IDItem, org.eclipse.tptp.platform.report.core.internal.IDItem),
DItem.addChild(org.eclipse.tptp.platform.report.core.internal.IDItem)
public boolean insertChild(IDItem _child,
IDItem after)
insertChild in interface IDIteminsertChild in class DItemchild - item to be addedafter - item after which the child should be added
DItem.addChild(org.eclipse.tptp.platform.report.core.internal.IDItem),
removeChild(org.eclipse.tptp.platform.report.core.internal.IDItem)public IDItem getFirstChild()
getFirstChild in interface IDItemgetFirstChild in class DItemgetLastChild(),
getChildPosition(org.eclipse.tptp.platform.report.core.internal.IDItem)public void clear()
clear in interface IDItemclear in class DItempublic int getChildCount()
getChildCount in interface IDItemgetChildCount in class DItempublic int getChildPosition(IDItem i)
getChildPosition in interface IDItemgetChildPosition in class DItempublic java.util.List getChildrenOfClass(java.lang.Class clazz)
public IDItem getChildOfClass(java.lang.Class clazz)
public boolean isContainer()
isContainer in interface IDItemisContainer in class DItemDItem.isContainer()
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||