TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.drivers.ui.layout.internal
Class TAbstractCellContainer

java.lang.Object
  extended by org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TAbstractCell
      extended by org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TAbstractCellContainer
All Implemented Interfaces:
IRect, IShape
Direct Known Subclasses:
TCellBorder, TCellContainer, TCellFolder, TMLayoutContentCellContainer

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 abstract class TAbstractCellContainer
extends TAbstractCell

This is the base class of cell container. Only this object can contain children TAbstractCell. To get the first child calls the method

See Also:
TExtensibleContentProvider

Field Summary
 
Fields inherited from class org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TAbstractCell
h, item, next, parent, position, previous, w, x, y
 
Constructor Summary
TAbstractCellContainer(IDItem i)
          Deprecated. Builds a new cell container which maps the item i
 
Method Summary
 TAbstractCell addCell(TAbstractCell c)
          Deprecated. Add a cell into the container
 void computeSize(int hintW, int hintH, float zoom, IGC gc, IDProgressMonitor monitor)
          Deprecated. Calls the layout method compute size
 void dispose()
          Deprecated. calls the dispose methods on the children
 void fillContent(IDItem item, IGC gc, IDIImageProvider pm, IDProgressMonitor monitor, DTitleLevel titleLevel, DListLevel listLevel, boolean flatpopup)
          Deprecated. Calls the fillContent method of the content provider
 TAbstractCell getChild()
          Deprecated. Returns always null
 int getChildCount()
          Deprecated.  
abstract  IContentProvider getContentProvider()
          Deprecated.  
 TAbstractCell getLast()
          Deprecated.  
abstract  ILayout getLayout()
          Deprecated.  
 boolean hasCell(TAbstractCell c)
          Deprecated.  
 TAbstractCell insertCell(TAbstractCell c, TAbstractCell previous)
          Deprecated. inserts a cell into a container hierarchy
 boolean isFixedSize()
          Deprecated. Returns true if the size of the cell is fixed and cannot be streched.
 int layout(float zoom, int charpos, IDProgressMonitor monitor)
          Deprecated. Calls the layout method of the layout
 void removeCell(TAbstractCell c)
          Deprecated. removes a cell from the container
 void setChild(TAbstractCell aChild)
          Deprecated.  
 void setFixedSize(boolean fixedSize)
          Deprecated.  
 
Methods inherited from class org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TAbstractCell
contains, contains, copyShape, dump, getBounds, getH, getHeight, getItem, getNext, getParent, getPosition, getPrevious, getW, getWidth, getX, getY, setItem, setNext, setParent, setPosition, setPrevious, setSize, setXY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TAbstractCellContainer

public TAbstractCellContainer(IDItem i)
Deprecated. 
Builds a new cell container which maps the item i

Method Detail

getLayout

public abstract ILayout getLayout()
Deprecated. 
Returns:
the layout of the container

getContentProvider

public abstract IContentProvider getContentProvider()
Deprecated. 
Returns:
the content provider of the container

addCell

public TAbstractCell addCell(TAbstractCell c)
Deprecated. 
Add a cell into the container


removeCell

public void removeCell(TAbstractCell c)
Deprecated. 
removes a cell from the container


hasCell

public boolean hasCell(TAbstractCell c)
Deprecated. 
Returns:
true if the container contains the cell

insertCell

public TAbstractCell insertCell(TAbstractCell c,
                                TAbstractCell previous)
Deprecated. 
inserts a cell into a container hierarchy


fillContent

public void fillContent(IDItem item,
                        IGC gc,
                        IDIImageProvider pm,
                        IDProgressMonitor monitor,
                        DTitleLevel titleLevel,
                        DListLevel listLevel,
                        boolean flatpopup)
Deprecated. 
Calls the fillContent method of the content provider

See Also:
getContentProvider(), IContentProvider#fillContents

computeSize

public void computeSize(int hintW,
                        int hintH,
                        float zoom,
                        IGC gc,
                        IDProgressMonitor monitor)
Deprecated. 
Calls the layout method compute size

Specified by:
computeSize in class TAbstractCell
See Also:
getLayout(), ILayout#computeSize()

layout

public int layout(float zoom,
                  int charpos,
                  IDProgressMonitor monitor)
Deprecated. 
Calls the layout method of the layout

See Also:
getLayout(), ILayout#layout()

isFixedSize

public boolean isFixedSize()
Deprecated. 
Returns true if the size of the cell is fixed and cannot be streched.


setFixedSize

public void setFixedSize(boolean fixedSize)
Deprecated. 
Parameters:
fixedSize - The fixedSize to set.

getChild

public TAbstractCell getChild()
Deprecated. 
Description copied from class: TAbstractCell
Returns always null

Overrides:
getChild in class TAbstractCell

setChild

public void setChild(TAbstractCell aChild)
Deprecated. 

dispose

public void dispose()
Deprecated. 
calls the dispose methods on the children

Overrides:
dispose in class TAbstractCell

getLast

public TAbstractCell getLast()
Deprecated. 
Returns:
Returns the last.

getChildCount

public int getChildCount()
Deprecated. 
Returns:
the child number

TPTP 4.5.0 Platform Project
Internal API Specification