protected class CompositeLayer.CompositeLayerPainter extends Object implements ILayerPainter
| Modifier | Constructor and Description | 
|---|---|
protected  | 
CompositeLayer.CompositeLayerPainter()  | 
| 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)  | 
protected CompositeLayer.CompositeLayerPainter()
public void paintLayer(ILayer natLayer, org.eclipse.swt.graphics.GC gc, int xOffset, int yOffset, org.eclipse.swt.graphics.Rectangle rectangle, IConfigRegistry configuration)
paintLayer in interface ILayerPaintergc - 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.public org.eclipse.swt.graphics.Rectangle adjustCellBounds(int columnPosition,
                                                  int rowPosition,
                                                  org.eclipse.swt.graphics.Rectangle cellBounds)
ILayerPainteradjustCellBounds in interface ILayerPainterCopyright © 2013. All Rights Reserved.