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 Controllable

Source
App.scala
Linear Supertypes
Controllable, 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. ModelSections
  7. Handler
  8. Handler
  9. Handler
  10. Handler
  11. Handler
  12. Handler
  13. Handler
  14. LinkChild
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new App()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var _fileManager: FileManager
  5. def additionalSections: Seq[ModelSaveable]
    Definition Classes
    App → ModelSections
  6. var aggregateManager: AggregateManagerInterface
  7. lazy val allActions: Seq[Action]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. var colorDialog: ColorDialog
  11. 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

  12. 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

  13. def compile(): Unit

    Recompiles the model.

    Recompiles the model. Useful after calling setProcedures().

    See also

    #setProcedures

  14. var dirtyMonitor: DirtyMonitor
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def fileManager: FileManager
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. val frame: AppFrame
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def getLinkParent(): AppFrame
    Definition Classes
    App → LinkChild
  22. def getProcedures: String

    Returns the contents of the Code tab.

    Returns the contents of the Code tab.

    returns

    contents of Code tab

  23. def handle(t: Throwable): Unit

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  31. def handle(e: ZoomedEvent): Unit
    Definition Classes
    App → Handler
  32. 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.

  33. def handleQuit(): Unit

    This is called reflectively by the mac app wrapper.

  34. def handleShowAbout(): Unit

    This is called reflectively by the mac app wrapper.

  35. def handleShowPreferences(): Unit

    This is called reflectively by the mac app wrapper.

  36. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. def info: String
    Definition Classes
    App → ModelSections
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. val isMac: Boolean
  40. var labManager: LabManagerInterface
  41. def libraryOpen(path: String): Unit
    Annotations
    @throws( classOf[java.io.IOException] )
  42. def linkShapes: Seq[LinkShape]
    Definition Classes
    App → ModelSections
  43. def linkShapesManager: ShapesManagerInterface
  44. 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

  45. var menuBar: MenuBar
  46. lazy val modelingCommons: ModelingCommonsInterface
  47. var monitorManager: AgentMonitorManager
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. def open(path: String): 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] )
  52. lazy val openAboutDialog: ShowAboutWindow
  53. lazy val openColorDialog: OpenColorDialog
  54. def openFromSource(source: String, path: String, modelType: ModelType): Unit
  55. 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.

  56. lazy val openPreferencesDialog: ShowPreferencesDialog
  57. lazy val owner: SimpleJobOwner
  58. 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

    #commandLater

    #command

  59. def procedureSource: String
    Definition Classes
    App → ModelSections
  60. 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] )
  61. var recentFilesMenu: RecentFilesMenu
  62. 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

  63. def resetZoom(): Unit
  64. def selectTab(number: Int): Unit

    Switches tabs.

    Switches tabs.

    number

    which tab to switch to. 0 is the Interface tab, 1 the Info tab, 2 the Code tab, 3 the Errors tab.

  65. def setFileManager(manager: FileManager): Unit
  66. def setMenuBar(menuBar: MenuBar): Unit
  67. 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

  68. def showAboutWindow(): Unit

    Internal use only.

  69. def showPreferencesDialog(): Unit

    Internal use only.

  70. def smartPack(targetSize: Dimension, allowShrink: Boolean): Unit
  71. def startLogging(properties: String): Unit
  72. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  73. def tabs: Tabs
  74. def toString(): String
    Definition Classes
    AnyRef → Any
  75. def turtleShapes: Seq[VectorShape]
    Definition Classes
    App → ModelSections
  76. def turtleShapesManager: ShapesManagerInterface
  77. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  79. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  80. def widgets: Seq[Widget]
    Definition Classes
    App → ModelSections
  81. def workspace: GUIWorkspace

Inherited from Controllable

Inherited from Handler

Inherited from Handler

Inherited from Handler

Inherited from ModelSections

Inherited from Handler

Inherited from Handler

Inherited from Handler

Inherited from Handler

Inherited from Handler

Inherited from Handler

Inherited from Handler

Inherited from LinkChild

Inherited from AnyRef

Inherited from Any

Ungrouped