org.nlogo.app

App

class App extends LinkChild with Handler with ExternalFileManager with Handler with Handler with Handler with Handler with Handler with Handler with Handler with Handler with Handler with Controllable

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

Instance Constructors

  1. new App()

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. var aggregateManager: AggregateManagerInterface

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def changeLanguage(): Unit

  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @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
    org.nlogo.api.CompilerException

    if the code fails to compile

    IllegalStateException

    if called from the AWT event queue thread

    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.api.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. var fileMenu: FileMenu

  18. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. val frame: AppFrame

  20. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  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 getSource(filename: String): String

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Internal use only.

    Internal use only.

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

    Definition Classes
    App → Handler
  34. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  35. var helpMenu: HelpMenu

  36. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  37. var labManager: LabManagerInterface

  38. def libraryOpen(path: String): Unit

    Annotations
    @throws( classOf[java.io.IOException] )
  39. def linkShapesManager: ShapesManagerInterface

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

  41. lazy val modelingCommons: ModelingCommonsInterface

  42. var monitorManager: AgentMonitorManager

  43. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  44. final def notify(): Unit

    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit

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

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

  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

    #commandLater

    ,

    #command

  51. 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] )
  52. 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.api.LogoList, org.nlogo.api.Agent, AgentSet, or Nobody

    Definition Classes
    AppControllable
    Annotations
    @throws( classOf[CompilerException] )
    Exceptions thrown
    org.nlogo.api.CompilerException

    if the code fails to compile

    IllegalStateException

    if called from the AWT event queue thread

  53. def resetZoom(): Unit

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

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

  56. def showAboutWindow(): Unit

    Internal use only.

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

  58. def startLogging(properties: String): Unit

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

    Definition Classes
    AnyRef
  60. def tabs: Tabs

  61. def toString(): String

    Definition Classes
    AnyRef → Any
  62. def turtleShapesManager: ShapesManagerInterface

  63. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  66. def workspace: GUIWorkspace

Inherited from Controllable

Inherited from Handler

Inherited from Handler

Inherited from Handler

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