App

org.nlogo.app.App
See theApp companion class
object App

The main class for the complete NetLogo application.

All methods in this class, including the constructor, must be called from the AWT event queue thread, unless otherwise specified.

See the "Controlling" section of the NetLogo User Manual for example code.

Attributes

Companion
class
Source
App.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
App.type

Members list

Value members

Concrete methods

def main(args: Array[String]): Unit

Should be called once at startup to create the application and start it running. May not be called more than once. Once this method has called, the singleton instance of this class is stored in app.

Should be called once at startup to create the application and start it running. May not be called more than once. Once this method has called, the singleton instance of this class is stored in app.

This method must not be called from the AWT event queue thread.

Value parameters

args

Should be empty. (Passing non-empty arguments is not currently documented.)

Attributes

Source
App.scala
def mainWithAppHandler(args: Array[String], appHandler: Object): Unit

Attributes

Source
App.scala

Concrete fields

var app: App

Attributes

Source
App.scala