java.lang.Object
org.eclipse.nebula.widgets.nattable.painter.cell.BorderPainter

public class BorderPainter extends Object
Draws borders based on a 2D array of BorderPainter.BorderCell and styled accordingly to a BorderStyle.
Since:
1.5
Author:
Loris Securo
  • Field Details

  • Constructor Details

  • Method Details

    • paintBorder

      public void paintBorder(org.eclipse.swt.graphics.GC gc)
    • getLineValuesLeft

      protected BorderPainter.LineValues getLineValuesLeft(int ix, int iy)
    • getLineValuesRight

      protected BorderPainter.LineValues getLineValuesRight(int ix, int iy)
    • getLineValuesTop

      protected BorderPainter.LineValues getLineValuesTop(int ix, int iy)
    • getLineValuesBottom

      protected BorderPainter.LineValues getLineValuesBottom(int ix, int iy)
    • drawLineLeft

      protected void drawLineLeft(org.eclipse.swt.graphics.GC gc, int ix, int iy)
    • drawLineRight

      protected void drawLineRight(org.eclipse.swt.graphics.GC gc, int ix, int iy)
    • drawLineTop

      protected void drawLineTop(org.eclipse.swt.graphics.GC gc, int ix, int iy)
    • drawLineBottom

      protected void drawLineBottom(org.eclipse.swt.graphics.GC gc, int ix, int iy)
    • isInside

      protected boolean isInside(int ix, int iy)
    • isValid

      protected boolean isValid(int ix, int iy)