| Modifier and Type | Field and Description |
|---|---|
| private Scene | currentEventScene
The scene for which we enabled input method events. |
| private final ChangeListener | inputMethodRequestsChangedListener
We listen for changes to the input method requests configuration on every scene in the stack. |
| private final ChangeListener | |
| private final WeakReference | rootScene
The root non-popup scene which the OS sends input method events to. |
| private final LinkedList | scenes
The scene stack including the root. |
| private final WeakChangeListener | |
| private final WeakChangeListener |
| Access | Constructor and Description |
|---|---|
| public | InputMethodStateManager(Scene
the root scene)Scene for which input methods should be enabled and disabledConstructs a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | focusOwnerChanged(Node oldFocusOwner, Node newFocusOwner)
Every Scene must call this when the focusOwner changes. |
| public void | |
| public InputMethodRequests | |
| public Scene | |
| public void | |
| private void |
| currentEventScene | back to summary |
|---|---|
| private Scene currentEventScene The scene for which we enabled input method events. | |
| inputMethodRequestsChangedListener | back to summary |
|---|---|
| private final ChangeListener<InputMethodRequests> inputMethodRequestsChangedListener We listen for changes to the input method requests configuration on every scene in the stack. | |
| onInputMethodTextChangedListener | back to summary |
|---|---|
| private final ChangeListener<EventHandler<? super InputMethodEvent>> onInputMethodTextChangedListener | |
| rootScene | back to summary |
|---|---|
| private final WeakReference<Scene> rootScene The root non-popup scene which the OS sends input method events to. | |
| scenes | back to summary |
|---|---|
| private final LinkedList<Scene> scenes The scene stack including the root. | |
| weakInputMethodRequestsChangedListener | back to summary |
|---|---|
| private final WeakChangeListener<InputMethodRequests> weakInputMethodRequestsChangedListener | |
| weakOnInputMethodTextChangedListener | back to summary |
|---|---|
| private final WeakChangeListener<EventHandler<? super InputMethodEvent>> weakOnInputMethodTextChangedListener | |
| InputMethodStateManager | back to summary |
|---|---|
| public InputMethodStateManager(Scene scene) Constructs a new instance. Only root (non-popup) scenes should do this. | |
| addScene | back to summary |
|---|---|
| public void addScene(Scene scene) Add a new Scene to the stack. | |
| focusOwnerChanged | back to summary |
|---|---|
| public void focusOwnerChanged(Node oldFocusOwner, Node newFocusOwner) Every Scene must call this when the focusOwner changes. | |
| focusOwnerWillChangeForScene | back to summary |
|---|---|
| public void focusOwnerWillChangeForScene(Scene scene) Every Scene must call this before the focusOwner changes. | |
| getInputMethodRequests | back to summary |
|---|---|
| public InputMethodRequests getInputMethodRequests() | |
| getRootScene | back to summary |
|---|---|
| public Scene getRootScene() | |
| removeScene | back to summary |
|---|---|
| public void removeScene(Scene scene) Remove a Scene from the stack. | |
| updateInputMethodEventEnableState | back to summary |
|---|---|
| private void updateInputMethodEventEnableState() | |