public class PercentageBarDecorator extends CellPainterWrapper
Modifier and Type | Field and Description |
---|---|
static ConfigAttribute<org.eclipse.swt.graphics.Color> |
PERCENTAGE_BAR_COMPLETE_REGION_END_COLOR |
static ConfigAttribute<org.eclipse.swt.graphics.Color> |
PERCENTAGE_BAR_COMPLETE_REGION_START_COLOR |
static ConfigAttribute<org.eclipse.swt.graphics.Color> |
PERCENTAGE_BAR_INCOMPLETE_REGION_COLOR |
Constructor and Description |
---|
PercentageBarDecorator(ICellPainter interiorPainter) |
Modifier and Type | Method and Description |
---|---|
void |
paintCell(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle rectangle,
IConfigRegistry configRegistry) |
getCellPainterAt, getPreferredHeight, getPreferredWidth, getWrappedPainter, getWrappedPainterBounds, setWrappedPainter
public static final ConfigAttribute<org.eclipse.swt.graphics.Color> PERCENTAGE_BAR_COMPLETE_REGION_START_COLOR
public static final ConfigAttribute<org.eclipse.swt.graphics.Color> PERCENTAGE_BAR_COMPLETE_REGION_END_COLOR
public static final ConfigAttribute<org.eclipse.swt.graphics.Color> PERCENTAGE_BAR_INCOMPLETE_REGION_COLOR
public PercentageBarDecorator(ICellPainter interiorPainter)
public void paintCell(ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle rectangle, IConfigRegistry configRegistry)
paintCell
in interface ICellPainter
paintCell
in class CellPainterWrapper
Copyright © 2013. All Rights Reserved.