public class TypedEvent
extends org.eclipse.swt.internal.SWTEventObject
Event
,
Sample code and further information,
Serialized FormModifier and Type | Field and Description |
---|---|
Object |
data
a field for application use
|
Display |
display
the display where the event occurred
|
int |
time
the time that the event occurred.
|
Widget |
widget
the widget that issued the event
|
source
Constructor and Description |
---|
TypedEvent(Event e)
Constructs a new instance of this class based on the
information in the argument.
|
TypedEvent(Object object)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string containing a concise, human-readable
description of the receiver.
|
getSource
public Display display
public Widget widget
public int time
public Object data
public TypedEvent(Object object)
object
- the object that fired the eventpublic TypedEvent(Event e)
e
- the low level event to initialize the receiver withpublic String toString()
toString
in class EventObject
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.