|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectplayn.java.JavaPlatform.Config
public static class JavaPlatform.Config
Defines JavaPlatform configurable parameters.
| Field Summary | |
|---|---|
boolean |
emulateTouch
If set, emulates Touch and disables Mouse. |
boolean |
headless
Configures platform in headless mode; useful for unit testing. |
int |
height
The height of the PlayN window, in pixels. |
float |
scaleFactor
The graphics scale factor. |
String |
storageFileName
Dictates the name of the temporary file used by JavaStorage. |
int |
width
The width of the PlayN window, in pixels. |
| Constructor Summary | |
|---|---|
JavaPlatform.Config()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public float scaleFactor
public boolean headless
public String storageFileName
JavaStorage. Configure this if you
want to run multiple sessions without overwriting one another's storage.
public int width
public int height
public boolean emulateTouch
| Constructor Detail |
|---|
public JavaPlatform.Config()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||