class App extends LinkChild with Handler with Handler with Handler with Handler with Handler with Handler with ModelSections with Handler with Handler with Handler with Handler with Controllable

Source
App.scala
Linear Supertypes
Controllable, Handler, Handler, Handler, Handler, ModelSections, Handler, Handler, Handler, Handler, Handler, Handler, Handler, LinkChild, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. App
  2. Controllable
  3. Handler
  4. Handler
  5. Handler
  6. Handler
  7. ModelSections
  8. Handler
  9. Handler
  10. Handler
  11. Handler
  12. Handler
  13. Handler
  14. Handler
  15. LinkChild
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new App()

Value Members

  1. var _fileManager: FileManager
  2. def additionalSections: Seq[ModelSaveable]
    Definition Classes
    App → ModelSections
  3. var aggregateManager: AggregateManagerInterface
  4. lazy val allActions: Seq[Action]
  5. def askForName(): String
  6. def codeTabsPanel: CodeTabsPanel
  7. def command(source: String): Unit

    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.

    source

    The command or commands to run

    Definition Classes
    AppControllable
    Annotations
    @throws( classOf[CompilerException] )
    Exceptions thrown

    IllegalStateException if called from the AWT event queue thread

    org.nlogo.core.CompilerException if the code fails to compile

    See also

    #commandLater

  8. def commandLater(source: String): Unit

    Runs NetLogo commands in the background.

    Runs NetLogo commands in the background. Returns immediately, without waiting for the commands to finish.

    This method may be called from any thread.

    source

    The command or commands to run

    Annotations
    @throws( classOf[CompilerException] )
    Exceptions thrown

    org.nlogo.core.CompilerException if the code fails to compile

    See also

    #command

  9. def compile(): Unit

    Recompiles the model.

    Recompiles the model. Useful after calling setProcedures().

    See also

    #setProcedures

  10. def compileLater(): Unit

    Recompiles the model after any other events in progress have finished.

    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.

    See also

    #compile

  11. var dirtyMonitor: DirtyMonitor
  12. def fileManager: FileManager
  13. val frame: AppFrame
  14. def getFrame: AppFrame
  15. def getLinkParent(): AppFrame
    Definition Classes
    App → LinkChild
  16. def getMonitorManager: AgentMonitorManager
  17. def getProcedures: String

    Returns the contents of the Code tab.

    Returns the contents of the Code tab.

    returns

    contents of Code tab

  18. def handle(t: Throwable): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    AppHandler
  19. def handle(e: AboutToQuitEvent): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  20. def handle(e: LoadEndEvent): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  21. def handle(e: BeforeLoadEvent): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  22. def handle(e: LoadBeginEvent): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  23. def handle(e: ModelSavedEvent): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  24. def handle(e: OpenLibrariesDialogEvent): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  25. final def handle(e: SwitchedTabsEvent): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  26. def handle(e: AppEvent): Unit

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  27. def handle(e: ZoomedEvent): Unit
    Definition Classes
    App → Handler
  28. def handleOpenPath(path: String): Unit

    This is called reflectively by the mac app wrapper with the full path.

    This is called reflectively by the mac app wrapper with the full path. This will only be called after appHandler.ready has been called.

    path

    the path (absolute) to the NetLogo model to open.

  29. def handleQuit(): Unit

    This is called reflectively by the mac app wrapper.

  30. def handleShowAbout(): Unit

    This is called reflectively by the mac app wrapper.

  31. def handleShowPreferences(): Unit

    This is called reflectively by the mac app wrapper.

  32. def info: String
    Definition Classes
    App → ModelSections
  33. val isMac: Boolean
  34. var labManager: LabManagerInterface
  35. def libraryOpen(path: String): Unit
    Annotations
    @throws( classOf[java.io.IOException] )
  36. def linkShapes: Seq[LinkShape]
    Definition Classes
    App → ModelSections
  37. def linkShapesManager: ShapesManagerInterface
  38. def makeWidget(text: String): Unit

    Adds new widget to Interface tab given its specification, in the same (undocumented) format found in a saved model.

    Adds new widget to Interface tab given its specification, in the same (undocumented) format found in a saved model.

    text

    the widget specification

  39. var menuBar: MenuBar
  40. lazy val modelingCommons: ModelingCommonsInterface
  41. var monitorManager: AgentMonitorManager
  42. def open(path: String, shouldAutoInstallLibs: Boolean = false): Unit

    Opens a model stored in a file.

    Opens a model stored in a file.

    path

    the path (absolute or relative) of the NetLogo model to open.

    Definition Classes
    AppControllable
    Annotations
    @throws( classOf[java.io.IOException] )
  43. lazy val openAboutDialog: ShowAboutWindow
  44. lazy val openColorDialog: OpenColorDialog
  45. def openFromSource(source: String, path: String, modelType: ModelType): Unit
  46. def openFromSource(name: String, source: String): Unit

    Opens a model stored in a string.

    Opens a model stored in a string.

    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.

  47. lazy val openLibrariesDialog: OpenLibrariesDialog
  48. lazy val openPreferencesDialog: ShowPreferencesDialog
  49. lazy val owner: SimpleJobOwner
  50. def pressButton(name: String): Unit

    Not currently supported.

    Not currently supported. For now, use command or commandLater() instead.

    name

    the button to press

    See also

    #command

    #commandLater

  51. def procedureSource: String
    Definition Classes
    App → ModelSections
  52. def quit(): Unit

    Quits NetLogo by exiting the JVM.

    Quits NetLogo by exiting the JVM. Asks user for confirmation first if they have unsaved changes. If the user confirms, calls System.exit(0).

    Annotations
    @throws( classOf[UserCancelException] )
  53. var recentFilesMenu: RecentFilesMenu
  54. def report(source: String): AnyRef

    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.

    source

    The reporter to run

    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

    Definition Classes
    AppControllable
    Annotations
    @throws( classOf[CompilerException] )
    Exceptions thrown

    IllegalStateException if called from the AWT event queue thread

    org.nlogo.core.CompilerException if the code fails to compile

  55. def resetZoom(): Unit
  56. def setFileManager(manager: FileManager): Unit
  57. def setMenuBar(menuBar: MenuBar): Unit
  58. def setProcedures(source: String): Unit

    Replaces the contents of the Code tab.

    Replaces the contents of the Code tab. Does not recompile the model.

    source

    new contents

    See also

    #compile

  59. def showAboutWindow(): Unit

    Internal use only.

  60. def showPreferencesDialog(): Unit

    Internal use only.

  61. def smartPack(targetSize: Dimension, allowShrink: Boolean): Unit
  62. def tabManager: AppTabManager
  63. def tabs: Tabs
  64. def turtleShapes: Seq[VectorShape]
    Definition Classes
    App → ModelSections
  65. def turtleShapesManager: ShapesManagerInterface
  66. def widgets: Seq[Widget]
    Definition Classes
    App → ModelSections
  67. def workspace: GUIWorkspace