public class GroupByHeaderPainter extends AbstractCellPainter
Constructor and Description |
---|
GroupByHeaderPainter(GroupByModel groupByModel,
IDataProvider columnHeaderDataProvider) |
Modifier and Type | Method and Description |
---|---|
int |
getGroupByColumnIndexAtXY(int x,
int y) |
int |
getPreferredHeight() |
int |
getPreferredHeight(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
IConfigRegistry configRegistry)
Get the preferred height of the cell when rendered by this painter.
|
int |
getPreferredWidth(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
IConfigRegistry configRegistry)
Get the preferred width of the cell when rendered by this painter.
|
void |
paintCell(ILayerCell cell,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle bounds,
IConfigRegistry configRegistry) |
getCellPainterAt
public GroupByHeaderPainter(GroupByModel groupByModel, IDataProvider columnHeaderDataProvider)
public void paintCell(ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle bounds, IConfigRegistry configRegistry)
public int getPreferredWidth(ILayerCell cell, org.eclipse.swt.graphics.GC gc, IConfigRegistry configRegistry)
ICellPainter
public int getPreferredHeight(ILayerCell cell, org.eclipse.swt.graphics.GC gc, IConfigRegistry configRegistry)
ICellPainter
public int getPreferredHeight()
public int getGroupByColumnIndexAtXY(int x, int y)
Copyright © 2013. All Rights Reserved.