| org.eclipse.swt.internal.SWTEventObject org.eclipse.swt.events.TypedEvent
All known Subclasses: org.eclipse.swt.events.KeyEvent, org.eclipse.swt.events.DisposeEvent, org.eclipse.swt.custom.PaintObjectEvent, org.eclipse.swt.custom.LineBackgroundEvent, org.eclipse.swt.events.SelectionEvent, org.eclipse.swt.dnd.DragSourceEvent, org.eclipse.swt.custom.CTabFolderEvent, org.eclipse.swt.dnd.DropTargetEvent, org.eclipse.swt.events.ModifyEvent, org.eclipse.swt.browser.LocationEvent, org.eclipse.swt.custom.TextChangingEvent, org.eclipse.swt.browser.StatusTextEvent, org.eclipse.swt.events.ArmEvent, org.eclipse.swt.events.ControlEvent, org.eclipse.swt.custom.BidiSegmentEvent, org.eclipse.swt.events.ShellEvent, org.eclipse.swt.events.MenuEvent, org.eclipse.swt.events.FocusEvent, org.eclipse.swt.browser.WindowEvent, org.eclipse.swt.custom.LineStyleEvent, org.eclipse.swt.events.MouseEvent, org.eclipse.swt.events.HelpEvent, org.eclipse.swt.browser.TitleEvent, org.eclipse.swt.custom.ExtendedModifyEvent, org.eclipse.swt.custom.TextChangedEvent, org.eclipse.swt.custom.MovementEvent, org.eclipse.swt.events.PaintEvent, org.eclipse.swt.browser.ProgressEvent, org.eclipse.swt.events.MenuDetectEvent,
TypedEvent | public class TypedEvent extends SWTEventObject (Code) | | This 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: org.eclipse.swt.widgets.Event |
Constructor Summary | |
public | TypedEvent(Object object) Constructs a new instance of this class. | public | TypedEvent(Event e) Constructs a new instance of this class based on the
information in the argument. |
Method Summary | |
String | getName() Returns the name of the event. | public String | toString() Returns a string containing a concise, human-readable
description of the receiver. |
display | public Display display(Code) | | the display where the event occurred
since: 2.0 |
serialVersionUID | final static long serialVersionUID(Code) | | |
time | public int time(Code) | | 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.
|
widget | public Widget widget(Code) | | the widget that issued the event
|
TypedEvent | public TypedEvent(Object object)(Code) | | Constructs a new instance of this class.
Parameters: object - the object that fired the event |
TypedEvent | public TypedEvent(Event e)(Code) | | Constructs a new instance of this class based on the
information in the argument.
Parameters: e - the low level event to initialize the receiver with |
getName | String getName()(Code) | | Returns the name of the event. This is the name of
the class without the package name.
the name of the event |
toString | public String toString()(Code) | | Returns a string containing a concise, human-readable
description of the receiver.
a string representation of the event |
|
|