|
|||||||||
| Home >> All >> org >> eclipse >> swt >> [ events overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.swt.events
Class TypedEvent

java.lang.Objectjava.util.EventObject
org.eclipse.swt.internal.SWTEventObject
org.eclipse.swt.events.TypedEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ArmEvent, ControlEvent, DisposeEvent, FocusEvent, HelpEvent, KeyEvent, MenuEvent, ModifyEvent, MouseEvent, PaintEvent, SelectionEvent, ShellEvent
- public class TypedEvent
- extends org.eclipse.swt.internal.SWTEventObject
This is the super class for all typed event classes provided by SWT. Typed events contain particular information which is applicable to the event occurance.
| Field Summary | |
java.lang.Object |
data
a field for application use |
org.eclipse.swt.widgets.Display |
display
the display where the event occurred |
int |
time
the time that the event occurred. |
org.eclipse.swt.widgets.Widget |
widget
the widget that issued the event |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
TypedEvent(org.eclipse.swt.widgets.Event e)
Constructs a new instance of this class based on the information in the argument. |
|
TypedEvent(java.lang.Object object)
Constructs a new instance of this class. |
|
| Method Summary | |
(package private) java.lang.String |
getName()
Returns the name of the event. |
java.lang.String |
toString()
Returns a string containing a concise, human-readable description of the receiver. |
| 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 |
display
public org.eclipse.swt.widgets.Display display
- the display where the event occurred
- Since:
- 2.0
widget
public org.eclipse.swt.widgets.Widget widget
- the widget that issued the event
time
public int time
- the 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.
data
public java.lang.Object data
- a field for application use
| Constructor Detail |
TypedEvent
public TypedEvent(java.lang.Object object)
- Constructs a new instance of this class.
TypedEvent
public TypedEvent(org.eclipse.swt.widgets.Event e)
- Constructs a new instance of this class based on the
information in the argument.
| Method Detail |
getName
java.lang.String getName()
- Returns the name of the event. This is the name of
the class without the package name.
toString
public java.lang.String toString()
- Returns a string containing a concise, human-readable
description of the receiver.
|
|||||||||
| Home >> All >> org >> eclipse >> swt >> [ events overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC