|
TPTP 4.5.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.drivers.ui.layout.internal.TAbstractCellContainer
org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TMLayoutContentCellContainer
org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TCellTable
org.eclipse.tptp.platform.report.birt).
public class TCellTable
Provides a layout which manages each children as cell of a table
| 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 |
| Fields inherited from interface org.eclipse.tptp.platform.report.drivers.ui.layout.internal.ILayout |
|---|
NO_SIZE_HINT |
| Constructor Summary | |
|---|---|
TCellTable(IDItem i,
int row,
int col,
float[] _columnWidth,
int _border)
Deprecated. Builds a table layout with row rows and col columns. |
|
| Method Summary | |
|---|---|
void |
computeSize(TAbstractCellContainer cell,
int hintW,
int hintH,
float zoom,
IGC _gc,
IDProgressMonitor monitor)
Deprecated. Computes the size of the table |
void |
fillContent(TAbstractCellContainer cell,
IDItem item,
IGC _gc,
IDIImageProvider _pm,
IDProgressMonitor monitor,
DTitleLevel tl,
DListLevel ll,
boolean flatpopup)
Deprecated. Fills the content of the table layout. |
int |
getBorder()
Deprecated. Returns the border size. |
float[] |
getColumnWidth()
Deprecated. Returns the percent factor table for column size. |
int |
layout(TAbstractCellContainer cell,
float zoom,
int charpos,
IDProgressMonitor monitor)
Deprecated. Sets the XY coordinate positions of each cell. |
void |
setBorder(int border)
Deprecated. Sets the border size. |
void |
setColumnWidth(float[] columnWidth)
Deprecated. Sets the percent factor table for column size. |
| Methods inherited from class org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TMLayoutContentCellContainer |
|---|
copyShape, dump, getBottomMargin, getContentProvider, getLayout, getLeftMargin, getRightMargin, getSpacing, getTopMargin, isReversed, setMargin, setReversed, setSpacing |
| Methods inherited from class org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TAbstractCellContainer |
|---|
addCell, computeSize, dispose, fillContent, getChild, getChildCount, getLast, hasCell, insertCell, isFixedSize, layout, removeCell, setChild, setFixedSize |
| Methods inherited from class org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TAbstractCell |
|---|
contains, contains, 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 |
|---|
public TCellTable(IDItem i,
int row,
int col,
float[] _columnWidth,
int _border)
row - is the number of rows.col - is the number of columns._columnWidth - is a percent factor table of each column size._border - is the size of cell border (0 = no border)| Method Detail |
|---|
public void fillContent(TAbstractCellContainer cell,
IDItem item,
IGC _gc,
IDIImageProvider _pm,
IDProgressMonitor monitor,
DTitleLevel tl,
DListLevel ll,
boolean flatpopup)
cell - is the cell container for the IDItem itemitem - is the JScrib IDItem mapped by the cell container_gc - is the graphic context used to render the cell container_pm - is the image provider to resolve image linktl - is the current title level in the document analysell - is the current list level in the document analyseflatpopup - sets the mode to insert DPopup item in the document
myContainer.getContentProvider().fillContent(myContainer, myitem, mygc, mypm,
new DTitleLvel(), new DListLevel(), false);
TLayoutExtensible
public void computeSize(TAbstractCellContainer cell,
int hintW,
int hintH,
float zoom,
IGC _gc,
IDProgressMonitor monitor)
cell - is the cell containerhintW - the prefered width size in pixelzoom - the zoom value_gc - the graphic context used to render the cell
public int layout(TAbstractCellContainer cell,
float zoom,
int charpos,
IDProgressMonitor monitor)
cell - is the cell containerzoom - the zoom valuecharpos - is the number of character which are before the container cellpublic float[] getColumnWidth()
public void setColumnWidth(float[] columnWidth)
public int getBorder()
public void setBorder(int border)
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||