Package org.eclipse.swt.custom
Class PaintObjectEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.eclipse.swt.events.TypedEvent
-
- org.eclipse.swt.custom.PaintObjectEvent
-
- All Implemented Interfaces:
Serializable
public class PaintObjectEvent extends TypedEvent
This event is sent when an object needs to be drawn.- Since:
- 3.2
- See Also:
- Sample code and further information, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
ascent
the line ascentBullet
bullet
the Bulletint
bulletIndex
the bullet indexint
descent
the line descentGC
gc
the GCStyleRange
style
the StyleRangeint
x
the x locationint
y
the y location-
Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description PaintObjectEvent(org.eclipse.swt.custom.StyledTextEvent e)
Constructs a new instance of this class based on the information in the given event.
-
-
-
Field Detail
-
gc
public GC gc
the GC
-
x
public int x
the x location
-
y
public int y
the y location
-
ascent
public int ascent
the line ascent
-
descent
public int descent
the line descent
-
style
public StyleRange style
the StyleRange
-
bullet
public Bullet bullet
the Bullet
-
bulletIndex
public int bulletIndex
the bullet index
-
-