|
TPTP 4.6.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.drivers.ui.layout.internal.TAbstractCell
org.eclipse.tptp.platform.report.birt).
public abstract class TAbstractCell
Provides an abstract base class which is the basic item in an SWTViewer. A cell is a rectangle which do not contain child TCell.
| Field Summary | |
|---|---|
protected int |
h
Deprecated. |
protected IDItem |
item
Deprecated. |
protected TAbstractCell |
next
Deprecated. |
protected TAbstractCellContainer |
parent
Deprecated. |
protected int |
position
Deprecated. |
protected TAbstractCell |
previous
Deprecated. |
protected int |
w
Deprecated. |
protected int |
x
Deprecated. |
protected int |
y
Deprecated. |
| Constructor Summary | |
|---|---|
TAbstractCell(IDItem i)
Deprecated. Builds a new cell and associates it with an IDItem. |
|
| Method Summary | |
|---|---|
abstract void |
computeSize(int hintW,
int hintH,
float zoom,
IGC gc,
IDProgressMonitor monitor)
Deprecated. Computes the prefered size of the TCell. |
boolean |
contains(int _x,
int _y)
Deprecated. returns true if the point is contained in the cell |
boolean |
contains(IPoint p)
Deprecated. returns true if the point is contained in the cell |
IShape |
copyShape()
Deprecated. Returns a new Rect which is equal to the cell size and position |
void |
dispose()
Deprecated. disposes the cell ( detaches and unassociates the IDItem ) |
abstract void |
dump(int level)
Deprecated. Just for debug session, dumps the content of the cell |
IRect |
getBounds()
Deprecated. Returns the height of the cell |
TAbstractCell |
getChild()
Deprecated. Returns always null |
int |
getH()
Deprecated. Returns the height of the cell |
int |
getHeight()
Deprecated. Returns the height of the cell |
IDItem |
getItem()
Deprecated. returns the item associated with the cell |
TAbstractCell |
getNext()
Deprecated. returns the sibling cell |
TAbstractCellContainer |
getParent()
Deprecated. returns the parent |
int |
getPosition()
Deprecated. returns always the position |
TAbstractCell |
getPrevious()
Deprecated. returns the previous cell |
int |
getW()
Deprecated. Returns the width of the cell. |
int |
getWidth()
Deprecated. Returns the width of the cell. |
int |
getX()
Deprecated. returns the X coordinate of the cell |
int |
getY()
Deprecated. returns the Y coordinate of the cell |
void |
setItem(IDItem aItem)
Deprecated. Sets the item which is associated with the cell. |
void |
setNext(TAbstractCell aNext)
Deprecated. sets the sibling cell |
void |
setParent(TAbstractCellContainer aParent)
Deprecated. sets the parent cell |
void |
setPosition(int aPosition)
Deprecated. Sets the value of the position property. |
void |
setPrevious(TAbstractCell aPrevious)
Deprecated. sets the previous cell |
void |
setSize(int _w,
int _h)
Deprecated. Sets the size of the cell |
void |
setXY(int _x,
int _y)
Deprecated. Sets X,Y coordinates |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IDItem item
protected TAbstractCell next
protected TAbstractCell previous
protected TAbstractCellContainer parent
protected int x
protected int y
protected int w
protected int h
protected int position
| Constructor Detail |
|---|
public TAbstractCell(IDItem i)
| Method Detail |
|---|
public abstract void computeSize(int hintW,
int hintH,
float zoom,
IGC gc,
IDProgressMonitor monitor)
public IShape copyShape()
copyShape in interface IShapeRectpublic abstract void dump(int level)
public int getPosition()
public void setPosition(int aPosition)
public void setXY(int _x,
int _y)
public int getX()
getX in interface IRectpublic int getY()
getY in interface IRect
public void setSize(int _w,
int _h)
public IRect getBounds()
getBounds in interface IShapepublic int getHeight()
public int getWidth()
public int getH()
getH in interface IRectpublic int getW()
getW in interface IRectpublic IDItem getItem()
public void setItem(IDItem aItem)
public boolean contains(IPoint p)
contains in interface IShape
public boolean contains(int _x,
int _y)
contains in interface IShapepublic TAbstractCell getChild()
public TAbstractCell getNext()
public void setNext(TAbstractCell aNext)
public TAbstractCell getPrevious()
public void setPrevious(TAbstractCell aPrevious)
public TAbstractCellContainer getParent()
public void setParent(TAbstractCellContainer aParent)
public void dispose()
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||