public class MockJmeSystemDelegate extends JmeSystemDelegate
initialized, logger, lowPermissions, softTextDialogInput, storageFolders
Constructor and Description |
---|
MockJmeSystemDelegate() |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getPlatformAssetConfigURL() |
void |
initialize(AppSettings settings) |
AudioRenderer |
newAudioRenderer(AppSettings settings) |
JmeContext |
newContext(AppSettings settings,
JmeContext.Type contextType) |
void |
showErrorDialog(java.lang.String message) |
boolean |
showSettingsDialog(AppSettings sourceSettings,
boolean loadFromRegistry) |
void |
showSoftKeyboard(boolean show) |
void |
writeImageFile(java.io.OutputStream outStream,
java.lang.String format,
java.nio.ByteBuffer imageData,
int width,
int height) |
getBuildInfo, getFullName, getPlatform, getResource, getResourceAsStream, getSoftTextDialogInput, getStorageFolder, isLowPermissions, newAssetManager, newAssetManager, setLowPermissions, setSoftTextDialogInput, trackDirectMemory
public void writeImageFile(java.io.OutputStream outStream, java.lang.String format, java.nio.ByteBuffer imageData, int width, int height) throws java.io.IOException
writeImageFile
in class JmeSystemDelegate
java.io.IOException
public void showErrorDialog(java.lang.String message)
showErrorDialog
in class JmeSystemDelegate
public boolean showSettingsDialog(AppSettings sourceSettings, boolean loadFromRegistry)
showSettingsDialog
in class JmeSystemDelegate
public java.net.URL getPlatformAssetConfigURL()
getPlatformAssetConfigURL
in class JmeSystemDelegate
public JmeContext newContext(AppSettings settings, JmeContext.Type contextType)
newContext
in class JmeSystemDelegate
public AudioRenderer newAudioRenderer(AppSettings settings)
newAudioRenderer
in class JmeSystemDelegate
public void initialize(AppSettings settings)
initialize
in class JmeSystemDelegate
public void showSoftKeyboard(boolean show)
showSoftKeyboard
in class JmeSystemDelegate