public interface IApplication
extends java.lang.Runnable
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy this application
|
void |
exit()
Destroy this application and exit
|
Point |
getAppLocation() |
Size |
getAppSize() |
FullscreenMode |
getFullscreenMode() |
ISceneTarget |
getSceneTarget() |
void |
init(ISceneTarget sceneTarget,
ApplicationSettings settings)
Initialize this
IApplication with the specified ISceneTarget. |
void |
setAppLocation(Point location) |
void |
setAppSize(Size size) |
void |
setFullscreenMode(FullscreenMode fullscreenMode) |
void |
setTitle(java.lang.String title) |
void init(ISceneTarget sceneTarget, ApplicationSettings settings)
IApplication with the specified ISceneTarget.ISceneTarget getSceneTarget()
ISceneTargetISceneTarget,
ISceneTarget.getScene()void setTitle(java.lang.String title)
title - the title (window bar title)void setAppSize(Size size)
size - the size of the application window (or applet)Size getAppSize()
void setAppLocation(Point location)
location - the location of the application window (or applet)Point getAppLocation()
void setFullscreenMode(FullscreenMode fullscreenMode)
fullscreenMode - a FullscreenMode for fullscreen or null for window'ed/applet modeFullscreenMode getFullscreenMode()
void destroy()
void exit()
Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com