public class ColumnHeaderCheckBoxPainter extends ImagePainter
Constructor and Description |
---|
ColumnHeaderCheckBoxPainter(IUniqueIndexLayer columnDataLayer) |
ColumnHeaderCheckBoxPainter(IUniqueIndexLayer columnLayer,
org.eclipse.swt.graphics.Image checkedImg,
org.eclipse.swt.graphics.Image semicheckedImage,
org.eclipse.swt.graphics.Image uncheckedImg) |
Modifier and Type | Method and Description |
---|---|
protected Boolean |
convertDataType(ILayerCell cell,
IConfigRegistry configRegistry) |
int |
getCheckedCellsCount(int columnPosition,
IConfigRegistry configRegistry) |
protected org.eclipse.swt.graphics.Image |
getImage(ILayerCell cell,
IConfigRegistry configRegistry) |
int |
getPreferredHeight(boolean checked) |
int |
getPreferredWidth(boolean checked) |
protected boolean |
isChecked(ILayerCell cell,
IConfigRegistry configRegistry) |
void |
paintIconImage(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle rectangle,
int yOffset,
boolean checked) |
getCellPainterAt, getPreferredHeight, getPreferredWidth, paintCell
getBackgroundColour
getWrappedPainter, getWrappedPainterBounds, setWrappedPainter
public ColumnHeaderCheckBoxPainter(IUniqueIndexLayer columnDataLayer)
public ColumnHeaderCheckBoxPainter(IUniqueIndexLayer columnLayer, org.eclipse.swt.graphics.Image checkedImg, org.eclipse.swt.graphics.Image semicheckedImage, org.eclipse.swt.graphics.Image uncheckedImg)
public int getPreferredWidth(boolean checked)
public int getPreferredHeight(boolean checked)
public void paintIconImage(org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle rectangle, int yOffset, boolean checked)
protected org.eclipse.swt.graphics.Image getImage(ILayerCell cell, IConfigRegistry configRegistry)
getImage
in class ImagePainter
public int getCheckedCellsCount(int columnPosition, IConfigRegistry configRegistry)
protected boolean isChecked(ILayerCell cell, IConfigRegistry configRegistry)
protected Boolean convertDataType(ILayerCell cell, IConfigRegistry configRegistry)
Copyright © 2013. All Rights Reserved.