public class SelectionLayerPainter extends GridLineCellLayerPainter
Constructor and Description |
---|
SelectionLayerPainter() |
Modifier and Type | Method and Description |
---|---|
protected void |
paintCell(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
IConfigRegistry configRegistry) |
void |
paintLayer(ILayer natLayer,
org.eclipse.swt.graphics.GC gc,
int xOffset,
int yOffset,
org.eclipse.swt.graphics.Rectangle pixelRectangle,
IConfigRegistry configRegistry) |
adjustCellBounds, drawGridLines, getGridColor
getPositionRectangleFromPixelRectangle
public void paintLayer(ILayer natLayer, org.eclipse.swt.graphics.GC gc, int xOffset, int yOffset, org.eclipse.swt.graphics.Rectangle pixelRectangle, IConfigRegistry configRegistry)
paintLayer
in interface ILayerPainter
paintLayer
in class GridLineCellLayerPainter
gc
- GC used for paintingxOffset
- of the layer from the origin of the tableyOffset
- of the layer from the origin of the tablepixelRectangle
- area the layer can paint inconfigRegistry
- in use by NatTable. Useful for looking up associated painters.protected void paintCell(ILayerCell cell, org.eclipse.swt.graphics.GC gc, IConfigRegistry configRegistry)
paintCell
in class CellLayerPainter
Copyright © 2013. All Rights Reserved.