|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.swt.widgets.Event
Instances of this class provide a description of a particular event which occurred within SWT. The SWT untyped listener API uses these instances for all event dispatching.
Note: For a given event, only the fields which are appropriate will be filled in. The contents of the fields which are not used by the event are unspecified.
Listener
,
TypedEvent
Field Summary | |
int |
button
|
char |
character
|
int |
count
|
Object |
data
|
int |
detail
|
Display |
display
the display where the event occurred |
boolean |
doit
|
int |
end
|
GC |
gc
|
int |
height
|
Widget |
item
|
int |
keyCode
|
int |
start
|
int |
stateMask
|
String |
text
|
int |
time
|
int |
type
the type of event, as defined by the event type constants in class SWT |
Widget |
widget
the widget that the event occurred in |
int |
width
|
int |
x
|
int |
y
|
Constructor Summary | |
Event()
|
Method Summary | |
Rectangle |
getBounds()
Gets the bounds. |
void |
setBounds(Rectangle rect)
Sets the bounds. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int type
SWT
SWT
public Display display
public Widget widget
public Widget item
public GC gc
public int detail
public int x
public int y
public int width
public int height
public int time
public int count
public int button
public int keyCode
public int stateMask
public char character
public int start
public int end
public String text
public boolean doit
public Object data
Constructor Detail |
public Event()
Method Detail |
public Rectangle getBounds()
public void setBounds(Rectangle rect)
public String toString()
toString
in class Object
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |