public class RowGroupHeaderTextPainter<T> extends CellPainterWrapper
Modifier and Type | Class and Description |
---|---|
class |
RowGroupHeaderTextPainter.ExpandCollapseImagePainter |
Constructor and Description |
---|
RowGroupHeaderTextPainter(IRowGroupModel<T> rowGroupModel) |
RowGroupHeaderTextPainter(IRowGroupModel<T> rowGroupModel,
ICellPainter interiorPainter) |
Modifier and Type | Method and Description |
---|---|
int |
getPreferredWidth(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
IConfigRegistry configRegistry)
Get the preferred width of the cell when rendered by this painter.
|
getCellPainterAt, getPreferredHeight, getWrappedPainter, getWrappedPainterBounds, paintCell, setWrappedPainter
public RowGroupHeaderTextPainter(IRowGroupModel<T> rowGroupModel)
public RowGroupHeaderTextPainter(IRowGroupModel<T> rowGroupModel, ICellPainter interiorPainter)
rowGroupModel
- Column group model used by the gridinteriorPainter
- for painting the text portionpublic int getPreferredWidth(ILayerCell cell, org.eclipse.swt.graphics.GC gc, IConfigRegistry configRegistry)
ICellPainter
getPreferredWidth
in interface ICellPainter
getPreferredWidth
in class CellPainterWrapper
Copyright © 2013. All Rights Reserved.