Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
javafx.scene.web |
This package provides means for loading and displaying Web content.
|
javafx.stage |
Provides the top-level container classes for JavaFX content.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<EventHandler<? super KeyEvent>> |
Scene.onKeyPressed
Defines a function to be called when some
Node of this
Scene has input focus and a key has been pressed. |
private EventHandler<? super KeyEvent> |
SceneBuilder.onKeyPressed |
private EventHandler<? super KeyEvent> |
NodeBuilder.onKeyPressed |
private ObjectProperty<EventHandler<? super KeyEvent>> |
Scene.onKeyReleased
Defines a function to be called when some
Node of this
Scene has input focus and a key has been released. |
private EventHandler<? super KeyEvent> |
SceneBuilder.onKeyReleased |
private EventHandler<? super KeyEvent> |
NodeBuilder.onKeyReleased |
private ObjectProperty<EventHandler<? super KeyEvent>> |
Scene.onKeyTyped
Defines a function to be called when some
Node of this
Scene has input focus and a key has been typed. |
private EventHandler<? super KeyEvent> |
SceneBuilder.onKeyTyped |
private EventHandler<? super KeyEvent> |
NodeBuilder.onKeyTyped |
Modifier and Type | Method and Description |
---|---|
EventHandler<? super KeyEvent> |
Scene.getOnKeyPressed()
Gets the value of the property onKeyPressed.
|
EventHandler<? super KeyEvent> |
Node.getOnKeyPressed()
Gets the value of the property onKeyPressed.
|
EventHandler<? super KeyEvent> |
Scene.getOnKeyReleased()
Gets the value of the property onKeyReleased.
|
EventHandler<? super KeyEvent> |
Node.getOnKeyReleased()
Gets the value of the property onKeyReleased.
|
EventHandler<? super KeyEvent> |
Scene.getOnKeyTyped()
Gets the value of the property onKeyTyped.
|
EventHandler<? super KeyEvent> |
Node.getOnKeyTyped()
Gets the value of the property onKeyTyped.
|
ObjectProperty<EventHandler<? super KeyEvent>> |
Scene.onKeyPressedProperty()
Defines a function to be called when some
Node of this
Scene has input focus and a key has been pressed. |
ObjectProperty<EventHandler<? super KeyEvent>> |
Node.onKeyPressedProperty()
Defines a function to be called when this
Node or its child
Node has input focus and a key has been pressed. |
ObjectProperty<EventHandler<? super KeyEvent>> |
Scene.onKeyReleasedProperty()
Defines a function to be called when some
Node of this
Scene has input focus and a key has been released. |
ObjectProperty<EventHandler<? super KeyEvent>> |
Node.onKeyReleasedProperty()
Defines a function to be called when this
Node or its child
Node has input focus and a key has been released. |
ObjectProperty<EventHandler<? super KeyEvent>> |
Scene.onKeyTypedProperty()
Defines a function to be called when some
Node of this
Scene has input focus and a key has been typed. |
ObjectProperty<EventHandler<? super KeyEvent>> |
Node.onKeyTypedProperty()
Defines a function to be called when this
Node or its child
Node has input focus and a key has been typed. |
Modifier and Type | Method and Description |
---|---|
void |
Scene.impl_processKeyEvent(KeyEvent e)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
private void |
Scene.KeyHandler.process(KeyEvent e) |
private boolean |
Scene.DnDGesture.processKey(KeyEvent e) |
Modifier and Type | Method and Description |
---|---|
B |
SceneBuilder.onKeyPressed(EventHandler<? super KeyEvent> x)
Set the value of the
onKeyPressed property for the instance constructed by this builder. |
B |
NodeBuilder.onKeyPressed(EventHandler<? super KeyEvent> x)
Set the value of the
onKeyPressed property for the instance constructed by this builder. |
B |
SceneBuilder.onKeyReleased(EventHandler<? super KeyEvent> x)
Set the value of the
onKeyReleased property for the instance constructed by this builder. |
B |
NodeBuilder.onKeyReleased(EventHandler<? super KeyEvent> x)
Set the value of the
onKeyReleased property for the instance constructed by this builder. |
B |
SceneBuilder.onKeyTyped(EventHandler<? super KeyEvent> x)
Set the value of the
onKeyTyped property for the instance constructed by this builder. |
B |
NodeBuilder.onKeyTyped(EventHandler<? super KeyEvent> x)
Set the value of the
onKeyTyped property for the instance constructed by this builder. |
void |
Scene.setOnKeyPressed(EventHandler<? super KeyEvent> value)
Sets the value of the property onKeyPressed.
|
void |
Node.setOnKeyPressed(EventHandler<? super KeyEvent> value)
Sets the value of the property onKeyPressed.
|
void |
Scene.setOnKeyReleased(EventHandler<? super KeyEvent> value)
Sets the value of the property onKeyReleased.
|
void |
Node.setOnKeyReleased(EventHandler<? super KeyEvent> value)
Sets the value of the property onKeyReleased.
|
void |
Scene.setOnKeyTyped(EventHandler<? super KeyEvent> value)
Sets the value of the property onKeyTyped.
|
void |
Node.setOnKeyTyped(EventHandler<? super KeyEvent> value)
Sets the value of the property onKeyTyped.
|
Modifier and Type | Field and Description |
---|---|
static EventType<KeyEvent> |
KeyEvent.ANY
Common supertype for all key event types.
|
static EventType<KeyEvent> |
KeyEvent.KEY_PRESSED
This event occurs when a key has been pressed.
|
static EventType<KeyEvent> |
KeyEvent.KEY_RELEASED
This event occurs when a key has been released.
|
static EventType<KeyEvent> |
KeyEvent.KEY_TYPED
This event occurs when a key has been typed (pressed and released).
|
Modifier and Type | Method and Description |
---|---|
static KeyEvent |
KeyEvent.impl_copy(EventTarget target,
KeyEvent evt)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
static KeyEvent |
KeyEvent.impl_keyEvent(EventTarget target,
java.lang.String character,
java.lang.String text,
int code,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
EventType<? extends KeyEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
(package private) static KeyEvent |
KeyEvent.testKeyEvent(EventTarget target,
java.lang.String character,
KeyCode code,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown)
For use by unit testing
|
Modifier and Type | Method and Description |
---|---|
static KeyEvent |
KeyEvent.impl_copy(EventTarget target,
KeyEvent evt)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
boolean |
KeyCombination.match(KeyEvent event)
Tests whether this key combination matches the combination in the given
KeyEvent . |
boolean |
KeyCodeCombination.match(KeyEvent event)
Tests whether this key combination matches the key combination in the
given
KeyEvent . |
boolean |
KeyCharacterCombination.match(KeyEvent event)
Tests whether this key combination matches the key combination in the
given
KeyEvent . |
Modifier and Type | Method and Description |
---|---|
static KeyEvent |
KeyEvent.impl_keyEvent(EventTarget target,
java.lang.String character,
java.lang.String text,
int code,
boolean shiftDown,
boolean controlDown,
boolean altDown,
boolean metaDown,
EventType<? extends KeyEvent> eventType)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Constructor and Description |
---|
KeyEvent(EventType<? extends KeyEvent> eventType) |
KeyEvent(java.lang.Object source,
EventTarget target,
EventType<? extends KeyEvent> eventType) |
Modifier and Type | Method and Description |
---|---|
private void |
WebView.processKeyEvent(KeyEvent ev) |
Modifier and Type | Method and Description |
---|---|
private void |
PopupWindow.PopupEventRedirector.handleKeyEvent(KeyEvent event) |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to