Packages

class InterfaceComponent extends LitePanel with LinkChild

This component is a wrapper around the contents of the interface panel that can be embedded in another application.

Once created, an InterfaceComponent can't be garbage collected, so you should open successive models in the same InterfaceComponent, rather than making new instances.

See the "Controlling" section of the NetLogo User Manual for example code.

Source
InterfaceComponent.scala
Linear Supertypes
LinkChild, LitePanel, ControlSet, LinkRoot, LinkParent, Handler, JPanel, Accessible, JComponent, HasGetTransferHandler, Container, Component, Serializable, MenuContainer, ImageObserver, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InterfaceComponent
  2. LinkChild
  3. LitePanel
  4. ControlSet
  5. LinkRoot
  6. LinkParent
  7. Handler
  8. JPanel
  9. Accessible
  10. JComponent
  11. HasGetTransferHandler
  12. Container
  13. Component
  14. Serializable
  15. MenuContainer
  16. ImageObserver
  17. AnyRef
  18. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InterfaceComponent(frame: Frame)

Type Members

  1. abstract class AccessibleAWTComponent extends AccessibleContext with Serializable with AccessibleComponent
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  2. class AccessibleAWTContainer extends AccessibleAWTComponent
    Attributes
    protected[java.awt]
    Definition Classes
    Container
  3. abstract class AccessibleJComponent extends AccessibleAWTContainer with AccessibleExtendedComponent
    Definition Classes
    JComponent
  4. class AccessibleJPanel extends AccessibleJComponent
    Attributes
    protected[javax.swing]
    Definition Classes
    JPanel
  5. final class ActionStandin extends Action
    Attributes
    private[javax.swing]
    Definition Classes
    JComponent
  6. class BltBufferStrategy extends BufferStrategy
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  7. class FlipBufferStrategy extends BufferStrategy
    Attributes
    protected[java.awt]
    Definition Classes
    Component

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. def add(arg0: Component, arg1: Any, arg2: Int): Unit
    Definition Classes
    Container
  5. def add(arg0: Component, arg1: Any): Unit
    Definition Classes
    Container
  6. def add(arg0: Component, arg1: Int): Component
    Definition Classes
    Container
  7. def add(arg0: String, arg1: Component): Component
    Definition Classes
    Container
  8. def add(arg0: Component): Component
    Definition Classes
    Container
  9. def add(arg0: PopupMenu): Unit
    Definition Classes
    Component
  10. def addAncestorListener(arg0: AncestorListener): Unit
    Definition Classes
    JComponent
  11. def addComponentListener(arg0: ComponentListener): Unit
    Definition Classes
    Component
  12. def addContainerListener(arg0: ContainerListener): Unit
    Definition Classes
    Container
  13. def addFocusListener(arg0: FocusListener): Unit
    Definition Classes
    Component
  14. def addHierarchyBoundsListener(arg0: HierarchyBoundsListener): Unit
    Definition Classes
    Component
  15. def addHierarchyListener(arg0: HierarchyListener): Unit
    Definition Classes
    Component
  16. def addImpl(arg0: Component, arg1: Any, arg2: Int): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Container
  17. def addInputMethodListener(arg0: InputMethodListener): Unit
    Definition Classes
    Component
  18. def addKeyListener(arg0: KeyListener): Unit
    Definition Classes
    Component
  19. def addLinkComponent(c: AnyRef): Unit
    Definition Classes
    LinkRoot
  20. def addMouseListener(arg0: MouseListener): Unit
    Definition Classes
    Component
  21. def addMouseMotionListener(arg0: MouseMotionListener): Unit
    Definition Classes
    Component
  22. def addMouseWheelListener(arg0: MouseWheelListener): Unit
    Definition Classes
    Component
  23. def addNotify(): Unit
    Definition Classes
    JComponent → Container → Component
  24. def addPropertyChangeListener(arg0: String, arg1: PropertyChangeListener): Unit
    Definition Classes
    Container → Component
  25. def addPropertyChangeListener(arg0: PropertyChangeListener): Unit
    Definition Classes
    Container → Component
  26. def addVetoableChangeListener(arg0: VetoableChangeListener): Unit
    Definition Classes
    JComponent
  27. def applyComponentOrientation(arg0: ComponentOrientation): Unit
    Definition Classes
    Container → Component
  28. def areFocusTraversalKeysSet(arg0: Int): Boolean
    Definition Classes
    Container → Component
  29. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  30. def checkImage(arg0: Image, arg1: Int, arg2: Int, arg3: ImageObserver): Int
    Definition Classes
    Component
  31. def checkImage(arg0: Image, arg1: ImageObserver): Int
    Definition Classes
    Component
  32. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  33. def coalesceEvents(arg0: AWTEvent, arg1: AWTEvent): AWTEvent
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  34. 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
    LitePanel
    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

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

    Definition Classes
    LitePanel
    Annotations
    @throws( classOf[CompilerException] )
    Exceptions thrown

    org.nlogo.core.CompilerException if the code fails to compile

    See also

    #command

  36. def compile(): Unit

    Recompiles the model.

    Recompiles the model. Useful after calling setProcedures().

    See also

    #setProcedures

  37. def computeVisibleRect(arg0: Rectangle): Unit
    Definition Classes
    JComponent
  38. def contains(arg0: Int, arg1: Int): Boolean
    Definition Classes
    JComponent → Component
  39. def contains(arg0: Point): Boolean
    Definition Classes
    Component
  40. def createImage(arg0: Int, arg1: Int): Image
    Definition Classes
    Component
  41. def createImage(arg0: ImageProducer): Image
    Definition Classes
    Component
  42. def createInterfacePanel(workspace: LiteWorkspace): InterfacePanelLite
    Attributes
    protected
    Definition Classes
    LitePanel
  43. def createToolTip(): JToolTip
    Definition Classes
    JComponent
  44. def createVolatileImage(arg0: Int, arg1: Int, arg2: ImageCapabilities): VolatileImage
    Definition Classes
    Component
    Annotations
    @throws( classOf[java.awt.AWTException] )
  45. def createVolatileImage(arg0: Int, arg1: Int): VolatileImage
    Definition Classes
    Component
  46. val defaultOwner: SimpleJobOwner
    Definition Classes
    LitePanel
  47. final def disableEvents(arg0: Long): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  48. final def dispatchEvent(arg0: AWTEvent): Unit
    Definition Classes
    Component
  49. def doLayout(): Unit
    Definition Classes
    Container → Component
  50. final def enableEvents(arg0: Long): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  51. def enableInputMethods(arg0: Boolean): Unit
    Definition Classes
    Component
  52. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  53. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  54. val errorDialogManager: ErrorDialogManager
    Definition Classes
    LitePanel
  55. def findComponentAt(arg0: Point): Component
    Definition Classes
    Container
  56. def findComponentAt(arg0: Int, arg1: Int): Component
    Definition Classes
    Container
  57. def findWidget(name: String, tpe: Class[_]): Widget
  58. def firePropertyChange(arg0: String, arg1: Char, arg2: Char): Unit
    Definition Classes
    JComponent → Component
  59. def firePropertyChange(arg0: String, arg1: Int, arg2: Int): Unit
    Definition Classes
    JComponent → Component
  60. def firePropertyChange(arg0: String, arg1: Boolean, arg2: Boolean): Unit
    Definition Classes
    JComponent → Component
  61. def firePropertyChange(arg0: String, arg1: Double, arg2: Double): Unit
    Definition Classes
    Component
  62. def firePropertyChange(arg0: String, arg1: Float, arg2: Float): Unit
    Definition Classes
    Component
  63. def firePropertyChange(arg0: String, arg1: Long, arg2: Long): Unit
    Definition Classes
    Component
  64. def firePropertyChange(arg0: String, arg1: Short, arg2: Short): Unit
    Definition Classes
    Component
  65. def firePropertyChange(arg0: String, arg1: Byte, arg2: Byte): Unit
    Definition Classes
    Component
  66. def firePropertyChange(arg0: String, arg1: Any, arg2: Any): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  67. def fireVetoableChange(arg0: String, arg1: Any, arg2: Any): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
    Annotations
    @throws( ... )
  68. def getAccessibleContext(): AccessibleContext
    Definition Classes
    JPanel → Accessible → Component
    Annotations
    @BeanProperty()
  69. def getActionForKeyStroke(arg0: KeyStroke): ActionListener
    Definition Classes
    JComponent
  70. final def getActionMap(): ActionMap
    Definition Classes
    JComponent
  71. def getAlignmentX(): Float
    Definition Classes
    JComponent → Container → Component
  72. def getAlignmentY(): Float
    Definition Classes
    JComponent → Container → Component
  73. def getAncestorListeners(): Array[AncestorListener]
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  74. def getAutoscrolls(): Boolean
    Definition Classes
    JComponent
  75. def getBackground(): Color
    Definition Classes
    Component
    Annotations
    @Transient()
  76. def getBaseline(arg0: Int, arg1: Int): Int
    Definition Classes
    JComponent → Component
  77. def getBaselineResizeBehavior(): BaselineResizeBehavior
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  78. def getBorder(): Border
    Definition Classes
    JComponent
  79. def getBounds(arg0: Rectangle): Rectangle
    Definition Classes
    JComponent → Component
  80. def getBounds(): Rectangle
    Definition Classes
    Component
  81. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  82. final def getClientProperty(arg0: Any): AnyRef
    Definition Classes
    JComponent
  83. def getColorModel(): ColorModel
    Definition Classes
    Component
  84. def getComponent(arg0: Int): Component
    Definition Classes
    Container
  85. def getComponentAt(arg0: Point): Component
    Definition Classes
    Container → Component
  86. def getComponentAt(arg0: Int, arg1: Int): Component
    Definition Classes
    Container → Component
  87. def getComponentCount(): Int
    Definition Classes
    Container
  88. def getComponentGraphics(arg0: Graphics): Graphics
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  89. def getComponentListeners(): Array[ComponentListener]
    Definition Classes
    Component
  90. def getComponentOrientation(): ComponentOrientation
    Definition Classes
    Component
  91. def getComponentPopupMenu(): JPopupMenu
    Definition Classes
    JComponent
  92. def getComponentZOrder(arg0: Component): Int
    Definition Classes
    Container
  93. def getComponents(): Array[Component]
    Definition Classes
    Container
  94. def getConditionForKeyStroke(arg0: KeyStroke): Int
    Definition Classes
    JComponent
  95. def getContainerListeners(): Array[ContainerListener]
    Definition Classes
    Container
  96. def getCursor(): Cursor
    Definition Classes
    Component
  97. def getDebugGraphicsOptions(): Int
    Definition Classes
    JComponent
  98. def getDropTarget(): DropTarget
    Definition Classes
    Component
  99. def getFileURL(filename: String): URL

    internal use only

    internal use only

    Definition Classes
    LitePanel
    Annotations
    @throws( ... )
  100. def getFocusCycleRootAncestor(): Container
    Definition Classes
    Component
  101. def getFocusListeners(): Array[FocusListener]
    Definition Classes
    Component
  102. def getFocusTraversalKeys(arg0: Int): Set[AWTKeyStroke]
    Definition Classes
    Container → Component
  103. def getFocusTraversalKeysEnabled(): Boolean
    Definition Classes
    Component
  104. def getFocusTraversalPolicy(): FocusTraversalPolicy
    Definition Classes
    Container
  105. def getFont(): Font
    Definition Classes
    Component → MenuContainer
    Annotations
    @Transient()
  106. def getFontMetrics(arg0: Font): FontMetrics
    Definition Classes
    JComponent → Component
  107. def getForeground(): Color
    Definition Classes
    Component
    Annotations
    @Transient()
  108. def getGraphics(): Graphics
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  109. def getGraphicsConfiguration(): GraphicsConfiguration
    Definition Classes
    Component
  110. def getHeight(): Int
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  111. def getHierarchyBoundsListeners(): Array[HierarchyBoundsListener]
    Definition Classes
    Component
  112. def getHierarchyListeners(): Array[HierarchyListener]
    Definition Classes
    Component
  113. def getIgnoreRepaint(): Boolean
    Definition Classes
    Component
  114. def getInheritsPopupMenu(): Boolean
    Definition Classes
    JComponent
  115. def getInputContext(): InputContext
    Definition Classes
    Component
  116. final def getInputMap(): InputMap
    Definition Classes
    JComponent
  117. final def getInputMap(arg0: Int): InputMap
    Definition Classes
    JComponent
  118. def getInputMethodListeners(): Array[InputMethodListener]
    Definition Classes
    Component
  119. def getInputMethodRequests(): InputMethodRequests
    Definition Classes
    Component
  120. def getInputVerifier(): InputVerifier
    Definition Classes
    JComponent
  121. def getInsets(arg0: Insets): Insets
    Definition Classes
    JComponent
  122. def getInsets(): Insets
    Definition Classes
    JComponent → Container
    Annotations
    @BeanProperty()
  123. def getKeyListeners(): Array[KeyListener]
    Definition Classes
    Component
  124. def getLayout(): LayoutManager
    Definition Classes
    Container
  125. def getLinkChildren: Array[AnyRef]
    Definition Classes
    LinkRoot
  126. def getLinkParent(): Null

    internal use only

    internal use only

    Definition Classes
    InterfaceComponent → LinkChild
  127. def getListeners[T <: EventListener](arg0: Class[T]): Array[T]
    Definition Classes
    JComponent → Container → Component
  128. def getLocale(): Locale
    Definition Classes
    Component
  129. def getLocation(arg0: Point): Point
    Definition Classes
    JComponent → Component
  130. def getLocation(): Point
    Definition Classes
    Component
  131. def getLocationOnScreen(): Point
    Definition Classes
    Component
  132. def getMaximumSize(): Dimension
    Definition Classes
    JComponent → Container → Component
    Annotations
    @Transient()
  133. def getMinimumSize(): Dimension
    Definition Classes
    JComponent → Container → Component
    Annotations
    @Transient()
  134. def getMouseListeners(): Array[MouseListener]
    Definition Classes
    Component
  135. def getMouseMotionListeners(): Array[MouseMotionListener]
    Definition Classes
    Component
  136. def getMousePosition(arg0: Boolean): Point
    Definition Classes
    Container
    Annotations
    @throws( classOf[java.awt.HeadlessException] )
  137. def getMousePosition(): Point
    Definition Classes
    Component
    Annotations
    @throws( classOf[java.awt.HeadlessException] )
  138. def getMouseWheelListeners(): Array[MouseWheelListener]
    Definition Classes
    Component
  139. def getName(): String
    Definition Classes
    Component
  140. def getParent(): Container
    Definition Classes
    Component
  141. def getPlotContentsAsImage(name: String): RenderedImage

    returns a graphical image of the current contents of the plot with the given name.

    returns a graphical image of the current contents of the plot with the given name. This image can be saved to disk, displayed to the user later, etc.

    name

    the display name of the widget to reveal.

  142. def getPopupLocation(arg0: MouseEvent): Point
    Definition Classes
    JComponent
  143. def getPreferredSize(): Dimension
    Definition Classes
    JComponent → Container → Component
    Annotations
    @Transient()
  144. def getProcedures: String

    Returns the contents of the Code tab.

    Returns the contents of the Code tab.

    returns

    contents of Code tab

    Definition Classes
    LitePanel
  145. def getPropertyChangeListeners(arg0: String): Array[PropertyChangeListener]
    Definition Classes
    Component
  146. def getPropertyChangeListeners(): Array[PropertyChangeListener]
    Definition Classes
    Component
  147. def getRegisteredKeyStrokes(): Array[KeyStroke]
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  148. def getRootPane(): JRootPane
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  149. def getSize(arg0: Dimension): Dimension
    Definition Classes
    JComponent → Component
  150. def getSize(): Dimension
    Definition Classes
    Component
  151. def getToolTipLocation(arg0: MouseEvent): Point
    Definition Classes
    JComponent
  152. def getToolTipText(arg0: MouseEvent): String
    Definition Classes
    JComponent
  153. def getToolTipText(): String
    Definition Classes
    JComponent
  154. def getToolkit(): Toolkit
    Definition Classes
    Component
  155. def getTopLevelAncestor(): Container
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  156. def getTransferHandler(): TransferHandler
    Definition Classes
    JComponent → HasGetTransferHandler
  157. final def getTreeLock(): AnyRef
    Definition Classes
    Component
  158. def getUI(): PanelUI
    Definition Classes
    JPanel → JComponent
  159. def getUIClassID(): String
    Definition Classes
    JPanel → JComponent
    Annotations
    @BeanProperty()
  160. def getVerifyInputWhenFocusTarget(): Boolean
    Definition Classes
    JComponent
  161. def getVetoableChangeListeners(): Array[VetoableChangeListener]
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  162. def getViewImage: RenderedImage

    returns the current contents of the 2D view.

    returns the current contents of the 2D view. This image can be saved to disk, displayed to the user later, etc.

  163. def getVisibleRect(): Rectangle
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  164. def getWidth(): Int
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  165. def getX(): Int
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  166. def getY(): Int
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  167. def grabFocus(): Unit
    Definition Classes
    JComponent
  168. def handle(throwable: Throwable): Unit

    internal use only

    internal use only

    Definition Classes
    LitePanelHandler
  169. def hasFocus(): Boolean
    Definition Classes
    Component
  170. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  171. def hideWidget(name: String): Unit

    hides a particular widget.

    hides a particular widget. This method makes the specified widget invisible in the NetLogo interface panel. It does not completely remove the widget, which can later be brought back with showWidget(). This method uses the "display name" to identify the widget. Display names are not necessarily unique within a particular model. It is only safe to use this method on widgets with unique display names. Otherwise the behavior is unspecified.

    name

    the display name of the widget to hide.

    See also

    #hideWidget

  172. val iP: InterfacePanelLite
    Definition Classes
    LitePanel
  173. def imageUpdate(arg0: Image, arg1: Int, arg2: Int, arg3: Int, arg4: Int, arg5: Int): Boolean
    Definition Classes
    Component → ImageObserver
  174. def invalidate(): Unit
    Definition Classes
    Container → Component
  175. def isAncestorOf(arg0: Component): Boolean
    Definition Classes
    Container
  176. def isBackgroundSet(): Boolean
    Definition Classes
    Component
  177. def isCursorSet(): Boolean
    Definition Classes
    Component
  178. def isDisplayable(): Boolean
    Definition Classes
    Component
  179. def isDoubleBuffered(): Boolean
    Definition Classes
    JComponent → Component
  180. def isEnabled(): Boolean
    Definition Classes
    Component
  181. def isFocusCycleRoot(): Boolean
    Definition Classes
    Container
  182. def isFocusCycleRoot(arg0: Container): Boolean
    Definition Classes
    Container → Component
  183. def isFocusOwner(): Boolean
    Definition Classes
    Component
  184. final def isFocusTraversalPolicyProvider(): Boolean
    Definition Classes
    Container
  185. def isFocusTraversalPolicySet(): Boolean
    Definition Classes
    Container
  186. def isFocusable(): Boolean
    Definition Classes
    Component
  187. def isFontSet(): Boolean
    Definition Classes
    Component
  188. def isForegroundSet(): Boolean
    Definition Classes
    Component
  189. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  190. def isLightweight(): Boolean
    Definition Classes
    Component
  191. def isMaximumSizeSet(): Boolean
    Definition Classes
    Component
  192. def isMinimumSizeSet(): Boolean
    Definition Classes
    Component
  193. def isOpaque(): Boolean
    Definition Classes
    JComponent → Component
  194. def isOptimizedDrawingEnabled(): Boolean
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  195. final def isPaintingForPrint(): Boolean
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  196. def isPaintingOrigin(): Boolean
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  197. def isPaintingTile(): Boolean
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  198. def isPreferredSizeSet(): Boolean
    Definition Classes
    Component
  199. def isRequestFocusEnabled(): Boolean
    Definition Classes
    JComponent
  200. def isShowing(): Boolean
    Definition Classes
    Component
  201. def isValid(): Boolean
    Definition Classes
    Component
  202. def isValidateRoot(): Boolean
    Definition Classes
    JComponent → Container
  203. def isVisible(): Boolean
    Definition Classes
    Component
    Annotations
    @Transient()
  204. val linkComponents: ListBuffer[AnyRef]
    Attributes
    protected
    Definition Classes
    LinkRoot
  205. def list(arg0: PrintWriter, arg1: Int): Unit
    Definition Classes
    Container → Component
  206. def list(arg0: PrintStream, arg1: Int): Unit
    Definition Classes
    Container → Component
  207. def list(arg0: PrintWriter): Unit
    Definition Classes
    Component
  208. def list(arg0: PrintStream): Unit
    Definition Classes
    Component
  209. def list(): Unit
    Definition Classes
    Component
  210. val listenerManager: NetLogoListenerManager

    The NetLogoListenerManager stored in this field can be used to add and remove NetLogoListeners, so the embedding environment can receive notifications of events happening within NetLogo.

    The NetLogoListenerManager stored in this field can be used to add and remove NetLogoListeners, so the embedding environment can receive notifications of events happening within NetLogo. Relevant methods on NetLogoListenerManager are addListener(), removeListener(), and clearListeners(). The first two take a NetLogoListener as input.

    Definition Classes
    LitePanel
  211. val liteEditorFactory: DefaultEditorFactory
    Attributes
    protected
    Definition Classes
    LitePanel
  212. def makeWidget(widget: Widget): Unit

    Adds new widget to Interface tab given its specification, in the same format found in a saved model.

  213. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  214. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  215. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  216. 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.

    Annotations
    @throws( classOf[java.io.IOException] ) @throws( ... )
  217. def openFromURI(uri: URI): Unit

    Opens a model stored in a string.

    Opens a model stored in a string.

    Definition Classes
    LitePanel
    Annotations
    @throws( classOf[InvalidVersionException] )
  218. def paint(arg0: Graphics): Unit
    Definition Classes
    JComponent → Container → Component
  219. def paintAll(arg0: Graphics): Unit
    Definition Classes
    Component
  220. def paintBorder(arg0: Graphics): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  221. def paintChildren(arg0: Graphics): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  222. def paintComponent(arg0: Graphics): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  223. def paintComponents(arg0: Graphics): Unit
    Definition Classes
    Container
  224. def paintImmediately(arg0: Rectangle): Unit
    Definition Classes
    JComponent
  225. def paintImmediately(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
    Definition Classes
    JComponent
  226. val panel: LiteAdPanel
    Definition Classes
    LitePanel
  227. def paramString(): String
    Attributes
    protected[javax.swing]
    Definition Classes
    JPanel → JComponent → Container → Component
  228. def prepareImage(arg0: Image, arg1: Int, arg2: Int, arg3: ImageObserver): Boolean
    Definition Classes
    Component
  229. def prepareImage(arg0: Image, arg1: ImageObserver): Boolean
    Definition Classes
    Component
  230. def pressButton(name: String): Unit

    Simulates a button press in the current model, exactly as if the user had pressed the button.

    Simulates a button press in the current model, exactly as if the user had pressed the button. If the button is a "once" button, this method does not return until the button has popped back up. (For "forever" buttons, it returns immediately.)

  231. def print(arg0: Graphics): Unit
    Definition Classes
    JComponent → Container → Component
  232. def printAll(arg0: Graphics): Unit
    Definition Classes
    JComponent → Component
  233. def printBorder(arg0: Graphics): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  234. def printChildren(arg0: Graphics): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  235. def printComponent(arg0: Graphics): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  236. def printComponents(arg0: Graphics): Unit
    Definition Classes
    Container
  237. val procedures: ProceduresLite
    Definition Classes
    LitePanel
  238. def processComponentEvent(arg0: ComponentEvent): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  239. def processComponentKeyEvent(arg0: KeyEvent): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  240. def processContainerEvent(arg0: ContainerEvent): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Container
  241. def processEvent(arg0: AWTEvent): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Container → Component
  242. def processFocusEvent(arg0: FocusEvent): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  243. def processHierarchyBoundsEvent(arg0: HierarchyEvent): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  244. def processHierarchyEvent(arg0: HierarchyEvent): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  245. def processInputMethodEvent(arg0: InputMethodEvent): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  246. def processKeyBinding(arg0: KeyStroke, arg1: KeyEvent, arg2: Int, arg3: Boolean): Boolean
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
  247. def processKeyEvent(arg0: KeyEvent): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent → Component
  248. def processMouseEvent(arg0: MouseEvent): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent → Component
  249. def processMouseMotionEvent(arg0: MouseEvent): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent → Component
  250. def processMouseWheelEvent(arg0: MouseWheelEvent): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  251. final def putClientProperty(arg0: Any, arg1: Any): Unit
    Definition Classes
    JComponent
  252. def registerKeyboardAction(arg0: ActionListener, arg1: KeyStroke, arg2: Int): Unit
    Definition Classes
    JComponent
  253. def registerKeyboardAction(arg0: ActionListener, arg1: String, arg2: KeyStroke, arg3: Int): Unit
    Definition Classes
    JComponent
  254. def remove(arg0: Component): Unit
    Definition Classes
    Container
  255. def remove(arg0: Int): Unit
    Definition Classes
    Container
  256. def remove(arg0: MenuComponent): Unit
    Definition Classes
    Component → MenuContainer
  257. def removeAll(): Unit
    Definition Classes
    Container
  258. def removeAncestorListener(arg0: AncestorListener): Unit
    Definition Classes
    JComponent
  259. def removeComponentListener(arg0: ComponentListener): Unit
    Definition Classes
    Component
  260. def removeContainerListener(arg0: ContainerListener): Unit
    Definition Classes
    Container
  261. def removeFocusListener(arg0: FocusListener): Unit
    Definition Classes
    Component
  262. def removeHierarchyBoundsListener(arg0: HierarchyBoundsListener): Unit
    Definition Classes
    Component
  263. def removeHierarchyListener(arg0: HierarchyListener): Unit
    Definition Classes
    Component
  264. def removeInputMethodListener(arg0: InputMethodListener): Unit
    Definition Classes
    Component
  265. def removeKeyListener(arg0: KeyListener): Unit
    Definition Classes
    Component
  266. def removeLinkComponent(c: AnyRef): Unit
    Definition Classes
    LinkRoot
  267. def removeMouseListener(arg0: MouseListener): Unit
    Definition Classes
    Component
  268. def removeMouseMotionListener(arg0: MouseMotionListener): Unit
    Definition Classes
    Component
  269. def removeMouseWheelListener(arg0: MouseWheelListener): Unit
    Definition Classes
    Component
  270. def removeNotify(): Unit
    Definition Classes
    JComponent → Container → Component
  271. def removePropertyChangeListener(arg0: String, arg1: PropertyChangeListener): Unit
    Definition Classes
    Component
  272. def removePropertyChangeListener(arg0: PropertyChangeListener): Unit
    Definition Classes
    Component
  273. def removeVetoableChangeListener(arg0: VetoableChangeListener): Unit
    Definition Classes
    JComponent
  274. def repaint(arg0: Rectangle): Unit
    Definition Classes
    JComponent
  275. def repaint(arg0: Long, arg1: Int, arg2: Int, arg3: Int, arg4: Int): Unit
    Definition Classes
    JComponent → Component
  276. def repaint(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
    Definition Classes
    Component
  277. def repaint(arg0: Long): Unit
    Definition Classes
    Component
  278. def repaint(): Unit
    Definition Classes
    Component
  279. 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
    LitePanel
    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

  280. def reportAndCallback(code: String, handler: InvocationListener): Unit

    evaluates a reporter and return the value to continuation object.

    evaluates a reporter and return the value to continuation object. This is a convenience method for evaluating reporters on the event thread. Since it is an error to call report() from the event thread, this method creates a new thread to call report() and then passes the result to the given InvocationListener.

    This method may be called from any thread, including the AWT Event Thread.

  281. def requestFocus(): Unit

    LitePanel passes the focus request to the InterfacePanel

    LitePanel passes the focus request to the InterfacePanel

    Definition Classes
    LitePanel → JComponent → Component
  282. def requestFocus(arg0: Boolean): Boolean
    Definition Classes
    JComponent → Component
  283. def requestFocus(arg0: Boolean, arg1: Cause): Boolean
    Attributes
    protected[java.awt]
    Definition Classes
    Component
  284. def requestFocus(arg0: Cause): Unit
    Definition Classes
    Component
  285. def requestFocusInWindow(arg0: Boolean): Boolean
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent → Component
  286. def requestFocusInWindow(): Boolean
    Definition Classes
    JComponent → Component
  287. def requestFocusInWindow(arg0: Cause): Boolean
    Definition Classes
    Component
  288. def resetKeyboardActions(): Unit
    Definition Classes
    JComponent
  289. def revalidate(): Unit
    Definition Classes
    JComponent → Component
  290. def scrollRectToVisible(arg0: Rectangle): Unit
    Definition Classes
    JComponent
  291. final def setActionMap(arg0: ActionMap): Unit
    Definition Classes
    JComponent
  292. def setAdVisible(visible: Boolean): Unit

    internal use only

    internal use only

    Definition Classes
    LitePanel
  293. def setAlignmentX(arg0: Float): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  294. def setAlignmentY(arg0: Float): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  295. def setAutoscrolls(arg0: Boolean): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  296. def setBackground(arg0: Color): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  297. def setBorder(arg0: Border): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  298. def setBounds(arg0: Rectangle): Unit
    Definition Classes
    Component
  299. def setBounds(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
    Definition Classes
    Component
  300. def setComponentOrientation(arg0: ComponentOrientation): Unit
    Definition Classes
    Component
  301. def setComponentPopupMenu(arg0: JPopupMenu): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  302. def setComponentZOrder(arg0: Component, arg1: Int): Unit
    Definition Classes
    Container
  303. def setCursor(arg0: Cursor): Unit
    Definition Classes
    Component
  304. def setDebugGraphicsOptions(arg0: Int): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  305. def setDoubleBuffered(arg0: Boolean): Unit
    Definition Classes
    JComponent
  306. def setDropTarget(arg0: DropTarget): Unit
    Definition Classes
    Component
  307. def setEnabled(arg0: Boolean): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  308. def setFocusCycleRoot(arg0: Boolean): Unit
    Definition Classes
    Container
  309. def setFocusTraversalKeys(arg0: Int, arg1: Set[_ <: AWTKeyStroke]): Unit
    Definition Classes
    JComponent → Container → Component
  310. def setFocusTraversalKeysEnabled(arg0: Boolean): Unit
    Definition Classes
    Component
  311. def setFocusTraversalPolicy(arg0: FocusTraversalPolicy): Unit
    Definition Classes
    Container
  312. final def setFocusTraversalPolicyProvider(arg0: Boolean): Unit
    Definition Classes
    Container
  313. def setFocusable(arg0: Boolean): Unit
    Definition Classes
    Component
  314. def setFont(arg0: Font): Unit
    Definition Classes
    JComponent → Container → Component
    Annotations
    @BeanProperty()
  315. def setForeground(arg0: Color): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  316. def setIgnoreRepaint(arg0: Boolean): Unit
    Definition Classes
    Component
  317. def setInheritsPopupMenu(arg0: Boolean): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  318. final def setInputMap(arg0: Int, arg1: InputMap): Unit
    Definition Classes
    JComponent
  319. def setInputVerifier(arg0: InputVerifier): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  320. def setLayout(arg0: LayoutManager): Unit
    Definition Classes
    Container
  321. def setLocale(arg0: Locale): Unit
    Definition Classes
    Component
  322. def setLocation(arg0: Point): Unit
    Definition Classes
    Component
  323. def setLocation(arg0: Int, arg1: Int): Unit
    Definition Classes
    Component
  324. def setMaximumSize(arg0: Dimension): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  325. def setMinimumSize(arg0: Dimension): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  326. def setMixingCutoutShape(arg0: Shape): Unit
    Definition Classes
    Component
  327. def setName(arg0: String): Unit
    Definition Classes
    Component
  328. def setOpaque(arg0: Boolean): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  329. def setPreferredSize(arg0: Dimension): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  330. def setPrefix(url: URL): Unit

    sets the current working directory

    sets the current working directory

    url

    the directory as java.net.URL

    Definition Classes
    LitePanel
  331. 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

    Definition Classes
    LitePanel
  332. def setRequestFocusEnabled(arg0: Boolean): Unit
    Definition Classes
    JComponent
  333. def setSize(arg0: Dimension): Unit
    Definition Classes
    Component
  334. def setSize(arg0: Int, arg1: Int): Unit
    Definition Classes
    Component
  335. def setToolTipText(arg0: String): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  336. def setTransferHandler(arg0: TransferHandler): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  337. def setUI(arg0: PanelUI): Unit
    Definition Classes
    JPanel
    Annotations
    @BeanProperty()
  338. def setUI(arg0: ComponentUI): Unit
    Attributes
    protected[javax.swing]
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  339. def setVerifyInputWhenFocusTarget(arg0: Boolean): Unit
    Definition Classes
    JComponent
    Annotations
    @BeanProperty()
  340. def setVisible(arg0: Boolean): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @BeanProperty()
  341. def showWidget(name: String): Unit

    reveals a particular widget.

    reveals a particular widget. This method makes the specified widget visible in the NetLogo interface panel, if it has previously been hidden by a call to hideWidget(). This method uses the "display name" to identify the widget. Display names are not necessarily unique within a particular model. It is only safe to use this method on widgets with unique display names. Otherwise the behavior is unspecified.

    name

    the display name of the widget to reveal.

    See also

    #hideWidget

  342. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  343. def toString(): String
    Definition Classes
    Component → AnyRef → Any
  344. def transferFocus(): Unit
    Definition Classes
    Component
  345. def transferFocusBackward(): Unit
    Definition Classes
    Component
  346. def transferFocusDownCycle(): Unit
    Definition Classes
    Container
  347. def transferFocusUpCycle(): Unit
    Definition Classes
    Component
  348. def unregisterKeyboardAction(arg0: KeyStroke): Unit
    Definition Classes
    JComponent
  349. def update(arg0: Graphics): Unit
    Definition Classes
    JComponent → Container → Component
  350. def updateUI(): Unit
    Definition Classes
    JPanel → JComponent
  351. def userInterface: Future[BufferedImage]
    Definition Classes
    LitePanelControlSet
  352. def userOutput: Future[String]
    Definition Classes
    LitePanelControlSet
  353. def validate(): Unit
    Definition Classes
    Container → Component
  354. def validateTree(): Unit
    Attributes
    protected[java.awt]
    Definition Classes
    Container
  355. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  356. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  357. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  358. val workspace: LiteWorkspace
    Definition Classes
    LitePanel
  359. val world: World with CompilationManagement
    Attributes
    protected
    Definition Classes
    LitePanel

Deprecated Value Members

  1. def action(arg0: Event, arg1: Any): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  2. def bounds(): Rectangle
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  3. def countComponents(): Int
    Definition Classes
    Container
    Annotations
    @Deprecated
    Deprecated
  4. def deliverEvent(arg0: Event): Unit
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  5. def disable(): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @Deprecated
    Deprecated
  6. def enable(): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @Deprecated
    Deprecated
  7. def enable(arg0: Boolean): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  9. def getNextFocusableComponent(): Component
    Definition Classes
    JComponent
    Annotations
    @Deprecated
    Deprecated
  10. def gotFocus(arg0: Event, arg1: Any): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  11. def handleEvent(arg0: Event): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  12. def hide(): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @Deprecated
    Deprecated
  13. def insets(): Insets
    Definition Classes
    Container
    Annotations
    @Deprecated
    Deprecated
  14. def inside(arg0: Int, arg1: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  15. def isFocusTraversable(): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  16. def isManagingFocus(): Boolean
    Definition Classes
    JComponent
    Annotations
    @Deprecated @BeanProperty()
    Deprecated
  17. def keyDown(arg0: Event, arg1: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  18. def keyUp(arg0: Event, arg1: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  19. def layout(): Unit
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  20. def locate(arg0: Int, arg1: Int): Component
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  21. def location(): Point
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  22. def lostFocus(arg0: Event, arg1: Any): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  23. def minimumSize(): Dimension
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  24. def mouseDown(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  25. def mouseDrag(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  26. def mouseEnter(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  27. def mouseExit(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  28. def mouseMove(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  29. def mouseUp(arg0: Event, arg1: Int, arg2: Int): Boolean
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  30. def move(arg0: Int, arg1: Int): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  31. def nextFocus(): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  32. def postEvent(arg0: Event): Boolean
    Definition Classes
    Component → MenuContainer
    Annotations
    @Deprecated
    Deprecated
  33. def preferredSize(): Dimension
    Definition Classes
    Container → Component
    Annotations
    @Deprecated
    Deprecated
  34. def requestDefaultFocus(): Boolean
    Definition Classes
    JComponent
    Annotations
    @Deprecated
    Deprecated
  35. def reshape(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
    Definition Classes
    JComponent → Component
    Annotations
    @Deprecated
    Deprecated
  36. def resize(arg0: Dimension): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  37. def resize(arg0: Int, arg1: Int): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  38. def setNextFocusableComponent(arg0: Component): Unit
    Definition Classes
    JComponent
    Annotations
    @Deprecated
    Deprecated
  39. def show(arg0: Boolean): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  40. def show(): Unit
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated
  41. def size(): Dimension
    Definition Classes
    Component
    Annotations
    @Deprecated
    Deprecated

Inherited from LinkChild

Inherited from LitePanel

Inherited from ControlSet

Inherited from LinkRoot

Inherited from LinkParent

Inherited from Handler

Inherited from JPanel

Inherited from Accessible

Inherited from JComponent

Inherited from HasGetTransferHandler

Inherited from Container

Inherited from Component

Inherited from Serializable

Inherited from MenuContainer

Inherited from ImageObserver

Inherited from AnyRef

Inherited from Any

Ungrouped