< prev index next >

modules/javafx.graphics/src/main/java/javafx/scene/input/KeyEvent.java

Print this page
rev 10443 : 8177341: Fix typos in FX API docs
Reviewed-by:

*** 111,121 **** */ public static final EventType<KeyEvent> KEY_TYPED = new EventType<KeyEvent>(KeyEvent.ANY, "KEY_TYPED"); /** ! * Constructs new KeyEvent event with null source and target and KeyCode object directly specified. * @param source the source of the event. Can be null. * @param target the target of the event. Can be null. * @param eventType The type of the event. * @param character The character or sequence of characters associated with the event * @param text A String describing the key code --- 111,121 ---- */ public static final EventType<KeyEvent> KEY_TYPED = new EventType<KeyEvent>(KeyEvent.ANY, "KEY_TYPED"); /** ! * Constructs a new {@code KeyEvent} event from the specified parameters. * @param source the source of the event. Can be null. * @param target the target of the event. Can be null. * @param eventType The type of the event. * @param character The character or sequence of characters associated with the event * @param text A String describing the key code
*** 140,150 **** this.altDown = altDown; this.metaDown = metaDown; } /** ! * Constructs new KeyEvent event with null source and target and KeyCode object directly specified. * @param eventType The type of the event. * @param character The character or sequence of characters associated with the event * @param text A String describing the key code * @param code The integer key code * @param shiftDown true if shift modifier was pressed. --- 140,151 ---- this.altDown = altDown; this.metaDown = metaDown; } /** ! * Constructs a new {@code KeyEvent} event from the specified parameters, ! * with a {@code null} source and target. * @param eventType The type of the event. * @param character The character or sequence of characters associated with the event * @param text A String describing the key code * @param code The integer key code * @param shiftDown true if shift modifier was pressed.
< prev index next >