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.
- Source
- App.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- App
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- var app: App
- var logger: Logger
-
def
main(args: Array[String]): Unit
Should be called once at startup to create the application and start it running.
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.
- args
Should be empty. (Passing non-empty arguments is not currently documented.)
- def mainWithAppHandler(args: Array[String], appHandler: AnyRef): Unit