Package org.eclipse.swt.events
Class VerifyEvent
java.lang.Object
java.util.EventObject
org.eclipse.swt.events.TypedEvent
org.eclipse.swt.events.KeyEvent
org.eclipse.swt.events.VerifyEvent
- All Implemented Interfaces:
Serializable
Instances of this class are sent as a result of
widgets handling keyboard events
-
Field Summary
Modifier and TypeFieldDescriptionint
the range of text being modified.int
the range of text being modified.the new text that will be inserted.Fields inherited from class org.eclipse.swt.events.KeyEvent
character, doit, keyCode, keyLocation, stateMask
Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionVerifyEvent
(Event e) Constructs a new instance of this class based on the information in the given untyped event. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
start
public int startthe range of text being modified. Setting these fields has no effect. -
end
public int endthe range of text being modified. Setting these fields has no effect. -
text
the new text that will be inserted. Setting this field will change the text that is about to be inserted or deleted.
-
-
Constructor Details
-
VerifyEvent
Constructs a new instance of this class based on the information in the given untyped event.- Parameters:
e
- the untyped event containing the information
-
-
Method Details