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 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, 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. Handler
  14. ExternalFileManager
  15. Handler
  16. LinkChild
  17. AnyRef
  18. 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. var aggregateManager: AggregateManagerInterface

    Permalink
    Definition Classes
    AppModelSections
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def changeLanguage(): Unit

    Permalink
  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. var dirtyMonitor: DirtyMonitor

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  16. def finalize(): Unit

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

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

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

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

    Permalink

    Returns the contents of the Code tab.

    Returns the contents of the Code tab.

    returns

    contents of Code tab

  21. def getSource(filename: String): String

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    App → ExternalFileManager
  22. def handle(e: LoadSectionEvent): Unit

    Permalink

    Internal use only.

    Internal use only.

    Definition Classes
    App → Handler
  23. def handle(t: Throwable): Unit

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink

    Internal use only.

    Internal use only.

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

    Permalink
    Definition Classes
    App → Handler
  32. 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.

  33. def handleQuit(): Unit

    Permalink

    This is called reflectively by the mac app wrapper.

  34. def handleShowAbout(): Unit

    Permalink

    This is called reflectively by the mac app wrapper.

  35. def hashCode(): Int

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

    Permalink
  37. def hubnetManager: BufSaveable

    Permalink
    Definition Classes
    AppModelSections
  38. def info: String

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

    Permalink
    Definition Classes
    Any
  40. var labManager: LabManagerInterface

    Permalink
    Definition Classes
    AppModelSections
  41. def libraryOpen(path: String): Unit

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

    Permalink
    Definition Classes
    AppModelSections
  43. def linkShapesManager: ShapesManagerInterface

    Permalink
  44. 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

  45. lazy val modelingCommons: ModelingCommonsInterface

    Permalink
  46. var monitorManager: AgentMonitorManager

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

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

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

    Permalink
    Definition Classes
    AnyRef
  50. 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] )
  51. def openFromSource(source: String, path: String, modelType: ModelType): Unit

    Permalink
  52. 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.

  53. lazy val owner: SimpleJobOwner

    Permalink
  54. 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

  55. def previewCommands: String

    Permalink
    Definition Classes
    AppModelSections
  56. lazy val previewCommandsEditor: PreviewCommandsEditorInterface

    Permalink
  57. def procedureSource: String

    Permalink
    Definition Classes
    AppModelSections
  58. 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] )
  59. 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

  60. def resetZoom(): Unit

    Permalink
  61. 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.

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

  63. def showAboutWindow(): Unit

    Permalink

    Internal use only.

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

    Permalink
  65. def snapOn: Boolean

    Permalink
    Definition Classes
    AppModelSections
  66. def startLogging(properties: String): Unit

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

    Permalink
    Definition Classes
    AnyRef
  68. def tabs: Tabs

    Permalink
  69. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  70. def turtleShapes: Seq[Shape]

    Permalink
    Definition Classes
    AppModelSections
  71. def turtleShapesManager: ShapesManagerInterface

    Permalink
  72. def version: String

    Permalink
    Definition Classes
    AppModelSections
  73. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    AppModelSections
  77. 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 Handler

Inherited from ExternalFileManager

Inherited from Handler

Inherited from LinkChild

Inherited from AnyRef

Inherited from Any

Ungrouped