|
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.TCellParagraph
org.eclipse.tptp.platform.report.birt).
public class TCellParagraph
Provides a layout which is available to manage paragraph text format. A Paragraph layout contains several lines and can support alignment
setAlignment(int)| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.tptp.platform.report.drivers.ui.layout.internal.ILineLayout |
|---|
ILineLayout.ILine |
| 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 | |
|---|---|
TCellParagraph(IDItem i,
ILayout parent,
int align)
Deprecated. Builds a new paragraph layout with an initial alignment and a parent layout. |
|
| Method Summary | |
|---|---|
void |
computeSize(TAbstractCellContainer cell,
int hintW,
int hintH,
float _zoom,
IGC _gc,
IDProgressMonitor monitor)
Deprecated. Computes the size of the paragraph. |
void |
fillContent(TAbstractCellContainer _cell,
IDItem _item,
IGC _gc,
IDIImageProvider _pm,
IDProgressMonitor monitor,
DTitleLevel tl,
DListLevel ll,
boolean flatpopup)
Deprecated. Computes the children cells for the IDItem Calls TLayoutExtensible's doMethod to fill the layout |
int |
getAlignment()
Deprecated. Returns the alignment. |
ILineLayout.ILine |
getFirstLine()
Deprecated. Returns the first line. |
ILineLayout.ILine |
getLastLine()
Deprecated. Returns the last line. |
ILineLayout.ILine |
getLineAt(int i)
Deprecated. Returns the line at the position i. |
int |
getLineCount()
Deprecated. Returns tne number of line. |
int |
getLinesHeight()
Deprecated. Returns the height in pixel of all lines. |
int |
getMaxLineWidth()
Deprecated. Returns the max line width. |
int |
layout(TAbstractCellContainer cell,
float zoom,
int charpos,
IDProgressMonitor monitor)
Deprecated. Sets the position X,Y of each children cell of the paragraph. |
void |
setAlignment(int alignment)
Deprecated. Sets the alignment of the layout |
| 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 |
| Methods inherited from interface org.eclipse.tptp.platform.report.drivers.ui.layout.internal.ILayout |
|---|
isReversed, setReversed |
| Constructor Detail |
|---|
public TCellParagraph(IDItem i,
ILayout parent,
int align)
| Method Detail |
|---|
public void fillContent(TAbstractCellContainer _cell,
IDItem _item,
IGC _gc,
IDIImageProvider _pm,
IDProgressMonitor monitor,
DTitleLevel tl,
DListLevel ll,
boolean flatpopup)
fillContent in interface IContentProvider_cell - is the cell container for the IDItem item_item - 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)
computeSize in interface ILayoutcell - is the cell containerhintW - the prefered width size in pixel_zoom - the zoom value_gc - the graphic context used to render the cell
public int layout(TAbstractCellContainer cell,
float zoom,
int charpos,
IDProgressMonitor monitor)
layout in interface ILayoutcell - is the cell containerzoom - the zoom valuecharpos - is the number of character which are before the container cellpublic int getMaxLineWidth()
getMaxLineWidth in interface ILineLayoutpublic int getLinesHeight()
getLinesHeight in interface ILineLayoutpublic int getLineCount()
getLineCount in interface ILineLayoutpublic ILineLayout.ILine getLineAt(int i)
getLineAt in interface ILineLayoutpublic ILineLayout.ILine getFirstLine()
getFirstLine in interface ILineLayoutpublic ILineLayout.ILine getLastLine()
getLastLine in interface ILineLayoutpublic int getAlignment()
IDAlignmentpublic void setAlignment(int alignment)
IDAlignment
|
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 | ||||||||