TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.drivers.ui.internal
Class SWTPainter.PainterEvent

java.lang.Object
  extended byorg.eclipse.tptp.platform.report.drivers.ui.internal.SWTPainter.PainterEvent
Enclosing class:
SWTPainter

public static class SWTPainter.PainterEvent
extends java.lang.Object


Field Summary
 int abs_cell_x
          location of cell in contents coordinates
 int abs_cell_y
          location of cell in contents coordinates
 TAbstractCell cell
          current cell to paint
 Rect cellClip
          clipping rectangle, intersection of paintArea and clipArea, in viewport coordinates.
 Rect clipArea
          clipping rectangle in contents coordinates (this rect. is inner of viewArea) this is the top-level clipping requested by original(system) paint event.
 boolean drawFocus
          true if the focus is required
 boolean drawSelection
          true if draw selection is required
 int end
          end index of selecton
 TCellFocusMark focus
          cell focus mark
 IGC gc
          Use this gc to paint
 IDIImageProvider iimgProvider
          The IImageProvider object used to get IImage in the document
 Rect paintArea
          paint area in viewport coordintates (cell bounds in viewport), valid after draw Cell)
 int start
          start index of selection
 IGCDStyle style
          style for cell, one create it is responsible to dispose it, see drawCell
 Rect viewArea
          viewport area in contents coordinates
 float zoom
          The zoom factor used with the display
 
Constructor Summary
SWTPainter.PainterEvent(IGC _gc, TAbstractCell _cell, float _zoom, IDIImageProvider iimgp, TCellFocusMark _focus, boolean _drawFocus, boolean _drawSelection, int _start, int _end, int _abs_cell_x, int _abs_cell_y, int vax, int vay, int vaw, int vah, int clx, int cly, int clw, int clh)
           
SWTPainter.PainterEvent(SWTPainter.PainterEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gc

public IGC gc
Use this gc to paint


zoom

public float zoom
The zoom factor used with the display


iimgProvider

public IDIImageProvider iimgProvider
The IImageProvider object used to get IImage in the document


cell

public TAbstractCell cell
current cell to paint


abs_cell_x

public int abs_cell_x
location of cell in contents coordinates


abs_cell_y

public int abs_cell_y
location of cell in contents coordinates


paintArea

public Rect paintArea
paint area in viewport coordintates (cell bounds in viewport), valid after draw Cell)


cellClip

public Rect cellClip
clipping rectangle, intersection of paintArea and clipArea, in viewport coordinates. This is the part of cell, requested to be painted. (valid after drawCell)


clipArea

public Rect clipArea
clipping rectangle in contents coordinates (this rect. is inner of viewArea) this is the top-level clipping requested by original(system) paint event. (not the intersection between top level clipping rect and cell area, see clipCell ).


style

public IGCDStyle style
style for cell, one create it is responsible to dispose it, see drawCell


viewArea

public Rect viewArea
viewport area in contents coordinates


drawSelection

public boolean drawSelection
true if draw selection is required


focus

public TCellFocusMark focus
cell focus mark


drawFocus

public boolean drawFocus
true if the focus is required


start

public int start
start index of selection


end

public int end
end index of selecton

Constructor Detail

SWTPainter.PainterEvent

public SWTPainter.PainterEvent(IGC _gc,
                               TAbstractCell _cell,
                               float _zoom,
                               IDIImageProvider iimgp,
                               TCellFocusMark _focus,
                               boolean _drawFocus,
                               boolean _drawSelection,
                               int _start,
                               int _end,
                               int _abs_cell_x,
                               int _abs_cell_y,
                               int vax,
                               int vay,
                               int vaw,
                               int vah,
                               int clx,
                               int cly,
                               int clw,
                               int clh)

SWTPainter.PainterEvent

public SWTPainter.PainterEvent(SWTPainter.PainterEvent e)

TPTP 4.2.0 Platform Project
Internal API Specification