TPTP 4.5.0 Platform Project
Internal API Specification

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

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.TCellText
All Implemented Interfaces:
IRect, IShape

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 TCellText
extends TAbstractCell

Provides a cell to support string character. It is generally mapped on DText item


Field Summary
protected  int descent
          Deprecated.  
protected  int len
          Deprecated.  
protected  int start
          Deprecated.  
protected  java.lang.String text
          Deprecated.  
 
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
TCellText(IDItem i)
          Deprecated. Creates a new cell on the item i
TCellText(IDItem i, java.lang.String t)
          Deprecated. Builds a new cell text on the item i with the text t.
 
Method Summary
 void clear()
          Deprecated.  
 void computeSize(int hintW, int hintH, float zoom, IGC gc, IDProgressMonitor monitor)
          Deprecated. Computes the size of the cell text
 void dump(int level)
          Deprecated. Just for debug session, dumps the content of the cell
 int getDescent()
          Deprecated.  
 int getLen()
          Deprecated. Returns the text lenght mapped by the cell.
 int getStart()
          Deprecated.  
 java.lang.String getText()
          Deprecated. Returns the string character pointed by the cell
 boolean isText()
          Deprecated. Returns always true
 TAbstractCell mapPositionToCell(int pos)
          Deprecated. returns the cell where the position pos is contained
 void setDescent(int descent)
          Deprecated.  
 void setLen(int aLen)
          Deprecated.  
 void setStart(int s)
          Deprecated.  
 void setText(java.lang.String s)
          Deprecated.  
 void setText(java.lang.String s, int st, int l, int dsc)
          Deprecated.  
 
Methods inherited from class org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TAbstractCell
contains, contains, copyShape, dispose, 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
 

Field Detail

text

protected java.lang.String text
Deprecated. 

start

protected int start
Deprecated. 

len

protected int len
Deprecated. 

descent

protected int descent
Deprecated. 
Constructor Detail

TCellText

public TCellText(IDItem i,
                 java.lang.String t)
Deprecated. 
Builds a new cell text on the item i with the text t. The text start at the start character position, on len character. The descent is the value of the font descent attribut. It is necessary the computes the height and position of the cell.

See Also:
TCellParagraph.layout(org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TAbstractCellContainer, float, int, org.eclipse.tptp.platform.report.tools.internal.IDProgressMonitor)

TCellText

public TCellText(IDItem i)
Deprecated. 
Creates a new cell on the item i

Method Detail

computeSize

public void computeSize(int hintW,
                        int hintH,
                        float zoom,
                        IGC gc,
                        IDProgressMonitor monitor)
Deprecated. 
Computes the size of the cell text

Specified by:
computeSize in class TAbstractCell

getText

public java.lang.String getText()
Deprecated. 
Returns the string character pointed by the cell


isText

public boolean isText()
Deprecated. 
Returns always true


getLen

public int getLen()
Deprecated. 
Returns the text lenght mapped by the cell.


getStart

public int getStart()
Deprecated. 

setStart

public void setStart(int s)
Deprecated. 

setLen

public void setLen(int aLen)
Deprecated. 

setText

public void setText(java.lang.String s,
                    int st,
                    int l,
                    int dsc)
Deprecated. 

setText

public void setText(java.lang.String s)
Deprecated. 

clear

public void clear()
Deprecated. 

getDescent

public int getDescent()
Deprecated. 
Returns:
Returns the descent.

setDescent

public void setDescent(int descent)
Deprecated. 
Parameters:
descent - The descent to set.

mapPositionToCell

public TAbstractCell mapPositionToCell(int pos)
Deprecated. 
returns the cell where the position pos is contained


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