com.jme3.system
Class JmeSystem

java.lang.Object
  extended by com.jme3.system.JmeSystem

public class JmeSystem
extends java.lang.Object


Constructor Summary
JmeSystem()
           
 
Method Summary
static java.lang.String getFullName()
           
static Platform getPlatform()
           
static java.net.URL getResource(java.lang.String name)
           
static java.io.InputStream getResourceAsStream(java.lang.String name)
           
static SoftTextDialogInput getSoftTextDialogInput()
           
static java.io.File getStorageFolder()
           
static void initialize(AppSettings settings)
           
static boolean isLowPermissions()
           
static AssetManager newAssetManager()
           
static AssetManager newAssetManager(java.net.URL configFile)
           
static AudioRenderer newAudioRenderer(AppSettings settings)
           
static JmeContext newContext(AppSettings settings, JmeContext.Type contextType)
           
static void setLowPermissions(boolean lowPerm)
           
static void setSoftTextDialogInput(SoftTextDialogInput input)
           
static void setSystemDelegate(JmeSystemDelegate systemDelegate)
           
static void showErrorDialog(java.lang.String message)
          Displays an error message to the user in whichever way the context feels is appropriate.
static boolean showSettingsDialog(AppSettings sourceSettings, boolean loadFromRegistry)
           
static boolean trackDirectMemory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmeSystem

public JmeSystem()
Method Detail

setSystemDelegate

public static void setSystemDelegate(JmeSystemDelegate systemDelegate)

getStorageFolder

public static java.io.File getStorageFolder()

getFullName

public static java.lang.String getFullName()

getResourceAsStream

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

getResource

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

trackDirectMemory

public static boolean trackDirectMemory()

setLowPermissions

public static void setLowPermissions(boolean lowPerm)

isLowPermissions

public static boolean isLowPermissions()

setSoftTextDialogInput

public static void setSoftTextDialogInput(SoftTextDialogInput input)

getSoftTextDialogInput

public static SoftTextDialogInput getSoftTextDialogInput()

newAssetManager

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

newAssetManager

public static AssetManager newAssetManager()

showSettingsDialog

public static boolean showSettingsDialog(AppSettings sourceSettings,
                                         boolean loadFromRegistry)

getPlatform

public static Platform getPlatform()

newContext

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

newAudioRenderer

public static AudioRenderer newAudioRenderer(AppSettings settings)

showErrorDialog

public static void showErrorDialog(java.lang.String message)
Displays an error message to the user in whichever way the context feels is appropriate. If this is a headless or an offscreen surface context, this method should do nothing.

Parameters:
message - The error message to display. May contain new line characters.

initialize

public static void initialize(AppSettings settings)