Class/Object

org.nlogo.app

App

Related Docs: object App | package app

Permalink

class App extends LinkChild with Handler with ExternalFileManager 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, ExternalFileManager, 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. ExternalFileManager
  14. Handler
  15. LinkChild
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new App()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def additionalSections: Seq[ModelSaveable]

    Permalink
    Definition Classes
    AppModelSections
  5. var aggregateManager: AggregateManagerInterface

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. var colorDialog: ColorDialog

    Permalink
  9. def command(source: String): Unit

    Permalink

    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

  10. def commandLater(source: String): Unit

    Permalink

    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

  11. def compile(): Unit

    Permalink

    Recompiles the model.

    Recompiles the model. Useful after calling setProcedures().

    See also

    #setProcedures

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. var fileMenu: FileMenu

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. val frame: AppFrame

    Permalink
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getLinkParent(): AppFrame

    Permalink
    Definition Classes
    App → LinkChild
  19. def getProcedures: String

    Permalink

    Returns the contents of the Code tab.

    Returns the contents of the Code tab.

    returns

    contents of Code tab

  20. def getSource(filename: String): String

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    App → ExternalFileManager
  21. def handle(t: Throwable): Unit

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink
    Definition Classes
    App → Handler
  30. def handleOpenPath(path: String): Unit

    Permalink

    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.

  31. def handleQuit(): Unit

    Permalink

    This is called reflectively by the mac app wrapper.

  32. def handleShowAbout(): Unit

    Permalink

    This is called reflectively by the mac app wrapper.

  33. def handleShowPreferences(): Unit

    Permalink

    This is called reflectively by the mac app wrapper.

  34. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  35. var helpMenu: HelpMenu

    Permalink
  36. def info: String

    Permalink
    Definition Classes
    AppModelSections
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. var labManager: LabManagerInterface

    Permalink
  39. def libraryOpen(path: String): Unit

    Permalink
    Annotations
    @throws( classOf[java.io.IOException] )
  40. def linkShapes: Seq[LinkShape]

    Permalink
    Definition Classes
    AppModelSections
  41. def linkShapesManager: ShapesManagerInterface

    Permalink
  42. def makeWidget(text: String): Unit

    Permalink

    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

  43. lazy val modelingCommons: ModelingCommonsInterface

    Permalink
  44. var monitorManager: AgentMonitorManager

    Permalink
  45. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  46. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  47. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  48. def open(path: String): Unit

    Permalink

    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] )
  49. def openFromSource(source: String, path: String, modelType: ModelType): Unit

    Permalink
  50. def openFromSource(name: String, source: String): Unit

    Permalink

    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.

  51. lazy val owner: SimpleJobOwner

    Permalink
  52. lazy val preferencesDialog: PreferencesDialog

    Permalink
  53. def pressButton(name: String): Unit

    Permalink

    Not currently supported.

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

    name

    the button to press

    See also

    #commandLater

    #command

  54. lazy val previewCommandsEditor: PreviewCommandsEditorInterface

    Permalink
  55. def procedureSource: String

    Permalink
    Definition Classes
    AppModelSections
  56. def quit(): Unit

    Permalink

    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] )
  57. def report(source: String): AnyRef

    Permalink

    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

  58. def resetZoom(): Unit

    Permalink
  59. def selectTab(number: Int): Unit

    Permalink

    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.

  60. def setProcedures(source: String): Unit

    Permalink

    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

  61. def showAboutWindow(): Unit

    Permalink

    Internal use only.

  62. def showPreferencesDialog(): Unit

    Permalink

    Internal use only.

  63. def smartPack(targetSize: Dimension, allowShrink: Boolean): Unit

    Permalink
  64. def startLogging(properties: String): Unit

    Permalink
  65. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  66. def tabs: Tabs

    Permalink
  67. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  68. def turtleShapes: Seq[VectorShape]

    Permalink
    Definition Classes
    AppModelSections
  69. def turtleShapesManager: ShapesManagerInterface

    Permalink
  70. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def widgets: Seq[Widget]

    Permalink
    Definition Classes
    AppModelSections
  74. def workspace: GUIWorkspace

    Permalink

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 ExternalFileManager

Inherited from Handler

Inherited from LinkChild

Inherited from AnyRef

Inherited from Any

Ungrouped