public abstract class CellPainterWrapper extends AbstractCellPainter
| Constructor and Description |
|---|
CellPainterWrapper() |
CellPainterWrapper(ICellPainter painter) |
| Modifier and Type | Method and Description |
|---|---|
ICellPainter |
getCellPainterAt(int x,
int y,
ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle adjustedCellBounds,
IConfigRegistry configRegistry) |
int |
getPreferredHeight(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
IConfigRegistry configRegistry)
Get the preferred height of the cell when rendered by this painter.
|
int |
getPreferredWidth(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
IConfigRegistry configRegistry)
Get the preferred width of the cell when rendered by this painter.
|
ICellPainter |
getWrappedPainter() |
org.eclipse.swt.graphics.Rectangle |
getWrappedPainterBounds(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle bounds,
IConfigRegistry configRegistry) |
void |
paintCell(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle adjustedCellBounds,
IConfigRegistry configRegistry) |
void |
setWrappedPainter(ICellPainter painter) |
public CellPainterWrapper()
public CellPainterWrapper(ICellPainter painter)
public void setWrappedPainter(ICellPainter painter)
public ICellPainter getWrappedPainter()
public org.eclipse.swt.graphics.Rectangle getWrappedPainterBounds(ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle bounds, IConfigRegistry configRegistry)
public ICellPainter getCellPainterAt(int x, int y, ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle adjustedCellBounds, IConfigRegistry configRegistry)
getCellPainterAt in interface ICellPaintergetCellPainterAt in class AbstractCellPainterpublic int getPreferredWidth(ILayerCell cell, org.eclipse.swt.graphics.GC gc, IConfigRegistry configRegistry)
ICellPainterpublic int getPreferredHeight(ILayerCell cell, org.eclipse.swt.graphics.GC gc, IConfigRegistry configRegistry)
ICellPainterpublic void paintCell(ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle adjustedCellBounds, IConfigRegistry configRegistry)
Copyright © 2013. All Rights Reserved.