TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.core.internal
Interface IDItem

All Superinterfaces:
IDObject
All Known Subinterfaces:
IDBasicItem, IDDocument, IDParagraphItem, IDRenderable, IDSizeableItem, IDTaggedItem, IDTextualItem
All Known Implementing Classes:
DAbstractParagraph, DAccessibilityDesc, DAccessibilityTitle, DAxis, DBorder, DCategory, DCell, DCellText, DCoord, DCoordAbstract, DCoordObject, DCurve, DCurveLink, DData, DDocument, DEvent, DFolder, DFooter, DGraphic, DHeader, DI18N, DImage, DInclude, DIndex, DIndexEntry, DItem, DItemContainer, DItemPointer, DLine, DLink, DList, DMarkerLine, DMarkerRegion, DPageBreak, DPageCounter, DPalettes, DParagraph, DPoint, DPointLink, DPopup, DPreferences, DRow, DSection, DShapes, DSummary, DTable, DTag, DText, DTimeStamp, DTitle, DXmlReader.DDummy, DXYSurface

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public interface IDItem
extends IDObject

Provides an interface for all items in a JScrib document except Colors, Fonts and Styles.


Method Summary
 boolean addChild(IDItem item)
          Deprecated. Adds a child item after the last child.
 void clear()
          Deprecated. Clears the resources kept by the item.
 IDStyle getAppliedStyle()
          Deprecated. Returns the style to applied on this item, might be getStyle() or one of parent's style if getStyle returns null.
 int getChildCount()
          Deprecated. Returns the item child number.
 int getChildPosition(IDItem i)
          Deprecated. Returns the child item position in the list.
 IDItem getFirstChild()
          Deprecated. Returns the first child of the item.
 IDItemIterator getIterator()
          Deprecated. Returns the item iterator.
 IDItem getLastChild()
          Deprecated. Returns the last child of the item.
 IDItem getNext()
          Deprecated. Returns the next item.
 IDItem getParent()
          Deprecated. Returns the parent of the item.
 IDItem getRoot()
          Deprecated. Returns the current document.
 IDStyle getStyle()
          Deprecated. Returns the item style.
 boolean insertChild(IDItem item, IDItem after)
          Deprecated. Inserts the child 'item' after the item 'after' if acceptChild(item,after) returns true.
 boolean isContainer()
          Deprecated. Returns true if the item is a container.
 boolean removeChild(IDItem item)
          Deprecated. Removes the child 'item'.
 void setNext(IDItem i)
          Deprecated. Sets the next item to 'i'.
 void setParent(IDItem p)
          Deprecated. Sets the parent item to 'p'.
 void setStyle(IDStyle style)
          Deprecated. Sets the item style to 'style'.
 

Method Detail

addChild

boolean addChild(IDItem item)
Deprecated. 
Adds a child item after the last child.


clear

void clear()
Deprecated. 
Clears the resources kept by the item.


getChildCount

int getChildCount()
Deprecated. 
Returns the item child number.


getChildPosition

int getChildPosition(IDItem i)
Deprecated. 
Returns the child item position in the list.


getRoot

IDItem getRoot()
Deprecated. 
Returns the current document.


getFirstChild

IDItem getFirstChild()
Deprecated. 
Returns the first child of the item.


getIterator

IDItemIterator getIterator()
Deprecated. 
Returns the item iterator.


getLastChild

IDItem getLastChild()
Deprecated. 
Returns the last child of the item.


getNext

IDItem getNext()
Deprecated. 
Returns the next item.


getParent

IDItem getParent()
Deprecated. 
Returns the parent of the item.


getAppliedStyle

IDStyle getAppliedStyle()
Deprecated. 
Returns the style to applied on this item, might be getStyle() or one of parent's style if getStyle returns null.

See Also:
getStyle()

getStyle

IDStyle getStyle()
Deprecated. 
Returns the item style.


insertChild

boolean insertChild(IDItem item,
                    IDItem after)
Deprecated. 
Inserts the child 'item' after the item 'after' if acceptChild(item,after) returns true.

Parameters:
child - child to be attached
after - item after which child should be added

isContainer

boolean isContainer()
Deprecated. 
Returns true if the item is a container.


removeChild

boolean removeChild(IDItem item)
Deprecated. 
Removes the child 'item'.


setNext

void setNext(IDItem i)
Deprecated. 
Sets the next item to 'i'.

Parameters:
i - next item

setParent

void setParent(IDItem p)
Deprecated. 
Sets the parent item to 'p'.

Parameters:
p - parent item

setStyle

void setStyle(IDStyle style)
Deprecated. 
Sets the item style to 'style'.

Parameters:
style - item style

TPTP 4.6.0 Platform Project
Internal API Specification