Attributes
- Companion
- object
- Source
- App.scala
- Graph
-
- Supertypes
-
trait Controllabletrait Handlertrait Handlertrait Handlertrait Handlertrait Handlertrait Handlertrait Handlertrait Handlertrait Handlertrait Handlertrait Handlertrait Handlertrait LinkChildclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Runs NetLogo commands and waits for them to complete.
Runs NetLogo commands and waits for them to complete.
This method must not be called from the AWT event queue thread or while that thread is blocked. It is an error to do so.
Value parameters
- source
-
The command or commands to run
Attributes
- Throws
-
IllegalStateException
if called from the AWT event queue thread
org.nlogo.core.CompilerExceptionif the code fails to compile
- See also
-
#commandLater
- Source
- App.scala
Runs NetLogo commands in the background. Returns immediately, without waiting for the commands to finish.
Runs NetLogo commands in the background. Returns immediately, without waiting for the commands to finish.
This method may be called from any thread.
Value parameters
- source
-
The command or commands to run
Attributes
- Throws
-
org.nlogo.core.CompilerException
if the code fails to compile
- See also
-
#command
- Source
- App.scala
Recompiles the model. Useful after calling setProcedures()
.
Recompiles the model. Useful after calling setProcedures()
.
Attributes
- See also
-
#setProcedures
- Source
- App.scala
Recompiles the model after any other events in progress have finished. Useful if you interrupt a failed compile to ask the user about a workaround to try, like with a missing extension installation from the library.
Recompiles the model after any other events in progress have finished. Useful if you interrupt a failed compile to ask the user about a workaround to try, like with a missing extension installation from the library.
Attributes
- See also
-
#compile
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Returns the contents of the Code tab.
Internal use only.
Internal use only.
Internal use only.
Internal use only.
Internal use only.
Internal use only.
This is called reflectively by the mac app wrapper with the full path. This will only be called after appHandler.ready has been called.
This is called reflectively by the mac app wrapper with the full path. This will only be called after appHandler.ready has been called.
Value parameters
- path
-
the path (absolute) to the NetLogo model to open.
Attributes
- Source
- App.scala
This is called reflectively by the mac app wrapper.
This is called reflectively by the mac app wrapper.
This is called reflectively by the mac app wrapper.
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Opens a model stored in a file.
Opens a model stored in a file.
Value parameters
- path
-
the path (absolute or relative) of the NetLogo model to open.
Attributes
- Definition Classes
- Source
- App.scala
Opens a model stored in a string.
Opens a model stored in a string.
Value parameters
- name
-
Model name (will appear in the main window's title bar)
- source
-
The complete model, including widgets and so forth, in the same format as it would be stored in a file.
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Not currently supported. For now, use command
or commandLater()
instead.
Not currently supported. For now, use command
or commandLater()
instead.
Value parameters
- name
-
the button to press
Attributes
- See also
-
#command
#commandLater
- Source
- App.scala
Attributes
- Source
- App.scala
Quits NetLogo by exiting the JVM. Asks user for confirmation first if they have unsaved changes. If the user confirms, calls System.exit(0).
Quits NetLogo by exiting the JVM. Asks user for confirmation first if they have unsaved changes. If the user confirms, calls System.exit(0).
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Runs a NetLogo reporter.
Runs a NetLogo reporter.
This method must not be called from the AWT event queue thread or while that thread is blocked. It is an error to do so.
Value parameters
- source
-
The reporter to run
Attributes
- Returns
-
the result reported; may be of type java.lang.Integer, java.lang.Double, java.lang.Boolean, java.lang.String,
[[org.nlogo.core.LogoList]]
,[[org.nlogo.api.Agent]]
, AgentSet, or Nobody - Throws
-
IllegalStateException
if called from the AWT event queue thread
org.nlogo.core.CompilerExceptionif the code fails to compile
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Replaces the contents of the Code tab. Does not recompile the model.
Replaces the contents of the Code tab. Does not recompile the model.
Value parameters
- source
-
new contents
Attributes
- See also
-
#compile
- Source
- App.scala
Attributes
- Source
- App.scala
Internal use only.
Internal use only.
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Concrete fields
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala
Attributes
- Source
- App.scala