Eclipse Draw2d
2.1

org.eclipse.draw2d
Class InputEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.eclipse.draw2d.InputEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
KeyEvent, MouseEvent

public abstract class InputEvent
extends EventObject

See Also:
Serialized Form

Field Summary
static int ALT
           
static int ANY_BUTTON
           
static int BUTTON1
           
static int BUTTON2
           
static int BUTTON3
           
static int CONTROL
           
static int SHIFT
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InputEvent(EventDispatcher dispatcher, IFigure source, int state)
           
 
Method Summary
 void consume()
           
 int getState()
           
 boolean isConsumed()
           
 
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

ALT

public static final int ALT
See Also:
Constant Field Values

CONTROL

public static final int CONTROL
See Also:
Constant Field Values

SHIFT

public static final int SHIFT
See Also:
Constant Field Values

BUTTON1

public static final int BUTTON1
See Also:
Constant Field Values

BUTTON2

public static final int BUTTON2
See Also:
Constant Field Values

BUTTON3

public static final int BUTTON3
See Also:
Constant Field Values

ANY_BUTTON

public static final int ANY_BUTTON
See Also:
Constant Field Values
Constructor Detail

InputEvent

public InputEvent(EventDispatcher dispatcher,
                  IFigure source,
                  int state)
Method Detail

consume

public void consume()

getState

public int getState()

isConsumed

public boolean isConsumed()

Eclipse Draw2d
2.1

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