- All Implemented Interfaces:
- Direct Known Subclasses:
public class TypedEvent extends EventObjectThis is the super class for all typed event classes provided by SWT. Typed events contain particular information which is applicable to the event occurrence.
- See Also:
Event, Sample code and further information, Serialized Form
Constructors Constructor Description
TypedEvent(Object object)Constructs a new instance of this class.
TypedEvent(Event e)Constructs a new instance of this class based on the information in the argument.
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
toString()Returns a string containing a concise, human-readable description of the receiver.
Methods inherited from class java.util.EventObject
public Display displaythe display where the event occurred
public Widget widgetthe widget that issued the event
public int timethe time that the event occurred. NOTE: This field is an unsigned integer and should be AND'ed with 0xFFFFFFFFL so that it can be treated as a signed long.
public Object dataa field for application use
public TypedEvent(Object object)Constructs a new instance of this class.
object- the object that fired the event
public TypedEvent(Event e)Constructs a new instance of this class based on the information in the argument.
e- the low level event to initialize the receiver with
public String toString()Returns a string containing a concise, human-readable description of the receiver.
- a string representation of the event