Skip navigation links
A B C D E F G H I J K L M N O P R S T W 

A

activationKey - Variable in class playn.java.JavaPlatform.Config
If set, toggles the activation mode when pressed.
addCallback(Callback<? super Image>) - Method in class playn.java.JavaAsyncImage
 
addCallback(Callback<? super Image>) - Method in class playn.java.JavaStaticImage
 
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 BufferedImage that 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.
convertImagesOnLoad - Variable in class playn.java.JavaPlatform
 
createContext(ColorModel, ColorModel, RenderingHints) - Method in class playn.java.BlendComposite
 
createFont(String, Font.Style, float) - Method in class playn.java.JavaGraphics
 
createImage(float, float) - Method in class playn.java.JavaGraphics
 
createLinearGradient(float, float, float, float, int[], float[]) - Method in class playn.java.JavaGraphics
 
createRadialGradient(float, float, float, int[], float[]) - Method in class playn.java.JavaGraphics
 
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
 
ctx() - Method in class playn.java.JavaGraphics
 

D

derive(float) - Method in class playn.java.BlendComposite
Returns a derived composite with the specified alpha.
draw(Graphics2D, float, float, float, float) - Method in class playn.java.JavaImage
 
draw(Graphics2D, 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.
extractLibrary(String, String) - Method in class playn.java.SharedLibraryExtractor
Extracts the specified library into the specified temp directory (if it has not already been extracted thereto, or if the CRC does not match).

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
 
getMusic(String) - Method in class playn.java.JavaAssets
 
getPathPrefix() - Method in class playn.java.JavaAssets
Returns the currently configured path prefix.
getRemoteImage(String, float, float) - 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
 
getText(Keyboard.TextType, String, String, Callback<String>) - Method in class playn.java.JavaLWJGLKeyboard
 
getTextSync(String) - Method in class playn.java.JavaAssets
 
gl20() - Method in class playn.java.JavaGraphics
 
graphics() - Method in class playn.java.JavaPlatform
 

H

hasHardwareKeyboard() - Method in class playn.java.JavaKeyboard
 
hasTouch() - Method in class playn.java.JavaEmulatedTouch
 
headless - Variable in class playn.java.JavaPlatform.Config
Configures platform in headless mode; useful for unit testing.
height() - Method in class playn.java.JavaAsyncImage
 
height() - Method in class playn.java.JavaImage
 
height - Variable in class playn.java.JavaPlatform.Config
The height of the PlayN window, in pixels.

I

invokeAsync(Runnable) - Method in class playn.java.JavaPlatform
 
isReady() - Method in class playn.java.JavaImage
 

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.
JavaAsyncImage - Class in playn.java
 
JavaAsyncImage(GLContext, float, float) - Constructor for class playn.java.JavaAsyncImage
 
JavaAudio - Class in playn.java
 
JavaAudio(JavaPlatform) - Constructor for class playn.java.JavaAudio
 
JavaBitmapTransformer - Interface in playn.java
Enables the transformation of Java image bitmaps.
JavaEmulatedTouch - Class in playn.java
Implements touches using a special customized JavaMouse mouse.
JavaEmulatedTouch() - Constructor for class playn.java.JavaEmulatedTouch
 
JavaGLContext - Class in playn.java
 
JavaGLContext(JavaPlatform, float) - Constructor for class playn.java.JavaGLContext
 
JavaGraphics - Class in playn.java
 
JavaGraphics(JavaPlatform, JavaPlatform.Config) - Constructor for class playn.java.JavaGraphics
 
JavaImage - Class in playn.java
 
JavaImage(GLContext, BufferedImage, Scale) - Constructor for class playn.java.JavaImage
 
JavaKeyboard - Class in playn.java
 
JavaKeyboard() - Constructor for class playn.java.JavaKeyboard
 
JavaLWJGLKeyboard - Class in playn.java
 
JavaLWJGLKeyboard() - Constructor for class playn.java.JavaLWJGLKeyboard
 
JavaNet - Class in playn.java
 
JavaNet(JavaPlatform, int) - Constructor for class playn.java.JavaNet
 
JavaPlatform - Class in playn.java
 
JavaPlatform(JavaPlatform.Config) - Constructor for class playn.java.JavaPlatform
 
JavaPlatform.Config - Class in playn.java
Defines JavaPlatform configurable parameters.
JavaStaticImage - Class in playn.java
 
JavaStaticImage(GLContext, BufferedImage, Scale) - Constructor for class playn.java.JavaStaticImage
 
JavaWebSocket - Class in playn.java
 
JavaWebSocket(Platform, String, Net.WebSocket.Listener, int) - Constructor for class playn.java.JavaWebSocket
 
json() - Method in class playn.java.JavaPlatform
 

K

keyboard() - 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
 
listener() - Method in class playn.java.JavaKeyboard
 

M

mouse() - Method in class playn.java.JavaPlatform
 
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
 
pointer() - Method in class playn.java.JavaPlatform
 
post(Key, boolean, char) - Method in class playn.java.JavaKeyboard
Posts a key event received from elsewhere (i.e.

R

random() - Method in class playn.java.JavaPlatform
 
register() - Static method in class playn.java.JavaPlatform
Registers the Java platform with a default configuration.
register(JavaPlatform.Config) - Static method in class playn.java.JavaPlatform
Registers the Java platform with the specified configuration.
registerFont(String, String) - Method in class playn.java.JavaGraphics
Registers a font with the graphics system.
rootLayer() - Method in class playn.java.JavaGraphics
 
run(Game) - Method in class playn.java.JavaPlatform
 

S

scaleFactor - Variable in class playn.java.JavaPlatform.Config
The graphics scale factor.
screenHeight() - Method in class playn.java.JavaGraphics
 
screenWidth() - Method in class playn.java.JavaGraphics
 
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.
setError(Throwable) - Method in class playn.java.JavaAsyncImage
 
setImage(BufferedImage, Scale) - Method in class playn.java.JavaAsyncImage
 
setListener(Keyboard.Listener) - Method in class playn.java.JavaKeyboard
 
setPathPrefix(String) - Method in class playn.java.JavaAssets
Configures the prefix prepended to asset paths before fetching them from the classpath.
setPropagateEvents(boolean) - Method in class playn.java.JavaPlatform
 
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.
SharedLibraryExtractor - Class in playn.java
Extracts shared libraries from a natives jar file.
SharedLibraryExtractor() - Constructor for class playn.java.SharedLibraryExtractor
 
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
 
toPattern() - Method in class playn.java.JavaImage
 
touch() - Method in class playn.java.JavaPlatform
 
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() - Method in class playn.java.JavaAsyncImage
 
width() - Method in class playn.java.JavaImage
 
width - Variable in class playn.java.JavaPlatform.Config
The width of the PlayN window, in pixels.
wsDraft - Variable in class playn.java.JavaPlatform.Config
Configure the web socket RFC draft number: 10, 17, 75 or 76
A B C D E F G H I J K L M N O P R S T W 
Skip navigation links

Copyright © 2015. All Rights Reserved.