|
 |
|
|
org.eclipse.swt.events
Class VerifyEvent
java.lang.Object
java.util.EventObject
org.eclipse.swt.internal.SWTEventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.swt.events.KeyEvent
org.eclipse.swt.events.VerifyEvent
-
All Implemented Interfaces:
-
Serializable
-
public final class VerifyEvent
- extends
KeyEvent
Instances of this class are sent as a result of
widgets handling keyboard events
-
See Also:
-
VerifyListener ,
Sample code and further information,
Serialized Form
Field Summary
|
int
|
end
the range of text being modified. |
int
|
start
the range of text being modified. |
String
|
text
the new text that will be inserted. |
Constructor Summary
|
VerifyEvent
(
Event e)
Constructs a new instance of this class based on the
information in the given untyped event. |
Method Summary
|
String
|
toString
()
Returns a string containing a concise, human-readable
description of the receiver. |
start
public int start
- the range of text being modified.
Setting these fields has no effect.
end
public int end
- the range of text being modified.
Setting these fields has no effect.
text
public
String text
- the new text that will be inserted.
Setting this field will change the text that is about to
be inserted or deleted.
VerifyEvent
public VerifyEvent(
Event e)
- Constructs a new instance of this class based on the
information in the given untyped event.
-
Parameters:
-
e - the untyped event containing the information
toString
public
String toString()
- Returns a string containing a concise, human-readable
description of the receiver.
-
-
Overrides:
-
toString
in class
KeyEvent
-
-
Returns:
- a string representation of the event
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|