Class ComboBoxPainter
java.lang.Object
org.eclipse.nebula.widgets.nattable.painter.cell.AbstractCellPainter
org.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
org.eclipse.nebula.widgets.nattable.painter.cell.ComboBoxPainter
- All Implemented Interfaces:
ICellPainter
-
Constructor Summary
ConstructorDescriptionCreate a newComboBoxPainter
with the default image.ComboBoxPainter
(boolean invertIcons) Create a newComboBoxPainter
with the default image.ComboBoxPainter
(org.eclipse.swt.graphics.Image comboImage) Create a newComboBoxPainter
with the givenImage
as the image marking the cell as a combo control. -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
getCellPainterAt, getPreferredHeight, getPreferredWidth, getWrappedPainter, getWrappedPainterBounds, paintCell, setWrappedPainter
-
Constructor Details
-
ComboBoxPainter
public ComboBoxPainter()Create a newComboBoxPainter
with the default image. -
ComboBoxPainter
public ComboBoxPainter(boolean invertIcons) Create a newComboBoxPainter
with the default image.- Parameters:
invertIcons
- Specify whether the default icons should be used (black triangles) or if inverted icons should be used (white triangles).- Since:
- 1.4
-
ComboBoxPainter
public ComboBoxPainter(org.eclipse.swt.graphics.Image comboImage) Create a newComboBoxPainter
with the givenImage
as the image marking the cell as a combo control.- Parameters:
comboImage
- The image marking the cell as a combo control
-