| org.eclipse.swt.events.TypedEvent org.eclipse.swt.events.PaintEvent
PaintEvent | final public class PaintEvent extends TypedEvent (Code) | | Instances of this class are sent as a result of
visible areas of controls requiring re-painting.
See Also: PaintListener |
Field Summary | |
public int | count | public GC | gc the graphics context to use when painting
that is configured to use the colors, font and
damaged region of the control. | public int | height | final static long | serialVersionUID | public int | width | public int | x | public int | y |
Constructor Summary | |
public | PaintEvent(Event e) Constructs a new instance of this class based on the
information in the given untyped event. |
Method Summary | |
public String | toString() Returns a string containing a concise, human-readable
description of the receiver. |
count | public int count(Code) | | the number of following paint events which
are pending which may always be zero on
some platforms
|
gc | public GC gc(Code) | | the graphics context to use when painting
that is configured to use the colors, font and
damaged region of the control. It is valid
only during the paint and must not be disposed
|
height | public int height(Code) | | the height of the bounding rectangle of the
region that requires painting
|
serialVersionUID | final static long serialVersionUID(Code) | | |
width | public int width(Code) | | the width of the bounding rectangle of the
region that requires painting
|
x | public int x(Code) | | the x offset of the bounding rectangle of the
region that requires painting
|
y | public int y(Code) | | the y offset of the bounding rectangle of the
region that requires painting
|
PaintEvent | public PaintEvent(Event e)(Code) | | Constructs a new instance of this class based on the
information in the given untyped event.
Parameters: e - the untyped event containing the information |
toString | public String toString()(Code) | | Returns a string containing a concise, human-readable
description of the receiver.
a string representation of the event |
|
|