Eclipse Platform
2.0

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, Serialized Form

Field Summary
 boolean doit
          a flag indicating whether the operation should be allowed
 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
 
Fields inherited from class org.eclipse.swt.events.KeyEvent
character, keyCode, stateMask
 
Fields inherited from class org.eclipse.swt.events.TypedEvent
data, display, time, widget
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
VerifyEvent(Event e)
          Constructs a new instance of this class based on the information in the given untyped event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

start

public int start
the range of text being modified


end

public int end
the range of text being modified


text

public String text
the new text that will be inserted


doit

public boolean doit
a flag indicating whether the operation should be allowed

Constructor Detail

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

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.