| Modifier and Type | Field and Description |
|---|---|
| private final WindowStage | |
| private int | |
| private Window |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Void | |
| public void | handleLevelEvent(int level)
Overrides com. Notifies the listener that the window level has changed. |
| public void | handleScreenChangedEvent(Window window, long time, Screen oldScreen, Screen newScreen)
Overrides com. Notifies a listener that the screen object for this Window instance has been updated. |
| public void | handleWindowEvent(final Window window, final long time, final int type)
Overrides com.
|
| stage | back to summary |
|---|---|
| private final WindowStage stage | |
| type | back to summary |
|---|---|
| private int type | |
| window | back to summary |
|---|---|
| private Window window | |
| GlassWindowEventHandler | back to summary |
|---|---|
| public GlassWindowEventHandler(WindowStage stage) | |
| forceRepaint | back to summary |
|---|---|
| private void forceRepaint() Used to trigger a repaint after a window leaves an iconified state. | |
| get | back to summary |
|---|---|
| public Void get() Implements java. Doc from java. Gets a result.
| |
| handleLevelEvent | back to summary |
|---|---|
| public void handleLevelEvent(int level) Overrides com. Doc from com. Notifies the listener that the window level has changed. The Level should be one of
| |
| handleScreenChangedEvent | back to summary |
|---|---|
| public void handleScreenChangedEvent(Window window, long time, Screen oldScreen, Screen newScreen) Overrides com. Doc from com. Notifies a listener that the screen object for this Window instance
has been updated.
Note that while the old and new screen objects may be different,
they can still represent the same physical screen. This can happen
if e.g. only a certain parameter of the screen has been updated such
as its scale factor.
On some platforms when a window is moved to another physical screen
an app can receive this event twice. One representing the physical
screen change, and another - the display's parameters change. Note
that sending two events instead of just one is platform-specific.
The event handler can use the
| |
| handleWindowEvent | back to summary |
|---|---|
| public void handleWindowEvent(final Window window, final long time, final int type) Overrides com.
| |