|
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.birt).
public abstract class DItem
A DItem is defined by a parent item, a next item and a style. A DItem can't have children, it's a leaf object. This is the based object for all other item of a document in the JScrib core.
| Constructor Summary | |
|---|---|
DItem()
Deprecated. Creates a DItem with no next and parent IDItem and no style. |
|
| Method Summary | |
|---|---|
boolean |
addChild(IDItem item)
Deprecated. Inserts a child after the last IDItem child. |
void |
clear()
Deprecated. Detaches the item from a document and clears its style. |
IDStyle |
getAppliedStyle()
Deprecated. Returns the Applied style of the item. |
int |
getChildCount()
Deprecated. Returns the number of children of the item. |
int |
getChildPosition(IDItem i)
Deprecated. Returns the position of the child passed in argument. |
IDItem |
getFirstChild()
Deprecated. Returns the first child of the item. |
IDItemIterator |
getIterator()
Deprecated. Returns the iterator of the item. |
IDItem |
getLastChild()
Deprecated. Returns the last child of the item. |
IDItem |
getNext()
Deprecated. Returns the next item. |
IDItem |
getParent()
Deprecated. Returns the parent item. |
IDItem |
getRoot()
Deprecated. Returns the top level parent item in a IDItem hierarchy. |
IDStyle |
getStyle()
Deprecated. Returns the style of the item. |
boolean |
insertChild(IDItem item,
IDItem after)
Deprecated. Inserts the child 'item' to the item after the child 'after'. |
boolean |
isContainer()
Deprecated. Return true if the item is a container. |
boolean |
removeChild(IDItem item)
Deprecated. Removes the child 'item' from the item children and returns true. |
void |
setNext(IDItem i)
Deprecated. Sets the next IDItem. |
void |
setParent(IDItem p)
Deprecated. Sets the parent of the item. |
void |
setStyle(IDStyle style)
Deprecated. Sets the style of the item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DItem()
| Method Detail |
|---|
public void clear()
clear in interface IDItempublic IDItem getRoot()
getRoot in interface IDItempublic IDItem getNext()
getNext in interface IDItempublic IDStyle getAppliedStyle()
getAppliedStyle in interface IDItemgetStyle()public IDStyle getStyle()
getStyle in interface IDItemsetStyle(org.eclipse.tptp.platform.report.core.internal.IDStyle),
getAppliedStyle()public void setNext(IDItem i)
setNext in interface IDItemi - next itempublic void setStyle(IDStyle style)
setStyle in interface IDItemstyle - item stylegetStyle()public boolean addChild(IDItem item)
addChild in interface IDIteminsertChild(org.eclipse.tptp.platform.report.core.internal.IDItem, org.eclipse.tptp.platform.report.core.internal.IDItem),
getLastChild()public int getChildCount()
getChildCount in interface IDItempublic int getChildPosition(IDItem i)
getChildPosition in interface IDItempublic IDItem getFirstChild()
getFirstChild in interface IDItemgetLastChild(),
getChildPosition(org.eclipse.tptp.platform.report.core.internal.IDItem)public IDItemIterator getIterator()
getIterator in interface IDItempublic IDItem getLastChild()
getLastChild in interface IDItemgetFirstChild(),
getChildPosition(org.eclipse.tptp.platform.report.core.internal.IDItem)
public boolean insertChild(IDItem item,
IDItem after)
insertChild in interface IDItemchild - item to be addedafter - item after which the child should be added
addChild(org.eclipse.tptp.platform.report.core.internal.IDItem),
removeChild(org.eclipse.tptp.platform.report.core.internal.IDItem)public boolean isContainer()
isContainer in interface IDItemDItemContainer.isContainer()public boolean removeChild(IDItem item)
removeChild in interface IDIteminsertChild(org.eclipse.tptp.platform.report.core.internal.IDItem, org.eclipse.tptp.platform.report.core.internal.IDItem),
addChild(org.eclipse.tptp.platform.report.core.internal.IDItem)public void setParent(IDItem p)
insertChild(org.eclipse.tptp.platform.report.core.internal.IDItem, org.eclipse.tptp.platform.report.core.internal.IDItem) method
setParent in interface IDItemp - parent itemgetParent()public IDItem getParent()
getParent in interface IDItemsetParent(org.eclipse.tptp.platform.report.core.internal.IDItem)
|
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 | ||||||||