Free Online Dictionary
KeyEvent
| JDK Doc(JAVA) | Download this dictionary |
KeyEvent
- class java.awt.event..KeyEvent
public class KeyEvent extends InputEvent
Tree:java.lang.Object - java.util.EventObject - java.awt.AWTEvent - java.awt.event.ComponentEvent - java.awt.event.InputEvent - java.awt.event.KeyEvent
An event which indicates that a keystroke occurred in a component.
public class KeyEvent extends InputEvent
Tree:java.lang.Object - java.util.EventObject - java.awt.AWTEvent - java.awt.event.ComponentEvent - java.awt.event.InputEvent - java.awt.event.KeyEvent
An event which indicates that a keystroke occurred in a component.
KeyEvent(Component, int, long, int, int)
- Constructor for class java.awt.event.KeyEvent
public KeyEvent (Component source, int id, long when, int modifiers, int keyCode)
public KeyEvent (Component source, int id, long when, int modifiers, int keyCode)
KeyEvent(Component, int, long, int, int, char)
- Constructor for class java.awt.event.KeyEvent
public KeyEvent (Component source, int id, long when, int modifiers, int keyCode, char keyChar)
Constructs a KeyEvent object.Parameters: source - the Component that originated the event - an integer identifying the type of eventid - an integer identifying the type of event - a long integer that specifys the time the event occurredwhen - a long integer that specifys the time the event occurred - the modifier keys down during event (shift, ctrl, alt, meta)modifiers - the modifier keys down during event (shift, ctrl, alt, meta) - the integer code for an actual key, or VK_UNDEFINED (for a key-typed event)keyCode - the integer code for an actual key, or VK_UNDEFINED (for a key-typed event) - the Unicode character generated by this event, or CHAR_UNDEFINED (for key-pressed and key-released events which do not map to a valid Unicode character)keyChar - the Unicode character generated by this event, or CHAR_UNDEFINED (for key-pressed and key-released events which do not map to a valid Unicode character)
public KeyEvent (Component source, int id, long when, int modifiers, int keyCode, char keyChar)
Constructs a KeyEvent object.Parameters: source - the Component that originated the event - an integer identifying the type of eventid - an integer identifying the type of event - a long integer that specifys the time the event occurredwhen - a long integer that specifys the time the event occurred - the modifier keys down during event (shift, ctrl, alt, meta)modifiers - the modifier keys down during event (shift, ctrl, alt, meta) - the integer code for an actual key, or VK_UNDEFINED (for a key-typed event)keyCode - the integer code for an actual key, or VK_UNDEFINED (for a key-typed event) - the Unicode character generated by this event, or CHAR_UNDEFINED (for key-pressed and key-released events which do not map to a valid Unicode character)keyChar - the Unicode character generated by this event, or CHAR_UNDEFINED (for key-pressed and key-released events which do not map to a valid Unicode character)
| KeyEvent in English
You think you have ethics...
Take the survey NOW!
