public interface ILayerPainter
Device
.
Every layer has a layer painter. A layer can contribute to painting by providing its own painter.Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Rectangle |
adjustCellBounds(int columnPosition,
int rowPosition,
org.eclipse.swt.graphics.Rectangle cellBounds)
This method is used to adjust the cell bounds when painting the layer.
|
void |
paintLayer(ILayer natLayer,
org.eclipse.swt.graphics.GC gc,
int xOffset,
int yOffset,
org.eclipse.swt.graphics.Rectangle rectangle,
IConfigRegistry configuration) |
void paintLayer(ILayer natLayer, org.eclipse.swt.graphics.GC gc, int xOffset, int yOffset, org.eclipse.swt.graphics.Rectangle rectangle, IConfigRegistry configuration)
natLayer
- gc
- GC used for paintingxOffset
- of the layer from the origin of the tableyOffset
- of the layer from the origin of the tablerectangle
- area the layer can paint inconfiguration
- in use by NatTable. Useful for looking up associated painters.org.eclipse.swt.graphics.Rectangle adjustCellBounds(int columnPosition, int rowPosition, org.eclipse.swt.graphics.Rectangle cellBounds)
Copyright © 2013. All Rights Reserved.