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
This event is sent when an object needs to be drawn.
- Since:
- 3.2
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
the line ascentthe Bulletint
the bullet indexint
the line descentthe GCthe StyleRangeint
the x locationint
the y locationFields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionPaintObjectEvent
(org.eclipse.swt.custom.StyledTextEvent e) Constructs a new instance of this class based on the information in the given event. -
Method Summary
Methods inherited from class org.eclipse.swt.events.TypedEvent
toString
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
gc
the GC -
x
public int xthe x location -
y
public int ythe y location -
ascent
public int ascentthe line ascent -
descent
public int descentthe line descent -
style
the StyleRange -
bullet
the Bullet -
bulletIndex
public int bulletIndexthe bullet index
-
-
Constructor Details
-
PaintObjectEvent
public PaintObjectEvent(org.eclipse.swt.custom.StyledTextEvent e) Constructs a new instance of this class based on the information in the given event.- Parameters:
e
- the event containing the information
-