Klasse DataTableBackgroundImagePainter
java.lang.Object
org.eclipse.nebula.widgets.nattable.painter.cell.AbstractCellPainter
org.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
org.deidentifier.arx.gui.view.impl.common.datatable.DataTableBackgroundImagePainter
- Alle implementierten Schnittstellen:
org.eclipse.nebula.widgets.nattable.painter.cell.ICellPainter
public class DataTableBackgroundImagePainter
extends org.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
Paints the cell background using an image. Image is repeated to cover the
background. Similar to HTML table painting.
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDataTableBackgroundImagePainter(org.eclipse.nebula.widgets.nattable.painter.cell.ICellPainter interiorPainter, org.eclipse.swt.graphics.Image bgImage, org.eclipse.swt.graphics.Color separatorColor) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintgetPreferredHeight(org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.nebula.widgets.nattable.config.IConfigRegistry configRegistry) intgetPreferredWidth(org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.nebula.widgets.nattable.config.IConfigRegistry configRegistry) voidpaintCell(org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle rectangle, org.eclipse.nebula.widgets.nattable.config.IConfigRegistry configRegistry) Von Klasse geerbte Methoden org.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
getCellPainterAt, getWrappedPainter, getWrappedPainterBounds, setWrappedPainter
-
Felddetails
-
separatorColor
public final org.eclipse.swt.graphics.Color separatorColorColor
-
-
Konstruktordetails
-
DataTableBackgroundImagePainter
public DataTableBackgroundImagePainter(org.eclipse.nebula.widgets.nattable.painter.cell.ICellPainter interiorPainter, org.eclipse.swt.graphics.Image bgImage, org.eclipse.swt.graphics.Color separatorColor) - Parameter:
interiorPainter- used for painting the cell contentsbgImage- to be used for painting the backgroundseparatorColor- to be used for drawing left and right borders for the cell. Set to null if the borders are not required.
-
-
Methodendetails
-
getPreferredHeight
public int getPreferredHeight(org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.nebula.widgets.nattable.config.IConfigRegistry configRegistry) - Angegeben von:
getPreferredHeightin Schnittstelleorg.eclipse.nebula.widgets.nattable.painter.cell.ICellPainter- Setzt außer Kraft:
getPreferredHeightin Klasseorg.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
-
getPreferredWidth
public int getPreferredWidth(org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.nebula.widgets.nattable.config.IConfigRegistry configRegistry) - Angegeben von:
getPreferredWidthin Schnittstelleorg.eclipse.nebula.widgets.nattable.painter.cell.ICellPainter- Setzt außer Kraft:
getPreferredWidthin Klasseorg.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
-
paintCell
public void paintCell(org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell cell, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle rectangle, org.eclipse.nebula.widgets.nattable.config.IConfigRegistry configRegistry) - Angegeben von:
paintCellin Schnittstelleorg.eclipse.nebula.widgets.nattable.painter.cell.ICellPainter- Setzt außer Kraft:
paintCellin Klasseorg.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper
-