| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv Lwjgl3Graphics. | |
| pack-priv Color | |
| pack-priv boolean | |
| pack-priv Lwjgl3Graphics. | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv Files. | |
| pack-priv String[] | |
| pack-priv Lwjgl3WindowListener | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | setAutoIconify(boolean
whether the window should automatically iconify and restore previous video mode on input focus loss.
(default true) Does nothing in windowed mode. autoIconify)
|
| public void | setDecorated(boolean
whether the windowed mode window is decorated, i.e. displaying the title bars (default true) decorated)
|
| public void | |
| public void | |
| public void | |
| public void | setMaximized(boolean
whether the window starts maximized. Ignored if the window is full screen. (default false) maximized)
|
| public void | |
| public void | |
| public void | |
| pack-priv void | |
| public void | setWindowedMode(int
the width of the window (default 640) width, int the height of the window (default 480) height)Sets the app to use windowed mode. |
| public void | setWindowIcon(String...
One or more internal image paths. Must be JPEG, PNG, or BMP format. The one
closest to the system's desired size will be scaled. Good sizes include 16x16, 32x32 and 48x48. filePaths)Sets the icon that will be used in the window's title bar. |
| public void | setWindowIcon(Files.
The type of file handle the paths are relative to. fileType,One or more image paths, relative to the given FileType. Must be JPEG, PNG, or BMP format. The
one closest to the system's desired size will be scaled. Good sizes include 16x16, 32x32 and 48x48. filePaths)Sets the icon that will be used in the window's title bar. |
| public void | setWindowListener(Lwjgl3WindowListener windowListener)
Sets the |
| public void | |
| public void | setWindowSizeLimits(int minWidth, int minHeight, int maxWidth, int maxHeight)
Sets minimum and maximum size limits for the window. |
| public void |
| autoIconify | back to summary |
|---|---|
| pack-priv boolean autoIconify | |
| fullscreenMode | back to summary |
|---|---|
| pack-priv Lwjgl3Graphics. | |
| initialBackgroundColor | back to summary |
|---|---|
| pack-priv Color initialBackgroundColor | |
| initialVisible | back to summary |
|---|---|
| pack-priv boolean initialVisible | |
| maximizedMonitor | back to summary |
|---|---|
| pack-priv Lwjgl3Graphics. | |
| title | back to summary |
|---|---|
| pack-priv String title | |
| vSyncEnabled | back to summary |
|---|---|
| pack-priv boolean vSyncEnabled | |
| windowDecorated | back to summary |
|---|---|
| pack-priv boolean windowDecorated | |
| windowHeight | back to summary |
|---|---|
| pack-priv int windowHeight | |
| windowIconFileType | back to summary |
|---|---|
| pack-priv Files. | |
| windowIconPaths | back to summary |
|---|---|
| pack-priv String[] windowIconPaths | |
| windowListener | back to summary |
|---|---|
| pack-priv Lwjgl3WindowListener windowListener | |
| windowMaxHeight | back to summary |
|---|---|
| pack-priv int windowMaxHeight | |
| windowMaximized | back to summary |
|---|---|
| pack-priv boolean windowMaximized | |
| windowMaxWidth | back to summary |
|---|---|
| pack-priv int windowMaxWidth | |
| windowMinHeight | back to summary |
|---|---|
| pack-priv int windowMinHeight | |
| windowMinWidth | back to summary |
|---|---|
| pack-priv int windowMinWidth | |
| windowResizable | back to summary |
|---|---|
| pack-priv boolean windowResizable | |
| windowWidth | back to summary |
|---|---|
| pack-priv int windowWidth | |
| windowX | back to summary |
|---|---|
| pack-priv int windowX | |
| windowY | back to summary |
|---|---|
| pack-priv int windowY | |
| Lwjgl3WindowConfiguration | back to summary |
|---|---|
| public Lwjgl3WindowConfiguration() | |
| setAutoIconify | back to summary |
|---|---|
public void setAutoIconify(boolean autoIconify)
| |
| setDecorated | back to summary |
|---|---|
public void setDecorated(boolean decorated)
| |
| setFullscreenMode | back to summary |
|---|---|
| public void setFullscreenMode(Graphics. Sets the app to use fullscreen mode. Use the static methods like | |
| setInitialBackgroundColor | back to summary |
|---|---|
| public void setInitialBackgroundColor(Color color) Sets the initial background color. Defaults to black. | |
| setInitialVisible | back to summary |
|---|---|
public void setInitialVisible(boolean visibility)
| |
| setMaximized | back to summary |
|---|---|
public void setMaximized(boolean maximized)
| |
| setMaximizedMonitor | back to summary |
|---|---|
| public void setMaximizedMonitor(Graphics. | |
| setResizable | back to summary |
|---|---|
public void setResizable(boolean resizable)
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Sets the window title. If null, the application listener's class name is used. | |
| setWindowConfiguration | back to summary |
|---|---|
| pack-priv void setWindowConfiguration(Lwjgl3WindowConfiguration config) | |
| setWindowedMode | back to summary |
|---|---|
| public void setWindowedMode(int width, int height) Sets the app to use windowed mode.
| |
| setWindowIcon | back to summary |
|---|---|
| public void setWindowIcon(String... filePaths) Sets the icon that will be used in the window's title bar. Has no effect in macOS, which doesn't use window icons. | |
| setWindowIcon | back to summary |
|---|---|
| public void setWindowIcon(Files. Sets the icon that will be used in the window's title bar. Has no effect in macOS, which doesn't use window icons. | |
| setWindowListener | back to summary |
|---|---|
| public void setWindowListener(Lwjgl3WindowListener windowListener) Sets the | |
| setWindowPosition | back to summary |
|---|---|
| public void setWindowPosition(int x, int y) Sets the position of the window in windowed mode. Default -1 for both coordinates for centered on primary monitor. | |
| setWindowSizeLimits | back to summary |
|---|---|
| public void setWindowSizeLimits(int minWidth, int minHeight, int maxWidth, int maxHeight) Sets minimum and maximum size limits for the window. If the window is full screen or not resizable, these limits are ignored. The default for all four parameters is -1, which means unrestricted. | |
| useVsync | back to summary |
|---|---|
| public void useVsync(boolean vsync) Sets whether to use vsync. This setting can be changed anytime at runtime via | |