TPTP 4.5.0 Platform Project
Internal API Specification

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

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.TCellData
All Implemented Interfaces:
IRect, IShape, IVObject
Direct Known Subclasses:
TCellRenderable

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 class TCellData
extends TAbstractCell
implements IVObject

Add a generic 'data' (Object) field in a TCell. What is stored in data is the discretion of user.


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
TCellData(IDItem i)
          Deprecated. Create a null data TCellData.
 
Method Summary
 void computeSize(int hintW, int hintH, float zoom, IGC gc, IDProgressMonitor monitor)
          Deprecated. Computes the prefered size of the TCell.
 void dispose()
          Deprecated. set object to null, and call super.dispose().
 void dump(int level)
          Deprecated. Just for debug session, dumps the content of the cell
 java.lang.Object getObject()
          Deprecated.  
 void setObject(java.lang.Object data)
          Deprecated. Change value of current data.
 
Methods inherited from class org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TAbstractCell
contains, contains, copyShape, getBounds, getChild, 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

TCellData

public TCellData(IDItem i)
Deprecated. 
Create a null data TCellData.

Method Detail

dispose

public void dispose()
Deprecated. 
set object to null, and call super.dispose().

Overrides:
dispose in class TAbstractCell
See Also:
IVObject#setObject()

getObject

public java.lang.Object getObject()
Deprecated. 
Specified by:
getObject in interface IVObject
Returns:
current data value associated with this cell.

setObject

public void setObject(java.lang.Object data)
Deprecated. 
Change value of current data. Replace previous data. If current data is an instanceof IDispose, call dispose() method before replace.

Specified by:
setObject in interface IVObject
Parameters:
data - the new data value.

computeSize

public void computeSize(int hintW,
                        int hintH,
                        float zoom,
                        IGC gc,
                        IDProgressMonitor monitor)
Deprecated. 
Description copied from class: TAbstractCell
Computes the prefered size of the TCell. This method tries to respect the prefered size given by the parameters hintW/hintH. If it is not possible or if the parameter's hintW/hintH value is ILayout.NO_SIZE_HINT the method computes the minimum size of the cell.

Specified by:
computeSize in class TAbstractCell
See Also:
TAbstractCell.computeSize(int, int, float, org.eclipse.tptp.platform.report.igc.internal.IGC, org.eclipse.tptp.platform.report.tools.internal.IDProgressMonitor)

dump

public void dump(int level)
Deprecated. 
Description copied from class: TAbstractCell
Just for debug session, dumps the content of the cell

Specified by:
dump in class TAbstractCell
See Also:
TAbstractCell.dump(int)

TPTP 4.5.0 Platform Project
Internal API Specification