LwjglCanvas in a resizable JFrame.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv LwjglCanvas | |
| private Thread |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | LwjglFrame(ApplicationListener listener, LwjglApplicationConfiguration config, GraphicsConfiguration
May be null. graphicsConfig)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| private void | |
| public LwjglInput | |
| protected void | |
| protected void | |
| protected void | |
| protected int | |
| public LwjglCanvas | |
| protected void | |
| protected void | |
| public void | reshape(int x, int y, int width, int height)
Overrides java. Reshapes the bounding rectangle for this component. |
| public void | setHaltOnShutdown(boolean halt)
When true, |
| protected void | |
| public void |
| lwjglCanvas | back to summary |
|---|---|
| pack-priv LwjglCanvas lwjglCanvas | |
| shutdownHook | back to summary |
|---|---|
| private Thread shutdownHook | |
| LwjglFrame | back to summary |
|---|---|
| public LwjglFrame(ApplicationListener listener, String title, int width, int height) | |
| LwjglFrame | back to summary |
|---|---|
| public LwjglFrame(ApplicationListener listener, LwjglApplicationConfiguration config) | |
| LwjglFrame | back to summary |
|---|---|
public LwjglFrame(ApplicationListener listener, LwjglApplicationConfiguration config, GraphicsConfiguration graphicsConfig)
| |
| addCanvas | back to summary |
|---|---|
| protected void addCanvas() Adds the canvas to the content pane. This triggers addNotify and starts the canvas' game loop. | |
| applyCursor | back to summary |
|---|---|
| protected void applyCursor(Cursor cursor) Called to set the cursor. | |
| construct | back to summary |
|---|---|
| private void construct(ApplicationListener listener, LwjglApplicationConfiguration config) | |
| createInput | back to summary |
|---|---|
| public LwjglInput createInput(LwjglApplicationConfiguration config) | |
| creating | back to summary |
|---|---|
| protected void creating() | |
| disposed | back to summary |
|---|---|
| protected void disposed() Called after dispose is complete. | |
| exception | back to summary |
|---|---|
| protected void exception(Throwable ex) | |
| getFrameRate | back to summary |
|---|---|
| protected int getFrameRate() | |
| getLwjglCanvas | back to summary |
|---|---|
| public LwjglCanvas getLwjglCanvas() | |
| initialize | back to summary |
|---|---|
| protected void initialize() Called before the JFrame is made displayable. | |
| postedException | back to summary |
|---|---|
| protected void postedException(Throwable ex, Throwable caller) | |
| reshape | back to summary |
|---|---|
| public void reshape(int x, int y, int width, int height) Overrides java. Doc from java. Reshapes the bounding rectangle for this component. | |
| setHaltOnShutdown | back to summary |
|---|---|
| public void setHaltOnShutdown(boolean halt) When true, | |
| start | back to summary |
|---|---|
| protected void start() Called after | |
| updateSize | back to summary |
|---|---|
| public void updateSize(int width, int height) Called when the canvas size changes. | |