public abstract class JmeSystemDelegate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
initialized |
protected java.util.logging.Logger |
logger |
protected boolean |
lowPermissions |
protected SoftTextDialogInput |
softTextDialogInput |
protected java.util.Map<JmeSystem.StorageFolderType,java.io.File> |
storageFolders |
Constructor and Description |
---|
JmeSystemDelegate() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBuildInfo() |
java.lang.String |
getFullName() |
Platform |
getPlatform() |
abstract java.net.URL |
getPlatformAssetConfigURL() |
java.net.URL |
getResource(java.lang.String name) |
java.io.InputStream |
getResourceAsStream(java.lang.String name) |
SoftTextDialogInput |
getSoftTextDialogInput() |
java.io.File |
getStorageFolder(JmeSystem.StorageFolderType type) |
abstract void |
initialize(AppSettings settings) |
boolean |
isLowPermissions() |
AssetManager |
newAssetManager() |
AssetManager |
newAssetManager(java.net.URL configFile) |
abstract AudioRenderer |
newAudioRenderer(AppSettings settings) |
abstract JmeContext |
newContext(AppSettings settings,
JmeContext.Type contextType) |
void |
setLowPermissions(boolean lowPerm) |
void |
setSoftTextDialogInput(SoftTextDialogInput input) |
abstract void |
showErrorDialog(java.lang.String message) |
abstract boolean |
showSettingsDialog(AppSettings sourceSettings,
boolean loadFromRegistry) |
abstract void |
showSoftKeyboard(boolean show) |
boolean |
trackDirectMemory() |
abstract void |
writeImageFile(java.io.OutputStream outStream,
java.lang.String format,
java.nio.ByteBuffer imageData,
int width,
int height) |
protected final java.util.logging.Logger logger
protected boolean initialized
protected boolean lowPermissions
protected java.util.Map<JmeSystem.StorageFolderType,java.io.File> storageFolders
protected SoftTextDialogInput softTextDialogInput
public java.io.File getStorageFolder(JmeSystem.StorageFolderType type)
public java.lang.String getFullName()
public java.io.InputStream getResourceAsStream(java.lang.String name)
public java.net.URL getResource(java.lang.String name)
public boolean trackDirectMemory()
public void setLowPermissions(boolean lowPerm)
public boolean isLowPermissions()
public void setSoftTextDialogInput(SoftTextDialogInput input)
public SoftTextDialogInput getSoftTextDialogInput()
public final AssetManager newAssetManager(java.net.URL configFile)
public final AssetManager newAssetManager()
public abstract void writeImageFile(java.io.OutputStream outStream, java.lang.String format, java.nio.ByteBuffer imageData, int width, int height) throws java.io.IOException
java.io.IOException
public abstract void showErrorDialog(java.lang.String message)
public abstract boolean showSettingsDialog(AppSettings sourceSettings, boolean loadFromRegistry)
public Platform getPlatform()
public java.lang.String getBuildInfo()
public abstract java.net.URL getPlatformAssetConfigURL()
public abstract JmeContext newContext(AppSettings settings, JmeContext.Type contextType)
public abstract AudioRenderer newAudioRenderer(AppSettings settings)
public abstract void initialize(AppSettings settings)
public abstract void showSoftKeyboard(boolean show)