TPTP 4.5.0 Platform Project
Internal API Specification

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

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.TAbstractCellContainer
          extended by org.eclipse.tptp.platform.report.drivers.ui.layout.internal.TMLayoutContentCellContainer
All Implemented Interfaces:
IContentProvider, ILayout, IMarginLayout, IRect, IShape
Direct Known Subclasses:
TCellParagraph, TCellTable

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 abstract class TMLayoutContentCellContainer
extends TAbstractCellContainer
implements IMarginLayout, IContentProvider

This is an abstract class to support layout.A layout is an object which manages the size of the container cell and the position of the children item. This class support content provider service to fill its content.


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
TMLayoutContentCellContainer(IDItem i)
          Deprecated. Builds a new container
 
Method Summary
 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
 int getBottomMargin()
          Deprecated. Returns the bottom margin
 IContentProvider getContentProvider()
          Deprecated.  
 ILayout getLayout()
          Deprecated.  
 int getLeftMargin()
          Deprecated. Returns the left margin
 int getRightMargin()
          Deprecated. Returns the right margin
 int getSpacing()
          Deprecated. Returns the spacing between children in the layout
 int getTopMargin()
          Deprecated. Returns the top margin
 boolean isReversed()
          Deprecated. Returns the true if the layout is reversed (BiDi support)
 void setMargin(int l, int r, int t, int b)
          Deprecated. Sets the margin of the layout
 void setReversed(boolean reverse)
          Deprecated. Sets the if the layout is reversed LEFT->RIGHT etc...
 void setSpacing(int spacing)
          Deprecated. Sets the spacing between the children in the layout
 
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
computeSize, layout
 
Methods inherited from interface org.eclipse.tptp.platform.report.drivers.ui.layout.internal.IContentProvider
fillContent
 

Constructor Detail

TMLayoutContentCellContainer

public TMLayoutContentCellContainer(IDItem i)
Deprecated. 
Builds a new container

Method Detail

getContentProvider

public IContentProvider getContentProvider()
Deprecated. 
Specified by:
getContentProvider in class TAbstractCellContainer
Returns:
the content provider of the container

getLayout

public ILayout getLayout()
Deprecated. 
Specified by:
getLayout in class TAbstractCellContainer
Returns:
the layout of the container

getLeftMargin

public int getLeftMargin()
Deprecated. 
Returns the left margin

Specified by:
getLeftMargin in interface IMarginLayout

getRightMargin

public int getRightMargin()
Deprecated. 
Returns the right margin

Specified by:
getRightMargin in interface IMarginLayout

getTopMargin

public int getTopMargin()
Deprecated. 
Returns the top margin

Specified by:
getTopMargin in interface IMarginLayout

getBottomMargin

public int getBottomMargin()
Deprecated. 
Returns the bottom margin

Specified by:
getBottomMargin in interface IMarginLayout

setMargin

public void setMargin(int l,
                      int r,
                      int t,
                      int b)
Deprecated. 
Sets the margin of the layout

Specified by:
setMargin in interface IMarginLayout

isReversed

public boolean isReversed()
Deprecated. 
Returns the true if the layout is reversed (BiDi support)

Specified by:
isReversed in interface ILayout

setReversed

public void setReversed(boolean reverse)
Deprecated. 
Sets the if the layout is reversed LEFT->RIGHT etc...

Specified by:
setReversed in interface ILayout

getSpacing

public int getSpacing()
Deprecated. 
Returns the spacing between children in the layout

Specified by:
getSpacing in interface IMarginLayout

setSpacing

public void setSpacing(int spacing)
Deprecated. 
Sets the spacing between the children in the layout

Specified by:
setSpacing in interface IMarginLayout

copyShape

public IShape copyShape()
Deprecated. 
Returns a new Rect which is equal to the cell size and position

Specified by:
copyShape in interface IShape
Overrides:
copyShape in class TAbstractCell
Returns:
full deep-copy of this shape
See Also:
Rect

dump

public void dump(int level)
Deprecated. 
Just for debug session, dumps the content of the cell

Specified by:
dump in class TAbstractCell

TPTP 4.5.0 Platform Project
Internal API Specification