Index
All Classes|All Packages
A
- activationKey - Variable in class playn.java.JavaPlatform.Config
-
If set, toggles the activation mode when pressed.
- addDirectory(File) - Method in class playn.java.JavaAssets
-
Adds the given directory to the search path for resources.
- appName - Variable in class playn.java.JavaPlatform.Config
-
If supported by the backend and platform, configures the application's name and initial window title.
- assets() - Method in class playn.java.JavaPlatform
- audio() - Method in class playn.java.JavaPlatform
B
- BlendComposite - Class in playn.java
-
Handles non-Porter-Duff image composition.
- bufferedImage() - Method in class playn.java.JavaImage
-
Returns the
BufferedImagethat underlies this image.
C
- close() - Method in class playn.java.JavaWebSocket
- Config() - Constructor for class playn.java.JavaPlatform.Config
- convertImagesOnLoad - Variable in class playn.java.JavaPlatform.Config
-
If set, converts images into a format for fast GPU uploads when initially loaded versus doing it on demand when displayed.
- createCanvas(Scale, int, int) - Method in class playn.java.JavaGraphics
- createContext(ColorModel, ColorModel, RenderingHints) - Method in class playn.java.BlendComposite
- createGradient(Gradient.Config) - Method in class playn.java.JavaGraphics
- createPath() - Method in class playn.java.JavaGraphics
- createPattern(boolean, boolean) - Method in class playn.java.JavaImage
- createSound(JavaAssets.Resource, boolean) - Method in class playn.java.JavaAudio
-
Creates a sound instance from the audio data available via
in. - createWebSocket(String, Net.WebSocket.Listener) - Method in class playn.java.JavaNet
D
- derive(float) - Method in class playn.java.BlendComposite
-
Returns a derived composite with the specified alpha.
- draw(Object, float, float, float, float) - Method in class playn.java.JavaImage
- draw(Object, float, float, float, float, float, float, float, float) - Method in class playn.java.JavaImage
E
- emulateTouch - Variable in class playn.java.JavaPlatform.Config
-
If set, emulates Touch and disables Mouse.
- exec() - Method in class playn.java.JavaPlatform
F
- fullscreen - Variable in class playn.java.JavaPlatform.Config
-
Whether or not to run the game in fullscreen mode.
G
- getBytesSync(String) - Method in class playn.java.JavaAssets
- getFont(String) - Method in class playn.java.JavaAssets
-
Loads a Java font from
path. - getMusic(String) - Method in class playn.java.JavaAssets
- getPathPrefix() - Method in class playn.java.JavaAssets
-
Returns the currently configured path prefix.
- getRemoteImage(String, int, int) - Method in class playn.java.JavaAssets
- getRgb(int, int, int, int, int[], int, int) - Method in class playn.java.JavaImage
- getSound(String) - Method in class playn.java.JavaAssets
- getTextSync(String) - Method in class playn.java.JavaAssets
- graphics() - Method in class playn.java.JavaPlatform
- graphics() - Method in class playn.java.JavaPlatform.Headless
H
- hasHardwareKeyboard() - Method in class playn.java.JavaInput
- hasMouse() - Method in class playn.java.JavaInput
- hasTouch() - Method in class playn.java.JavaInput
- Headless(JavaPlatform.Config) - Constructor for class playn.java.JavaPlatform.Headless
- height - Variable in class playn.java.JavaPlatform.Config
-
The height of the PlayN window, in pixels.
I
- input() - Method in class playn.java.JavaPlatform.Headless
- input() - Method in class playn.java.JavaPlatform
J
- JavaAssets - Class in playn.java
-
Loads Java assets via the classpath.
- JavaAssets(JavaPlatform) - Constructor for class playn.java.JavaAssets
-
Creates a new java assets.
- JavaAudio - Class in playn.java
- JavaAudio(Exec) - Constructor for class playn.java.JavaAudio
- JavaBitmapTransformer - Interface in playn.java
-
Enables the transformation of Java image bitmaps.
- JavaGraphics - Class in playn.java
- JavaImage - Class in playn.java
- JavaImage(Graphics, Scale, BufferedImage, String) - Constructor for class playn.java.JavaImage
- JavaImage(JavaPlatform, boolean, int, int, String) - Constructor for class playn.java.JavaImage
- JavaInput - Class in playn.java
- JavaInput(JavaPlatform) - Constructor for class playn.java.JavaInput
- JavaNet - Class in playn.java
- JavaNet(JavaPlatform) - Constructor for class playn.java.JavaNet
- JavaPlatform - Class in playn.java
-
Implements the base Java platform which is then shared by LWJGL, LWJGL+SWT, and JOGL implementations.
- JavaPlatform(JavaPlatform.Config) - Constructor for class playn.java.JavaPlatform
- JavaPlatform.Config - Class in playn.java
-
Defines JavaPlatform configurable parameters.
- JavaPlatform.Headless - Class in playn.java
- JavaWebSocket - Class in playn.java
- JavaWebSocket(Exec, String, Net.WebSocket.Listener) - Constructor for class playn.java.JavaWebSocket
- json() - Method in class playn.java.JavaPlatform
L
- layoutText(String, TextFormat) - Method in class playn.java.JavaGraphics
- layoutText(String, TextFormat, TextWrap) - Method in class playn.java.JavaGraphics
- log() - Method in class playn.java.JavaPlatform
M
- Multiply - Static variable in class playn.java.BlendComposite
-
A blend composite that yields [ Sa * Da, Sc * Dc].
N
- net() - Method in class playn.java.JavaPlatform
O
- openURL(String) - Method in class playn.java.JavaPlatform
P
- pivotKey - Variable in class playn.java.JavaPlatform.Config
-
If {link #emulateTouch} is set, sets the pivot for a two-finger touch when pressed.
- playn.java - package playn.java
- postKey(long, Key, boolean, char, int) - Method in class playn.java.JavaInput
-
Posts a key event received from elsewhere (i.e.
R
- registerFont(String, Font) - Method in class playn.java.JavaGraphics
-
Registers a font with the graphics system.
S
- send(String) - Method in class playn.java.JavaWebSocket
- send(ByteBuffer) - Method in class playn.java.JavaWebSocket
- setAssetScale(float) - Method in class playn.java.JavaAssets
-
Configures the default scale to use for assets.
- setPathPrefix(String) - Method in class playn.java.JavaAssets
-
Configures the prefix prepended to asset paths before fetching them from the classpath.
- setRgb(int, int, int, int, int[], int, int) - Method in class playn.java.JavaImage
- setSize(int, int, boolean) - Method in class playn.java.JavaGraphics
-
Changes the size of the PlayN window.
- setTitle(String) - Method in class playn.java.JavaPlatform
-
Sets the title of the window to
title. - start() - Method in class playn.java.JavaPlatform
-
Starts the game loop.
- storage() - Method in class playn.java.JavaPlatform
- storageFileName - Variable in class playn.java.JavaPlatform.Config
-
Dictates the name of the temporary file used by
JavaStorage.
T
- tick() - Method in class playn.java.JavaPlatform
- time() - Method in class playn.java.JavaPlatform
- toString() - Method in class playn.java.JavaImage
- transform(BufferedImage) - Method in interface playn.java.JavaBitmapTransformer
-
Transforms the supplied buffered image into a new buffered image which will be used as the source data for a new PlayN image.
- transform(Image.BitmapTransformer) - Method in class playn.java.JavaImage
- truePause - Variable in class playn.java.JavaPlatform.Config
-
Stop processing frames while the app is "inactive", to better emulate iOS.
- type() - Method in class playn.java.JavaPlatform
W
- width - Variable in class playn.java.JavaPlatform.Config
-
The width of the PlayN window, in pixels.
All Classes|All Packages