public abstract class TreeCheckBoxPainter extends ImagePainter
| Constructor and Description |
|---|
TreeCheckBoxPainter() |
TreeCheckBoxPainter(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 abstract CheckBoxStateEnum |
getCheckBoxState(ILayerCell cell) |
protected org.eclipse.swt.graphics.Image |
getImage(ILayerCell cell,
IConfigRegistry configRegistry) |
int |
getPreferredHeight(boolean checked) |
int |
getPreferredWidth(boolean checked) |
void |
paintIconImage(org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle rectangle,
int yOffset,
boolean checked) |
getCellPainterAt, getPreferredHeight, getPreferredWidth, paintCellgetBackgroundColourgetWrappedPainter, getWrappedPainterBounds, setWrappedPainterpublic TreeCheckBoxPainter()
public TreeCheckBoxPainter(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 ImagePainterprotected abstract CheckBoxStateEnum getCheckBoxState(ILayerCell cell)
Copyright © 2013. All Rights Reserved.