|
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.TCellFolder
org.eclipse.tptp.platform.report.birt).
public class TCellFolder
Specialized TCell for DFolder item.
| Field Summary | |
|---|---|
protected java.util.ArrayList |
body_cells_
Deprecated. |
protected java.util.ArrayList |
header_cells_
Deprecated. |
protected boolean |
reversed_
Deprecated. |
protected TCellSymbol |
symbol_cell_
Deprecated. |
| 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 | |
|---|---|
TCellFolder(DFolder item)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
computeSize(TAbstractCellContainer cell,
int hintW,
int hintH,
float zoom,
IGC gc,
IDProgressMonitor monitor)
Deprecated. Computes the size of the specified composite's client area according to this layout. |
IShape |
copyShape()
Deprecated. Returns a new Rect which is equal to the cell size and position |
void |
dump(int level)
Deprecated. Just for debug session, dumps the content of the cell |
void |
fillContent(TAbstractCellContainer cell,
IDItem fitem,
IGC gc,
IDIImageProvider pm,
IDProgressMonitor monitor,
DTitleLevel titleLevel,
DListLevel listLevel,
boolean flatPopup)
Deprecated. fills the cell container with a children cell for each child of the IDItem |
java.util.Iterator |
getBodyCellIterator()
Deprecated. |
IContentProvider |
getContentProvider()
Deprecated. |
java.util.Iterator |
getHeaderCellIterator()
Deprecated. |
ILayout |
getLayout()
Deprecated. |
TCellSymbol |
getSymbolCell()
Deprecated. |
boolean |
hasCRAfter()
Deprecated. Returns true if the cell has a carriage return after |
boolean |
hasCRBefore()
Deprecated. Returns true if the cell has a carriage return before |
boolean |
isReversed()
Deprecated. Returns the true if the layout is reversed (BiDi support) |
int |
layout(TAbstractCellContainer cell,
float zoom,
int char_position,
IDProgressMonitor monitor)
Deprecated. Lays out the children of the specified container according to this layout. |
void |
setReversed(boolean _reversed)
Deprecated. Sets the if the layout is reversed LEFT->RIGHT etc... |
| 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 |
| Field Detail |
|---|
protected TCellSymbol symbol_cell_
protected java.util.ArrayList header_cells_
protected java.util.ArrayList body_cells_
protected boolean reversed_
| Constructor Detail |
|---|
public TCellFolder(DFolder item)
| Method Detail |
|---|
public TCellSymbol getSymbolCell()
public java.util.Iterator getHeaderCellIterator()
public java.util.Iterator getBodyCellIterator()
public ILayout getLayout()
getLayout in class TAbstractCellContainerpublic IContentProvider getContentProvider()
getContentProvider in class TAbstractCellContainerpublic IShape copyShape()
TAbstractCell
copyShape in interface IShapecopyShape in class TAbstractCellRectpublic void dump(int level)
TAbstractCell
dump in class TAbstractCell
public void computeSize(TAbstractCellContainer cell,
int hintW,
int hintH,
float zoom,
IGC gc,
IDProgressMonitor monitor)
ILayout
computeSize in interface ILayoutcell - is the cell containerhintW - the prefered width size in pixelzoom - the zoom valuegc - the graphic context used to render the cell
public int layout(TAbstractCellContainer cell,
float zoom,
int char_position,
IDProgressMonitor monitor)
ILayout
layout in interface ILayoutcell - is the cell containerzoom - the zoom valuechar_position - is the number of character which are before the container cellpublic boolean isReversed()
ILayout
isReversed in interface ILayoutpublic void setReversed(boolean _reversed)
ILayout
setReversed in interface ILayout
public void fillContent(TAbstractCellContainer cell,
IDItem fitem,
IGC gc,
IDIImageProvider pm,
IDProgressMonitor monitor,
DTitleLevel titleLevel,
DListLevel listLevel,
boolean flatPopup)
IContentProvider
fillContent in interface IContentProvidercell - is the cell container for the IDItem itemfitem - is the JScrib IDItem mapped by the cell containergc - is the graphic context used to render the cell containerpm - is the image provider to resolve image linktitleLevel - is the current title level in the document analyselistLevel - 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);
SWTViewer#setContent(IDItem),
SWTViewer#setContent(TAbstractCellContainer)public boolean hasCRBefore()
ICarriageReturn
hasCRBefore in interface ICarriageReturnpublic boolean hasCRAfter()
ICarriageReturn
hasCRAfter in interface ICarriageReturn
|
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 | ||||||||