org.eclipse.swt.custom
Class PaintObjectEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.swt.internal.SWTEventObject
          extended by org.eclipse.swt.events.TypedEvent
              extended by org.eclipse.swt.custom.PaintObjectEvent
All Implemented Interfaces:
java.io.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
 int ascent
          the line ascent
 Bullet bullet
          the Bullet
 int bulletIndex
          the bullet index
 int descent
          the line descent
 GC gc
          the GC
 StyleRange style
          the StyleRange
 int x
          the x location
 int 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
PaintObjectEvent(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

Constructor Detail

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