Lwjgl3WindowListener. Derive from this class and only overwrite the methods you are
interested in.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | closeRequested()
Implements com. Called when the user requested to close the window, e.g. clicking the close button or pressing the window closing keyboard shortcut. |
| public void | created(Lwjgl3Window window)
Implements com. Called after the GLFW window is created. |
| public void | filesDropped(String[] files)
Implements com. Called when external files are dropped into the window, e.g from the Desktop. |
| public void | focusGained()
Implements com. Called when the window gained focus. |
| public void | focusLost()
Implements com. Called when the window lost focus to another window. |
| public void | iconified(boolean isIconified)
Implements com. Called when the window is iconified (i.e. its minimize button was clicked), or when restored from the iconified state. |
| public void | maximized(boolean isMaximized)
Implements com. Called when the window is maximized, or restored from the maximized state. |
| public void | refreshRequested()
Implements com. Called when the window content is damaged and needs to be refreshed. |
| Lwjgl3WindowAdapter | back to summary |
|---|---|
| public Lwjgl3WindowAdapter() | |
| closeRequested | back to summary |
|---|---|
| public boolean closeRequested() Implements com. Doc from com. Called when the user requested to close the window, e.g. clicking the close button or pressing the window closing keyboard shortcut.
| |
| created | back to summary |
|---|---|
| public void created(Lwjgl3Window window) Implements com. Doc from com. Called after the GLFW window is created. Before this callback is received, it's unsafe to use any
| |
| filesDropped | back to summary |
|---|---|
| public void filesDropped(String[] files) Implements com. Doc from com. Called when external files are dropped into the window, e.g from the Desktop.
| |
| focusGained | back to summary |
|---|---|
| public void focusGained() Implements com. Doc from com. Called when the window gained focus.
| |
| focusLost | back to summary |
|---|---|
| public void focusLost() Implements com. Doc from com. Called when the window lost focus to another window. The window's
| |
| iconified | back to summary |
|---|---|
| public void iconified(boolean isIconified) Implements com. Doc from com. Called when the window is iconified (i.e. its minimize button was clicked), or when restored from the iconified state. When
a window becomes iconified, its
| |
| maximized | back to summary |
|---|---|
| public void maximized(boolean isMaximized) Implements com. Doc from com. Called when the window is maximized, or restored from the maximized state.
| |
| refreshRequested | back to summary |
|---|---|
| public void refreshRequested() Implements com. Doc from com. Called when the window content is damaged and needs to be refreshed. When this occurs,
| |