com.jme3.system
Class JmeSystemDelegate

java.lang.Object
  extended by com.jme3.system.JmeSystemDelegate
Direct Known Subclasses:
JmeAndroidSystem, JmeDesktopSystem

public abstract class JmeSystemDelegate
extends java.lang.Object


Field Summary
protected  boolean initialized
           
protected  java.util.logging.Logger logger
           
protected  boolean lowPermissions
           
protected  SoftTextDialogInput softTextDialogInput
           
protected  java.io.File storageFolder
           
 
Constructor Summary
JmeSystemDelegate()
           
 
Method Summary
 java.lang.String getFullName()
           
 Platform getPlatform()
           
 java.net.URL getResource(java.lang.String name)
           
 java.io.InputStream getResourceAsStream(java.lang.String name)
           
 SoftTextDialogInput getSoftTextDialogInput()
           
 java.io.File getStorageFolder()
           
abstract  void initialize(AppSettings settings)
           
 boolean isLowPermissions()
           
abstract  AssetManager newAssetManager()
           
abstract  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)
           
 boolean trackDirectMemory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final java.util.logging.Logger logger

initialized

protected boolean initialized

lowPermissions

protected boolean lowPermissions

storageFolder

protected java.io.File storageFolder

softTextDialogInput

protected SoftTextDialogInput softTextDialogInput
Constructor Detail

JmeSystemDelegate

public JmeSystemDelegate()
Method Detail

getStorageFolder

public java.io.File getStorageFolder()

getFullName

public java.lang.String getFullName()

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String name)

getResource

public java.net.URL getResource(java.lang.String name)

trackDirectMemory

public boolean trackDirectMemory()

setLowPermissions

public void setLowPermissions(boolean lowPerm)

isLowPermissions

public boolean isLowPermissions()

setSoftTextDialogInput

public void setSoftTextDialogInput(SoftTextDialogInput input)

getSoftTextDialogInput

public SoftTextDialogInput getSoftTextDialogInput()

newAssetManager

public abstract AssetManager newAssetManager(java.net.URL configFile)

newAssetManager

public abstract AssetManager newAssetManager()

showErrorDialog

public abstract void showErrorDialog(java.lang.String message)

showSettingsDialog

public abstract boolean showSettingsDialog(AppSettings sourceSettings,
                                           boolean loadFromRegistry)

getPlatform

public Platform getPlatform()

newContext

public abstract JmeContext newContext(AppSettings settings,
                                      JmeContext.Type contextType)

newAudioRenderer

public abstract AudioRenderer newAudioRenderer(AppSettings settings)

initialize

public abstract void initialize(AppSettings settings)