Class FilterRowPainter
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.painter.cell.AbstractCellPainter
-
- org.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
-
- org.eclipse.nebula.widgets.nattable.filterrow.FilterRowPainter
-
- All Implemented Interfaces:
ICellPainter
public class FilterRowPainter extends CellPainterWrapper
Painter that is used to paint the cells of the filter row. In detail it is aTextPainter
that is wrapped and decorated with anImagePainter
to indicate filter states.
-
-
Constructor Summary
Constructors Constructor Description FilterRowPainter()
Creates aFilterRowPainter
that uses the defaultFilterIconPainter
.FilterRowPainter(ImagePainter filterIconPainter)
Creates aFilterRowPainter
that uses the givenImage
as filter icon painter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImagePainter
getFilterIconPainter()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
getCellPainterAt, getPreferredHeight, getPreferredWidth, getWrappedPainter, getWrappedPainterBounds, paintCell, setWrappedPainter
-
-
-
-
Constructor Detail
-
FilterRowPainter
public FilterRowPainter()
Creates aFilterRowPainter
that uses the defaultFilterIconPainter
.
-
FilterRowPainter
public FilterRowPainter(ImagePainter filterIconPainter)
Creates aFilterRowPainter
that uses the givenImage
as filter icon painter.- Parameters:
filterIconPainter
- TheImagePainter
that should be used to paint the icon in the filter row cells.
-
-
Method Detail
-
getFilterIconPainter
public ImagePainter getFilterIconPainter()
- Returns:
- The
ImagePainter
that is used to paint the icon in the filter row cells.
-
-