|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ascape.model.event.DefaultScapeListener
org.ascape.runtime.RuntimeEnvironment
org.ascape.runtime.AbstractUIEnvironment
public abstract class AbstractUIEnvironment
| Field Summary | |
|---|---|
static int |
DEBUG_RUNTIME_MODE
Symbol indicating the current runtime viewMode is setup for debug. |
static int |
RELEASE_RUNTIME_MODE
Symbol indicating the current viewMode is setup for release. |
protected int |
runtimeMode
Runtime viewMode; one of debug or release. |
| Fields inherited from class org.ascape.model.event.DefaultScapeListener |
|---|
listeningToScape, name, scape |
| Constructor Summary | |
|---|---|
AbstractUIEnvironment()
|
|
| Method Summary | |
|---|---|
ScapeCustomizer |
getCustomizer()
Gets the customizer for the ModelRoot object. |
int |
getRuntimeMode()
Returns the run time mode being used. |
abstract boolean |
isInApplet()
|
static boolean |
isRedirectConsole()
Checks if is redirect console. |
static boolean |
isShowNavigator()
Checks if is show navigator. |
abstract java.lang.String |
openDialog()
|
void |
setCustomizer(ScapeCustomizer customizer)
Sets customizer for the ModelRoot object. |
static void |
setRedirectConsole(boolean redirectConsole)
Sets the redirect console. |
void |
setRuntimeMode(int _runtimeMode)
Sets the runtime to use. |
static void |
setShowNavigator(boolean showNavigator)
Sets the show navigator. |
abstract void |
showErrorDialog(Scape scape,
java.lang.RuntimeException e)
|
| Methods inherited from class org.ascape.runtime.RuntimeEnvironment |
|---|
addView, addView, addViews, addViews, environmentQuiting, exit, getConsole, getEnvironmentViews, quit, removeView, removeViews, scapeAdded, setConsole |
| Methods inherited from class org.ascape.model.event.DefaultScapeListener |
|---|
clone, getName, getScape, isGraphic, isLifeOfScape, isNotifyScapeAutomatically, notifyScapeUpdated, scapeClosing, scapeDeserialized, scapeInitialized, scapeIterated, scapeNotification, scapeRemoved, scapeSetup, scapeStarted, scapeStopped, setName, setNotifyScapeAutomatically, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEBUG_RUNTIME_MODE
public static final int RELEASE_RUNTIME_MODE
protected int runtimeMode
| Constructor Detail |
|---|
public AbstractUIEnvironment()
| Method Detail |
|---|
public static boolean isRedirectConsole()
public static void setRedirectConsole(boolean redirectConsole)
redirectConsole - the new redirect consolepublic static boolean isShowNavigator()
public static void setShowNavigator(boolean showNavigator)
showNavigator - the new show navigatorpublic ScapeCustomizer getCustomizer()
public void setCustomizer(ScapeCustomizer customizer)
customizer - the customizerpublic abstract java.lang.String openDialog()
public int getRuntimeMode()
public void setRuntimeMode(int _runtimeMode)
_runtimeMode - the _runtime mode
public abstract void showErrorDialog(Scape scape,
java.lang.RuntimeException e)
public abstract boolean isInApplet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||