NetLogo 6.2.2 - org.nlogo.app.App
Keywords: NetLogo 6.2.2 org.nlogo.app.App

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package app
  Definition Classes
    nlogo
-  package codetab
  Definition Classes
    app
-  package common
  Definition Classes
    app
-  package infotab
  Definition Classes
    app
-  package interfacetab
  Definition Classes
    app
-  package tools
  Definition Classes
    app
- AboutWindow
- AbstractTabsPanel
- Adapters
- App
- AppControlSet
- AppFrame
- AppTabManager
- CodeTabContainer
- CodeTabsPanel
- ConvertIncludeFile
- DirtyMonitor
- EditMenu
- ExtensionAssistant
- FileManager
- FileMenu
- HelpActions
- HelpMenu
- LocalBrowseAction
- MenuBar
- ModelEntry
- ModelSaver
- OfferSaveExternalsDialog
- OpenColorDialog
- OpenHubNetClientEditor
- OpenLibrariesDialog
- OpenRecentFileAction
- Plugins
- RecentFiles
- RecentFilesMenu
- RemoteBrowseAction
- ShowAboutWindow
- ShowDialogAction
- ShowPreferencesDialog
- ShowShapeManager
- ShowSystemDynamicsModeler
- Splash
- Tabs
- TabsMenu
- ToolsMenu
- ZoomMenu

c

org.nlogo.app

# App 

###
Companion object App

#### 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.  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[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... ) @native()
10.  def codeTabsPanel: CodeTabsPanel
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
      App → Controllable
    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.  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

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

    Returns the contents of the Code tab.

    Returns the contents of the Code tab.

    returns

      contents of Code tab

26.  def handle(t: Throwable): Unit

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

37.  def handleQuit(): Unit

    This is called reflectively by the mac app wrapper.

38.  def handleShowAbout(): Unit

    This is called reflectively by the mac app wrapper.

39.  def handleShowPreferences(): Unit

    This is called reflectively by the mac app wrapper.

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

49.  var menuBar: MenuBar
50.  lazy val modelingCommons: ModelingCommonsInterface
51.  var monitorManager: AgentMonitorManager
52.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
53.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
54.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
55.  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
      App → Controllable
    Annotations
      @throws( classOf[java.io.IOException] )
56.  lazy val openAboutDialog: ShowAboutWindow
57.  lazy val openColorDialog: OpenColorDialog
58.  def openFromSource(source: String, path: String, modelType: ModelType): Unit
59.  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.

60.  lazy val openLibrariesDialog: OpenLibrariesDialog
61.  lazy val openPreferencesDialog: ShowPreferencesDialog
62.  lazy val owner: SimpleJobOwner
63.  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

64.  def procedureSource: String
    Definition Classes
      App → ModelSections
65.  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] )
66.  var recentFilesMenu: RecentFilesMenu
67.  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
      App → Controllable
    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

68.  def resetZoom(): Unit
69.  def setFileManager(manager: FileManager): Unit
70.  def setMenuBar(menuBar: MenuBar): Unit
71.  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

72.  def showAboutWindow(): Unit

    Internal use only.

73.  def showPreferencesDialog(): Unit

    Internal use only.

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

### Inherited from Controllable

### Inherited from Handler

### Inherited from ModelSections

### Inherited from Handler

### Inherited from LinkChild

### Inherited from AnyRef

### Inherited from Any

### Ungrouped