com.sun.javafx.newt
Class InputEvent
java.lang.Object
com.sun.javafx.newt.Event
com.sun.javafx.newt.InputEvent
- Direct Known Subclasses:
- KeyEvent, MouseEvent
public abstract class InputEvent
- extends Event
Constructor Summary |
protected |
InputEvent(boolean sysEvent,
int eventType,
Window source,
long when,
int modifiers)
|
SHIFT_MASK
public static final int SHIFT_MASK
- See Also:
- Constant Field Values
CTRL_MASK
public static final int CTRL_MASK
- See Also:
- Constant Field Values
META_MASK
public static final int META_MASK
- See Also:
- Constant Field Values
ALT_MASK
public static final int ALT_MASK
- See Also:
- Constant Field Values
ALT_GRAPH_MASK
public static final int ALT_GRAPH_MASK
- See Also:
- Constant Field Values
BUTTON1_MASK
public static final int BUTTON1_MASK
- See Also:
- Constant Field Values
BUTTON2_MASK
public static final int BUTTON2_MASK
- See Also:
- Constant Field Values
BUTTON3_MASK
public static final int BUTTON3_MASK
- See Also:
- Constant Field Values
InputEvent
protected InputEvent(boolean sysEvent,
int eventType,
Window source,
long when,
int modifiers)
consume
public void consume()
isConsumed
public boolean isConsumed()
getModifiers
public int getModifiers()
isAltDown
public boolean isAltDown()
isAltGraphDown
public boolean isAltGraphDown()
isControlDown
public boolean isControlDown()
isMetaDown
public boolean isMetaDown()
isShiftDown
public boolean isShiftDown()
isButton1Down
public boolean isButton1Down()
isButton2Down
public boolean isButton2Down()
isButton3Down
public boolean isButton3Down()
toString
public String toString()
- Overrides:
toString
in class Event
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.