org.ascape.model
Class ModelRoot

java.lang.Object
  extended by org.ascape.runtime.Runner
      extended by org.ascape.runtime.swing.SwingRunner
          extended by org.ascape.model.ModelRoot
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable

public class ModelRoot
extends SwingRunner

Implementation of ModelRunner for swing based applications. retained for backward compatability, but also ensures that models developed for one type of UI -- non-swing for example -- can be executed on other UIs without implementation changes.

Author:
milesparker
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ascape.runtime.Runner
environment
 
Constructor Summary
ModelRoot()
           
 
Method Summary
static Scape open(java.lang.String modelName)
          Constructs, creates and runs the supplied model.
 
Methods inherited from class org.ascape.runtime.swing.SwingRunner
closeAndOpenSavedFinally, main, notify, openImplementation, saveChoose, write
 
Methods inherited from class org.ascape.runtime.Runner
assignEnvironmentParameters, close, closeAndOpenNew, closeAndOpenNewFinally, closeAndOpenSaved, closeFinally, createEnvironment, exit, getData, getDescription, getEarliestPeriod, getEnvironment, getHome, getHTMLDescription, getIteration, getLatestPeriod, getModelThread, getPausePeriod, getPeriod, getPeriodName, getRestartingViews, getRootScape, getStartPeriod, getStopPeriod, initialize, instanceFromName, isAutoRestart, isBeginningDeserializedRun, isCloseAndOpenNewRequested, isCloseAndOpenSavedRequested, isCloseRequested, isDisplayGraphics, isInMainLoop, isMultiWinEnvironment, isOpenRequested, isPaused, isQuitRequested, isRestartRequested, isRunning, isSaveRequested, isServeGraphics, isStartOnOpen, isStep, isValidPeriod, launch, open, open, open, open, open, open, open, open, open, open, open, openChoose, openChoose, openInstance, openSavedChoose, openSavedRun, openSavedRun, openSavedRun, pause, quit, quitFinally, requestRestart, respondControl, restart, resume, run, run, runMainLoop, save, setAutoRestart, setBeginningDeserializedRun, setCloseAndOpenNewRequested, setCloseAndOpenSavedRequested, setCloseRequested, setDescription, setDisplayGraphics, setEarliestPeriod, setEnvironment, setHome, setHTMLDescription, setInMainLoop, setInternalRunning, setIteration, setLatestPeriod, setMultiWinEnvironment, setOpenRequested, setPaused, setPausePeriod, setPeriod, setPeriodName, setQuitRequested, setRestartingViews, setRestartRequested, setRootScape, setRunning, setSaveRequested, setServeGraphics, setStartOnOpen, setStartPeriod, setStep, setStopPeriod, start, stop, testRun, waitForViewsUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelRoot

public ModelRoot()
Method Detail

open

public static Scape open(java.lang.String modelName)
Constructs, creates and runs the supplied model.

Parameters:
modelName - the fully qualified name of the Java class for the model's root scape


Copyright © 1998-2008 The Brookings Institution, NuTech Solutions, Metascape, LLC All Rights Reserved.