public class CheckBoxPainter extends ImagePainter
| Constructor and Description |
|---|
CheckBoxPainter() |
CheckBoxPainter(org.eclipse.swt.graphics.Image checkedImg,
org.eclipse.swt.graphics.Image uncheckedImg) |
| Modifier and Type | Method and Description |
|---|---|
protected Boolean |
convertDataType(ILayerCell cell,
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, paintCellgetBackgroundColourgetWrappedPainter, getWrappedPainterBounds, setWrappedPainterpublic CheckBoxPainter()
public CheckBoxPainter(org.eclipse.swt.graphics.Image checkedImg,
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 ImagePainterprotected boolean isChecked(ILayerCell cell, IConfigRegistry configRegistry)
protected Boolean convertDataType(ILayerCell cell, IConfigRegistry configRegistry)
Copyright © 2013. All Rights Reserved.