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
    Modifizierer und Typ
    Feld
    Beschreibung
    final org.eclipse.swt.graphics.Color
    Color
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    DataTableBackgroundImagePainter(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 Typ
    Methode
    Beschreibung
    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)
     
    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)
     
    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)
     

    Von Klasse geerbte Methoden org.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper

    getCellPainterAt, getWrappedPainter, getWrappedPainterBounds, setWrappedPainter

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • separatorColor

      public final org.eclipse.swt.graphics.Color separatorColor
      Color
  • 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 contents
      bgImage - to be used for painting the background
      separatorColor - 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:
      getPreferredHeight in Schnittstelle org.eclipse.nebula.widgets.nattable.painter.cell.ICellPainter
      Setzt außer Kraft:
      getPreferredHeight in Klasse org.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:
      getPreferredWidth in Schnittstelle org.eclipse.nebula.widgets.nattable.painter.cell.ICellPainter
      Setzt außer Kraft:
      getPreferredWidth in Klasse org.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:
      paintCell in Schnittstelle org.eclipse.nebula.widgets.nattable.painter.cell.ICellPainter
      Setzt außer Kraft:
      paintCell in Klasse org.eclipse.nebula.widgets.nattable.painter.cell.CellPainterWrapper