|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.swt.widgets.Event
Unsafe:
Field Summary | |
int |
button
Suppressed: the button that was pressed or released; 1 for the first button, 2 for the second button, and 3 for the third button, etc. |
char |
character
Suppressed: depending on the event, the character represented by the key that was typed. |
int |
count
Suppressed: the number of following paint events which are pending which may always be zero on some platforms |
Object |
data
Suppressed: a field for application use |
int |
detail
Suppressed: the event specific detail field, as defined by the detail constants in class SWT |
Display |
display
Suppressed: the display where the event occurred |
boolean |
doit
Suppressed: depending on the event, a flag indicating whether the operation should be allowed. |
int |
end
Suppressed: depending on the event, the range of text being modified. |
GC |
gc
Suppressed: the graphics context to use when painting that is configured to use the colors, font and damaged region of the control. |
int |
height
Suppressed: the height of the bounding rectangle of the region that requires painting |
Widget |
item
Suppressed: the item that the event occurred in (can be null) |
int |
keyCode
Suppressed: depending on the event, the key code of the key that was typed, as defined by the key code constants in class SWT . |
int |
start
Suppressed: depending on the event, the range of text being modified. |
int |
stateMask
Suppressed: depending on the event, the state of the keyboard modifier keys and mouse masks at the time the event was generated. |
String |
text
Suppressed: depending on the event, the new text that will be inserted. |
int |
time
Suppressed: the time that the event occurred. |
int |
type
Suppressed: the type of event, as defined by the event type constants in class SWT |
Widget |
widget
Suppressed: the widget that issued the event |
int |
width
Suppressed: the width of the bounding rectangle of the region that requires painting |
int |
x
Suppressed: depending on the event type, the x offset of the bounding rectangle of the region that requires painting or the widget-relative, x coordinate of the pointer at the time the mouse button was pressed or released |
int |
y
Suppressed: depending on the event type, the y offset of the bounding rectangle of the region that requires painting or the widget-relative, y coordinate of the pointer at the time the mouse button was pressed or released |
Constructor Summary | |
Event()
Suppressed: |
Method Summary | |
Rectangle |
getBounds()
Suppressed: Gets the bounds. |
void |
setBounds(Rectangle rect)
Suppressed: Sets the bounds. |
String |
toString()
Suppressed: 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 Display display
public Widget widget
public int type
SWT
org.eclipse.swt.SWT
public int detail
SWT
org.eclipse.swt.SWT
public Widget item
public GC gc
public int x
public int y
public int width
public int height
public int count
public int time
public int button
public char character
public int keyCode
SWT
.
When the character field of the event is ambiguous, this field
contains the unicode value of the original character. For example,
typing Ctrl+M or Return both result in the character '\r' but the
keyCode field will also contain '\r' when Return was typed.
org.eclipse.swt.SWT
public int stateMask
org.eclipse.swt.SWT
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
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |