public class CellPainterFixture extends AbstractCellPainter
Constructor and Description |
---|
CellPainterFixture() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Rectangle |
getLastPaintedBounds() |
ILayerCell |
getLastPaintedCell() |
IConfigRegistry |
getLastPaintedConfigRegistry() |
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.
|
boolean |
isPainted() |
void |
paintCell(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle bounds,
IConfigRegistry configRegistry) |
getCellPainterAt
public int getPreferredHeight(ILayerCell cell, org.eclipse.swt.graphics.GC gc, IConfigRegistry configRegistry)
ICellPainter
public int getPreferredWidth(ILayerCell cell, org.eclipse.swt.graphics.GC gc, IConfigRegistry configRegistry)
ICellPainter
public void paintCell(ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle bounds, IConfigRegistry configRegistry)
public ILayerCell getLastPaintedCell()
public org.eclipse.swt.graphics.Rectangle getLastPaintedBounds()
public IConfigRegistry getLastPaintedConfigRegistry()
public boolean isPainted()
Copyright © 2013. All Rights Reserved.