Top Description Fields Constructors Methods
org.eclipse.swt.events

public final Class VerifyEvent

extends KeyEvent
Class Inheritance
Imports
org.eclipse.swt.widgets.Event

Instances of this class are sent as a result of widgets handling keyboard events
See Also
VerifyListener, Sample code and further information

Field Summary

Modifier and TypeField and Description
public int
end

the range of text being modified.

pack-priv static final long
public int
start

the range of text being modified.

public String
text

the new text that will be inserted.

Inherited from org.eclipse.swt.events.KeyEvent:
characterdoitkeyCodekeyLocationstateMask

Constructor Summary

AccessConstructor and Description
public
VerifyEvent(Event
the untyped event containing the information
e
)

Constructs a new instance of this class based on the information in the given untyped event.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

a string representation of the event
toString
()

Overrides org.eclipse.swt.events.KeyEvent.toString.

Returns a string containing a concise, human-readable description of the receiver.

Field Detail

endback to summary
public int end

the range of text being modified. Setting these fields has no effect.

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides org.eclipse.swt.events.KeyEvent.serialVersionUID.

startback to summary
public int start

the range of text being modified. Setting these fields has no effect.

textback to summary
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.

Constructor Detail

VerifyEventback to summary
public VerifyEvent(Event e)

Constructs a new instance of this class based on the information in the given untyped event.

Parameters
e:Event

the untyped event containing the information

Method Detail

toStringback to summary
public String toString()

Overrides org.eclipse.swt.events.KeyEvent.toString.

Returns a string containing a concise, human-readable description of the receiver.

Returns:String

a string representation of the event

Annotations
@Override