org.nlogo.lite

InterfaceComponent

class InterfaceComponent extends AppletPanel 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, AppletPanel, LinkParent, Handler, JPanel, Accessible, JComponent, HasGetTransferHandler, Container, Component, Serializable, MenuContainer, ImageObserver, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. InterfaceComponent
  2. LinkChild
  3. AppletPanel
  4. LinkParent
  5. Handler
  6. JPanel
  7. Accessible
  8. JComponent
  9. HasGetTransferHandler
  10. Container
  11. Component
  12. Serializable
  13. MenuContainer
  14. ImageObserver
  15. AnyRef
  16. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InterfaceComponent (frame: Frame)

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def add (arg0: Component, arg1: Any, arg2: Int): Unit

    Definition Classes
    Container
  7. def add (arg0: Component, arg1: Any): Unit

    Definition Classes
    Container
  8. def add (arg0: Component, arg1: Int): Component

    Definition Classes
    Container
  9. def add (arg0: String, arg1: Component): Component

    Definition Classes
    Container
  10. def add (arg0: Component): Component

    Definition Classes
    Container
  11. def add (arg0: PopupMenu): Unit

    Definition Classes
    Component
  12. def addAncestorListener (arg0: AncestorListener): Unit

    Definition Classes
    JComponent
  13. def addComponentListener (arg0: ComponentListener): Unit

    Definition Classes
    Component
  14. def addContainerListener (arg0: ContainerListener): Unit

    Definition Classes
    Container
  15. def addFocusListener (arg0: FocusListener): Unit

    Definition Classes
    Component
  16. def addHierarchyBoundsListener (arg0: HierarchyBoundsListener): Unit

    Definition Classes
    Component
  17. def addHierarchyListener (arg0: HierarchyListener): Unit

    Definition Classes
    Component
  18. def addImpl (arg0: Component, arg1: Any, arg2: Int): Unit

    Attributes
    protected[awt]
    Definition Classes
    Container
  19. def addInputMethodListener (arg0: InputMethodListener): Unit

    Definition Classes
    Component
  20. def addKeyListener (arg0: KeyListener): Unit

    Definition Classes
    Component
  21. def addLinkComponent (c: AnyRef): Unit

    internal use only

    internal use only

    Definition Classes
    AppletPanel
  22. def addMouseListener (arg0: MouseListener): Unit

    Definition Classes
    Component
  23. def addMouseMotionListener (arg0: MouseMotionListener): Unit

    Definition Classes
    Component
  24. def addMouseWheelListener (arg0: MouseWheelListener): Unit

    Definition Classes
    Component
  25. def addNotify (): Unit

    Definition Classes
    JComponent → Container → Component
  26. def addPropertyChangeListener (arg0: String, arg1: PropertyChangeListener): Unit

    Definition Classes
    Container → Component
  27. def addPropertyChangeListener (arg0: PropertyChangeListener): Unit

    Definition Classes
    Container → Component
  28. def addVetoableChangeListener (arg0: VetoableChangeListener): Unit

    Definition Classes
    JComponent
  29. def applyComponentOrientation (arg0: ComponentOrientation): Unit

    Definition Classes
    Container → Component
  30. def areFocusTraversalKeysSet (arg0: Int): Boolean

    Definition Classes
    Container → Component
  31. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  32. def checkImage (arg0: Image, arg1: Int, arg2: Int, arg3: ImageObserver): Int

    Definition Classes
    Component
  33. def checkImage (arg0: Image, arg1: ImageObserver): Int

    Definition Classes
    Component
  34. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def coalesceEvents (arg0: AWTEvent, arg1: AWTEvent): AWTEvent

    Attributes
    protected[awt]
    Definition Classes
    Component
  36. 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
    AppletPanel
    Annotations
    @throws( classOf[CompilerException] )
    See also

    #commandLater

  37. 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
    AppletPanel
    Annotations
    @throws( classOf[CompilerException] )
    See also

    #command

  38. def compile (): Unit

    Recompiles the model.

    Recompiles the model. Useful after calling setProcedures().

    See also

    #setProcedures

  39. def computeVisibleRect (arg0: Rectangle): Unit

    Definition Classes
    JComponent
  40. def contains (arg0: Int, arg1: Int): Boolean

    Definition Classes
    JComponent → Component
  41. def contains (arg0: Point): Boolean

    Definition Classes
    Component
  42. def createImage (arg0: Int, arg1: Int): Image

    Definition Classes
    Component
  43. def createImage (arg0: ImageProducer): Image

    Definition Classes
    Component
  44. def createLogger (username: String): Unit

  45. def createToolTip (): JToolTip

    Definition Classes
    JComponent
  46. def createVolatileImage (arg0: Int, arg1: Int, arg2: ImageCapabilities): VolatileImage

    Definition Classes
    Component
    Annotations
    @throws()
  47. def createVolatileImage (arg0: Int, arg1: Int): VolatileImage

    Definition Classes
    Component
  48. val defaultOwner : SimpleJobOwner

    Definition Classes
    AppletPanel
  49. def disableEvents (arg0: Long): Unit

    Attributes
    protected[awt] final
    Definition Classes
    Component
  50. def dispatchEvent (arg0: AWTEvent): Unit

    Attributes
    final
    Definition Classes
    Component
  51. def doLayout (): Unit

    Definition Classes
    Container → Component
  52. def enableEvents (arg0: Long): Unit

    Attributes
    protected[awt] final
    Definition Classes
    Component
  53. def enableInputMethods (arg0: Boolean): Unit

    Definition Classes
    Component
  54. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  55. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  56. def exportWorld (writer: PrintWriter): Unit

    writer

    to writer the contents of the export world feature

  57. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  58. def findComponentAt (arg0: Point): Component

    Definition Classes
    Container
  59. def findComponentAt (arg0: Int, arg1: Int): Component

    Definition Classes
    Container
  60. def findWidget (name: String, tyype: Class[_]): Widget

  61. def firePropertyChange (arg0: String, arg1: Char, arg2: Char): Unit

    Definition Classes
    JComponent → Component
  62. def firePropertyChange (arg0: String, arg1: Int, arg2: Int): Unit

    Definition Classes
    JComponent → Component
  63. def firePropertyChange (arg0: String, arg1: Boolean, arg2: Boolean): Unit

    Definition Classes
    JComponent → Component
  64. def firePropertyChange (arg0: String, arg1: Double, arg2: Double): Unit

    Definition Classes
    Component
  65. def firePropertyChange (arg0: String, arg1: Float, arg2: Float): Unit

    Definition Classes
    Component
  66. def firePropertyChange (arg0: String, arg1: Long, arg2: Long): Unit

    Definition Classes
    Component
  67. def firePropertyChange (arg0: String, arg1: Short, arg2: Short): Unit

    Definition Classes
    Component
  68. def firePropertyChange (arg0: String, arg1: Byte, arg2: Byte): Unit

    Definition Classes
    Component
  69. def firePropertyChange (arg0: String, arg1: Any, arg2: Any): Unit

    Attributes
    protected[awt]
    Definition Classes
    Component
  70. def fireVetoableChange (arg0: String, arg1: Any, arg2: Any): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent
    Annotations
    @throws()
  71. def getAccessibleContext (): AccessibleContext

    Definition Classes
    JPanel → Accessible → JComponent → Component
  72. def getActionForKeyStroke (arg0: KeyStroke): ActionListener

    Definition Classes
    JComponent
  73. def getActionMap (): ActionMap

    Attributes
    final
    Definition Classes
    JComponent
  74. def getAlignmentX (): Float

    Definition Classes
    JComponent → Container → Component
  75. def getAlignmentY (): Float

    Definition Classes
    JComponent → Container → Component
  76. def getAncestorListeners (): Array[AncestorListener]

    Definition Classes
    JComponent
  77. def getAutoscrolls (): Boolean

    Definition Classes
    JComponent
  78. def getBackground (): Color

    Definition Classes
    Component
  79. def getBaseline (arg0: Int, arg1: Int): Int

    Definition Classes
    JComponent → Component
  80. def getBaselineResizeBehavior (): BaselineResizeBehavior

    Definition Classes
    JComponent → Component
  81. def getBorder (): Border

    Definition Classes
    JComponent
  82. def getBounds (arg0: Rectangle): Rectangle

    Definition Classes
    JComponent → Component
  83. def getBounds (): Rectangle

    Definition Classes
    Component
  84. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  85. def getClientProperty (arg0: Any): AnyRef

    Attributes
    final
    Definition Classes
    JComponent
  86. def getColorModel (): ColorModel

    Definition Classes
    Component
  87. def getComponent (arg0: Int): Component

    Definition Classes
    Container
  88. def getComponentAt (arg0: Point): Component

    Definition Classes
    Container → Component
  89. def getComponentAt (arg0: Int, arg1: Int): Component

    Definition Classes
    Container → Component
  90. def getComponentCount (): Int

    Definition Classes
    Container
  91. def getComponentGraphics (arg0: Graphics): Graphics

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  92. def getComponentListeners (): Array[ComponentListener]

    Definition Classes
    Component
  93. def getComponentOrientation (): ComponentOrientation

    Definition Classes
    Component
  94. def getComponentPopupMenu (): JPopupMenu

    Definition Classes
    JComponent
  95. def getComponentZOrder (arg0: Component): Int

    Definition Classes
    Container
  96. def getComponents (): Array[Component]

    Definition Classes
    Container
  97. def getConditionForKeyStroke (arg0: KeyStroke): Int

    Definition Classes
    JComponent
  98. def getContainerListeners (): Array[ContainerListener]

    Definition Classes
    Container
  99. def getCursor (): Cursor

    Definition Classes
    Component
  100. def getDebugGraphicsOptions (): Int

    Definition Classes
    JComponent
  101. def getDropTarget (): DropTarget

    Definition Classes
    Component
  102. def getFileURL (filename: String): URL

    internal use only

    internal use only

    Definition Classes
    AppletPanel
    Annotations
    @throws( ... )
  103. def getFocusCycleRootAncestor (): Container

    Definition Classes
    Component
  104. def getFocusListeners (): Array[FocusListener]

    Definition Classes
    Component
  105. def getFocusTraversalKeys (arg0: Int): Set[AWTKeyStroke]

    Definition Classes
    Container → Component
  106. def getFocusTraversalKeysEnabled (): Boolean

    Definition Classes
    Component
  107. def getFocusTraversalPolicy (): FocusTraversalPolicy

    Definition Classes
    Container
  108. def getFont (): Font

    Definition Classes
    Component → MenuContainer
  109. def getFontMetrics (arg0: Font): FontMetrics

    Definition Classes
    JComponent → Component
  110. def getForeground (): Color

    Definition Classes
    Component
  111. def getGraphics (): Graphics

    Definition Classes
    JComponent → Component
  112. def getGraphicsConfiguration (): GraphicsConfiguration

    Definition Classes
    Component
  113. def getHeight (): Int

    Definition Classes
    JComponent → Component
  114. def getHierarchyBoundsListeners (): Array[HierarchyBoundsListener]

    Definition Classes
    Component
  115. def getHierarchyListeners (): Array[HierarchyListener]

    Definition Classes
    Component
  116. def getIgnoreRepaint (): Boolean

    Definition Classes
    Component
  117. def getInheritsPopupMenu (): Boolean

    Definition Classes
    JComponent
  118. def getInputContext (): InputContext

    Definition Classes
    Component
  119. def getInputMap (): InputMap

    Attributes
    final
    Definition Classes
    JComponent
  120. def getInputMap (arg0: Int): InputMap

    Attributes
    final
    Definition Classes
    JComponent
  121. def getInputMethodListeners (): Array[InputMethodListener]

    Definition Classes
    Component
  122. def getInputMethodRequests (): InputMethodRequests

    Definition Classes
    Component
  123. def getInputVerifier (): InputVerifier

    Definition Classes
    JComponent
  124. def getInsets (arg0: Insets): Insets

    Definition Classes
    JComponent
  125. def getInsets (): Insets

    Definition Classes
    JComponent → Container
  126. def getKeyListeners (): Array[KeyListener]

    Definition Classes
    Component
  127. def getLayout (): LayoutManager

    Definition Classes
    Container
  128. def getLinkChildren (): Array[AnyRef]

    internal use only

    internal use only

    Definition Classes
    AppletPanel → LinkParent
  129. def getLinkParent (): Null

    internal use only

    internal use only

    Definition Classes
    InterfaceComponent → LinkChild
  130. def getListeners [T <: EventListener] (arg0: Class[T]): Array[T]

    Definition Classes
    JComponent → Container → Component
  131. def getLocale (): Locale

    Definition Classes
    Component
  132. def getLocation (arg0: Point): Point

    Definition Classes
    JComponent → Component
  133. def getLocation (): Point

    Definition Classes
    Component
  134. def getLocationOnScreen (): Point

    Definition Classes
    Component
  135. def getMaximumSize (): Dimension

    Definition Classes
    JComponent → Container → Component
  136. def getMinimumSize (): Dimension

    Definition Classes
    JComponent → Container → Component
  137. def getMouseListeners (): Array[MouseListener]

    Definition Classes
    Component
  138. def getMouseMotionListeners (): Array[MouseMotionListener]

    Definition Classes
    Component
  139. def getMousePosition (arg0: Boolean): Point

    Definition Classes
    Container
    Annotations
    @throws()
  140. def getMousePosition (): Point

    Definition Classes
    Component
    Annotations
    @throws()
  141. def getMouseWheelListeners (): Array[MouseWheelListener]

    Definition Classes
    Component
  142. def getName (): String

    Definition Classes
    Component
  143. def getParent (): Container

    Definition Classes
    Component
  144. 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.

  145. def getPopupLocation (arg0: MouseEvent): Point

    Definition Classes
    JComponent
  146. def getPreferredSize (): Dimension

    Definition Classes
    JComponent → Container → Component
  147. def getProcedures : String

    Returns the contents of the Code tab.

    Returns the contents of the Code tab.

    returns

    contents of Code tab

    Definition Classes
    AppletPanel
  148. def getPropertyChangeListeners (arg0: String): Array[PropertyChangeListener]

    Definition Classes
    Component
  149. def getPropertyChangeListeners (): Array[PropertyChangeListener]

    Definition Classes
    Component
  150. def getRegisteredKeyStrokes (): Array[KeyStroke]

    Definition Classes
    JComponent
  151. def getRootPane (): JRootPane

    Definition Classes
    JComponent
  152. def getSize (arg0: Dimension): Dimension

    Definition Classes
    JComponent → Component
  153. def getSize (): Dimension

    Definition Classes
    Component
  154. def getToolTipLocation (arg0: MouseEvent): Point

    Definition Classes
    JComponent
  155. def getToolTipText (arg0: MouseEvent): String

    Definition Classes
    JComponent
  156. def getToolTipText (): String

    Definition Classes
    JComponent
  157. def getToolkit (): Toolkit

    Definition Classes
    Component
  158. def getTopLevelAncestor (): Container

    Definition Classes
    JComponent
  159. def getTransferHandler (): TransferHandler

    Definition Classes
    JComponent → HasGetTransferHandler
  160. def getTreeLock (): AnyRef

    Attributes
    final
    Definition Classes
    Component
  161. def getUI (): PanelUI

    Definition Classes
    JPanel
  162. def getUIClassID (): String

    Definition Classes
    JPanel → JComponent
  163. def getVerifyInputWhenFocusTarget (): Boolean

    Definition Classes
    JComponent
  164. def getVetoableChangeListeners (): Array[VetoableChangeListener]

    Definition Classes
    JComponent
  165. 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.

  166. def getVisibleRect (): Rectangle

    Definition Classes
    JComponent
  167. def getWidth (): Int

    Definition Classes
    JComponent → Component
  168. def getX (): Int

    Definition Classes
    JComponent → Component
  169. def getY (): Int

    Definition Classes
    JComponent → Component
  170. def grabFocus (): Unit

    Definition Classes
    JComponent
  171. def handle (throwable: Throwable): Unit

    internal use only

    internal use only

    Definition Classes
    AppletPanel → Handler
  172. def hasFocus (): Boolean

    Definition Classes
    Component
  173. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  174. 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

  175. val iP : InterfacePanelLite

    Definition Classes
    AppletPanel
  176. def imageUpdate (arg0: Image, arg1: Int, arg2: Int, arg3: Int, arg4: Int, arg5: Int): Boolean

    Definition Classes
    Component → ImageObserver
  177. def invalidate (): Unit

    Definition Classes
    Container → Component
  178. def isAncestorOf (arg0: Component): Boolean

    Definition Classes
    Container
  179. def isBackgroundSet (): Boolean

    Definition Classes
    Component
  180. def isCursorSet (): Boolean

    Definition Classes
    Component
  181. def isDisplayable (): Boolean

    Definition Classes
    Component
  182. def isDoubleBuffered (): Boolean

    Definition Classes
    JComponent → Component
  183. def isEnabled (): Boolean

    Definition Classes
    Component
  184. def isFocusCycleRoot (): Boolean

    Definition Classes
    Container
  185. def isFocusCycleRoot (arg0: Container): Boolean

    Definition Classes
    Container → Component
  186. def isFocusOwner (): Boolean

    Definition Classes
    Component
  187. def isFocusTraversalPolicyProvider (): Boolean

    Attributes
    final
    Definition Classes
    Container
  188. def isFocusTraversalPolicySet (): Boolean

    Definition Classes
    Container
  189. def isFocusable (): Boolean

    Definition Classes
    Component
  190. def isFontSet (): Boolean

    Definition Classes
    Component
  191. def isForegroundSet (): Boolean

    Definition Classes
    Component
  192. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  193. def isLightweight (): Boolean

    Definition Classes
    Component
  194. def isMaximumSizeSet (): Boolean

    Definition Classes
    Component
  195. def isMinimumSizeSet (): Boolean

    Definition Classes
    Component
  196. def isOpaque (): Boolean

    Definition Classes
    JComponent → Component
  197. def isOptimizedDrawingEnabled (): Boolean

    Definition Classes
    JComponent
  198. def isPaintingForPrint (): Boolean

    Attributes
    final
    Definition Classes
    JComponent
  199. def isPaintingTile (): Boolean

    Definition Classes
    JComponent
  200. def isPreferredSizeSet (): Boolean

    Definition Classes
    Component
  201. def isRequestFocusEnabled (): Boolean

    Definition Classes
    JComponent
  202. def isShowing (): Boolean

    Definition Classes
    Component
  203. def isValid (): Boolean

    Definition Classes
    Component
  204. def isValidateRoot (): Boolean

    Definition Classes
    JComponent
  205. def isVisible (): Boolean

    Definition Classes
    Component
  206. val linkComponents : List[AnyRef]

    Definition Classes
    AppletPanel
  207. def list (arg0: PrintWriter, arg1: Int): Unit

    Definition Classes
    Container → Component
  208. def list (arg0: PrintStream, arg1: Int): Unit

    Definition Classes
    Container → Component
  209. def list (arg0: PrintWriter): Unit

    Definition Classes
    Component
  210. def list (arg0: PrintStream): Unit

    Definition Classes
    Component
  211. def list (): Unit

    Definition Classes
    Component
  212. 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
    AppletPanel
  213. var logger : Logger

  214. def makeWidget (text: String): Unit

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

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

    text

    the widget specification

  215. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  216. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  217. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  218. 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( ... )
  219. def openFromSource (name: String, path: 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.

    Definition Classes
    AppletPanel
    Annotations
    @throws( classOf[InvalidVersionException] )
  220. def paint (arg0: Graphics): Unit

    Definition Classes
    JComponent → Container → Component
  221. def paintAll (arg0: Graphics): Unit

    Definition Classes
    Component
  222. def paintBorder (arg0: Graphics): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  223. def paintChildren (arg0: Graphics): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  224. def paintComponent (arg0: Graphics): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  225. def paintComponents (arg0: Graphics): Unit

    Definition Classes
    Container
  226. def paintImmediately (arg0: Rectangle): Unit

    Definition Classes
    JComponent
  227. def paintImmediately (arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit

    Definition Classes
    JComponent
  228. val panel : AppletAdPanel

    Definition Classes
    AppletPanel
  229. def paramString (): String

    Attributes
    protected[swing]
    Definition Classes
    JPanel → JComponent → Container → Component
  230. def prepareImage (arg0: Image, arg1: Int, arg2: Int, arg3: ImageObserver): Boolean

    Definition Classes
    Component
  231. def prepareImage (arg0: Image, arg1: ImageObserver): Boolean

    Definition Classes
    Component
  232. 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.)

  233. def print (arg0: Graphics): Unit

    Definition Classes
    JComponent → Container → Component
  234. def printAll (arg0: Graphics): Unit

    Definition Classes
    JComponent → Component
  235. def printBorder (arg0: Graphics): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  236. def printChildren (arg0: Graphics): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  237. def printComponent (arg0: Graphics): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  238. def printComponents (arg0: Graphics): Unit

    Definition Classes
    Container
  239. val procedures : ProceduresLite

    Definition Classes
    AppletPanel
  240. def processComponentEvent (arg0: ComponentEvent): Unit

    Attributes
    protected[awt]
    Definition Classes
    Component
  241. def processComponentKeyEvent (arg0: KeyEvent): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  242. def processContainerEvent (arg0: ContainerEvent): Unit

    Attributes
    protected[awt]
    Definition Classes
    Container
  243. def processEvent (arg0: AWTEvent): Unit

    Attributes
    protected[awt]
    Definition Classes
    Container → Component
  244. def processFocusEvent (arg0: FocusEvent): Unit

    Attributes
    protected[awt]
    Definition Classes
    Component
  245. def processHierarchyBoundsEvent (arg0: HierarchyEvent): Unit

    Attributes
    protected[awt]
    Definition Classes
    Component
  246. def processHierarchyEvent (arg0: HierarchyEvent): Unit

    Attributes
    protected[awt]
    Definition Classes
    Component
  247. def processInputMethodEvent (arg0: InputMethodEvent): Unit

    Attributes
    protected[awt]
    Definition Classes
    Component
  248. def processKeyBinding (arg0: KeyStroke, arg1: KeyEvent, arg2: Int, arg3: Boolean): Boolean

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  249. def processKeyEvent (arg0: KeyEvent): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent → Component
  250. def processMouseEvent (arg0: MouseEvent): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent → Component
  251. def processMouseMotionEvent (arg0: MouseEvent): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent → Component
  252. def processMouseWheelEvent (arg0: MouseWheelEvent): Unit

    Attributes
    protected[awt]
    Definition Classes
    Component
  253. def putClientProperty (arg0: Any, arg1: Any): Unit

    Attributes
    final
    Definition Classes
    JComponent
  254. def registerKeyboardAction (arg0: ActionListener, arg1: KeyStroke, arg2: Int): Unit

    Definition Classes
    JComponent
  255. def registerKeyboardAction (arg0: ActionListener, arg1: String, arg2: KeyStroke, arg3: Int): Unit

    Definition Classes
    JComponent
  256. def remove (arg0: Component): Unit

    Definition Classes
    Container
  257. def remove (arg0: Int): Unit

    Definition Classes
    Container
  258. def remove (arg0: MenuComponent): Unit

    Definition Classes
    Component → MenuContainer
  259. def removeAll (): Unit

    Definition Classes
    Container
  260. def removeAncestorListener (arg0: AncestorListener): Unit

    Definition Classes
    JComponent
  261. def removeComponentListener (arg0: ComponentListener): Unit

    Definition Classes
    Component
  262. def removeContainerListener (arg0: ContainerListener): Unit

    Definition Classes
    Container
  263. def removeFocusListener (arg0: FocusListener): Unit

    Definition Classes
    Component
  264. def removeHierarchyBoundsListener (arg0: HierarchyBoundsListener): Unit

    Definition Classes
    Component
  265. def removeHierarchyListener (arg0: HierarchyListener): Unit

    Definition Classes
    Component
  266. def removeInputMethodListener (arg0: InputMethodListener): Unit

    Definition Classes
    Component
  267. def removeKeyListener (arg0: KeyListener): Unit

    Definition Classes
    Component
  268. def removeMouseListener (arg0: MouseListener): Unit

    Definition Classes
    Component
  269. def removeMouseMotionListener (arg0: MouseMotionListener): Unit

    Definition Classes
    Component
  270. def removeMouseWheelListener (arg0: MouseWheelListener): Unit

    Definition Classes
    Component
  271. def removeNotify (): Unit

    Definition Classes
    JComponent → Container → Component
  272. def removePropertyChangeListener (arg0: String, arg1: PropertyChangeListener): Unit

    Definition Classes
    Component
  273. def removePropertyChangeListener (arg0: PropertyChangeListener): Unit

    Definition Classes
    Component
  274. def removeVetoableChangeListener (arg0: VetoableChangeListener): Unit

    Definition Classes
    JComponent
  275. def repaint (arg0: Rectangle): Unit

    Definition Classes
    JComponent
  276. def repaint (arg0: Long, arg1: Int, arg2: Int, arg3: Int, arg4: Int): Unit

    Definition Classes
    JComponent → Component
  277. def repaint (arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit

    Definition Classes
    Component
  278. def repaint (arg0: Long): Unit

    Definition Classes
    Component
  279. def repaint (): Unit

    Definition Classes
    Component
  280. 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
    AppletPanel
    Annotations
    @throws( classOf[CompilerException] )
  281. 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.

  282. def requestFocus (): Unit

    AppletPanel passes the focus request to the InterfacePanel

    AppletPanel passes the focus request to the InterfacePanel

    Definition Classes
    AppletPanel → JComponent → Component
  283. def requestFocus (arg0: Boolean): Boolean

    Definition Classes
    JComponent → Component
  284. def requestFocusInWindow (arg0: Boolean): Boolean

    Attributes
    protected[swing]
    Definition Classes
    JComponent → Component
  285. def requestFocusInWindow (): Boolean

    Definition Classes
    JComponent → Component
  286. def resetKeyboardActions (): Unit

    Definition Classes
    JComponent
  287. def revalidate (): Unit

    Definition Classes
    JComponent
  288. def scrollRectToVisible (arg0: Rectangle): Unit

    Definition Classes
    JComponent
  289. def setActionMap (arg0: ActionMap): Unit

    Attributes
    final
    Definition Classes
    JComponent
  290. def setAdVisible (visible: Boolean): Unit

    internal use only

    internal use only

    Definition Classes
    AppletPanel
  291. def setAlignmentX (arg0: Float): Unit

    Definition Classes
    JComponent
  292. def setAlignmentY (arg0: Float): Unit

    Definition Classes
    JComponent
  293. def setAutoscrolls (arg0: Boolean): Unit

    Definition Classes
    JComponent
  294. def setBackground (arg0: Color): Unit

    Definition Classes
    JComponent → Component
  295. def setBorder (arg0: Border): Unit

    Definition Classes
    JComponent
  296. def setBounds (arg0: Rectangle): Unit

    Definition Classes
    Component
  297. def setBounds (arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit

    Definition Classes
    Component
  298. def setComponentOrientation (arg0: ComponentOrientation): Unit

    Definition Classes
    Component
  299. def setComponentPopupMenu (arg0: JPopupMenu): Unit

    Definition Classes
    JComponent
  300. def setComponentZOrder (arg0: Component, arg1: Int): Unit

    Definition Classes
    Container
  301. def setCursor (arg0: Cursor): Unit

    Definition Classes
    Component
  302. def setDebugGraphicsOptions (arg0: Int): Unit

    Definition Classes
    JComponent
  303. def setDoubleBuffered (arg0: Boolean): Unit

    Definition Classes
    JComponent
  304. def setDropTarget (arg0: DropTarget): Unit

    Definition Classes
    Component
  305. def setEnabled (arg0: Boolean): Unit

    Definition Classes
    JComponent → Component
  306. def setFocusCycleRoot (arg0: Boolean): Unit

    Definition Classes
    Container
  307. def setFocusTraversalKeys (arg0: Int, arg1: java.util.Set[_ <: java.awt.AWTKeyStroke]): Unit

    Definition Classes
    JComponent → Container → Component
  308. def setFocusTraversalKeysEnabled (arg0: Boolean): Unit

    Definition Classes
    Component
  309. def setFocusTraversalPolicy (arg0: FocusTraversalPolicy): Unit

    Definition Classes
    Container
  310. def setFocusTraversalPolicyProvider (arg0: Boolean): Unit

    Attributes
    final
    Definition Classes
    Container
  311. def setFocusable (arg0: Boolean): Unit

    Definition Classes
    Component
  312. def setFont (arg0: Font): Unit

    Definition Classes
    JComponent → Container → Component
  313. def setForeground (arg0: Color): Unit

    Definition Classes
    JComponent → Component
  314. def setIgnoreRepaint (arg0: Boolean): Unit

    Definition Classes
    Component
  315. def setInheritsPopupMenu (arg0: Boolean): Unit

    Definition Classes
    JComponent
  316. def setInputMap (arg0: Int, arg1: InputMap): Unit

    Attributes
    final
    Definition Classes
    JComponent
  317. def setInputVerifier (arg0: InputVerifier): Unit

    Definition Classes
    JComponent
  318. def setLayout (arg0: LayoutManager): Unit

    Definition Classes
    Container
  319. def setLocale (arg0: Locale): Unit

    Definition Classes
    Component
  320. def setLocation (arg0: Point): Unit

    Definition Classes
    Component
  321. def setLocation (arg0: Int, arg1: Int): Unit

    Definition Classes
    Component
  322. def setMaximumSize (arg0: Dimension): Unit

    Definition Classes
    JComponent → Component
  323. def setMinimumSize (arg0: Dimension): Unit

    Definition Classes
    JComponent → Component
  324. def setName (arg0: String): Unit

    Definition Classes
    Component
  325. def setOpaque (arg0: Boolean): Unit

    Definition Classes
    JComponent
  326. def setPreferredSize (arg0: Dimension): Unit

    Definition Classes
    JComponent → Component
  327. def setPrefix (url: URL): Unit

    sets the current working directory

    sets the current working directory

    url

    the directory as java.net.URL

    Definition Classes
    AppletPanel
  328. 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
    AppletPanel
  329. def setRequestFocusEnabled (arg0: Boolean): Unit

    Definition Classes
    JComponent
  330. def setSize (arg0: Dimension): Unit

    Definition Classes
    Component
  331. def setSize (arg0: Int, arg1: Int): Unit

    Definition Classes
    Component
  332. def setToolTipText (arg0: String): Unit

    Definition Classes
    JComponent
  333. def setTransferHandler (arg0: TransferHandler): Unit

    Definition Classes
    JComponent
  334. def setUI (arg0: PanelUI): Unit

    Definition Classes
    JPanel
  335. def setUI (arg0: ComponentUI): Unit

    Attributes
    protected[swing]
    Definition Classes
    JComponent
  336. def setVerifyInputWhenFocusTarget (arg0: Boolean): Unit

    Definition Classes
    JComponent
  337. def setVisible (arg0: Boolean): Unit

    Definition Classes
    JComponent → Component
  338. 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

  339. def startLogging (reader: Reader, username: String): Unit

    Starts NetLogo logging using the given file and username

    Starts NetLogo logging using the given file and username

    reader

    a reader that contains an XML properties file as defined by the log4j dtd

    username

    user defined username, this should be a unique identifier

  340. def startLogging (properties: String, username: String): Unit

    Starts NetLogo logging using the given file and username

    Starts NetLogo logging using the given file and username

    properties

    path to the XML properties file as defined by the log4j dtd

    username

    user defined username, this should be a unique identifier

  341. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  342. def toString (): String

    Definition Classes
    Component → AnyRef → Any
  343. def transferFocus (): Unit

    Definition Classes
    Component
  344. def transferFocusBackward (): Unit

    Definition Classes
    Container → Component
  345. def transferFocusDownCycle (): Unit

    Definition Classes
    Container
  346. def transferFocusUpCycle (): Unit

    Definition Classes
    Component
  347. def unregisterKeyboardAction (arg0: KeyStroke): Unit

    Definition Classes
    JComponent
  348. def update (arg0: Graphics): Unit

    Definition Classes
    JComponent → Container → Component
  349. def updateUI (): Unit

    Definition Classes
    JPanel → JComponent
  350. def validate (): Unit

    Definition Classes
    Container → Component
  351. def validateTree (): Unit

    Attributes
    protected[awt]
    Definition Classes
    Container
  352. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  355. val workspace : LiteWorkspace

    Definition Classes
    AppletPanel

Deprecated Value Members

  1. def action (arg0: Event, arg1: Any): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  2. def bounds (): Rectangle

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  3. def countComponents (): Int

    Definition Classes
    Container
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  4. def deliverEvent (arg0: Event): Unit

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  5. def disable (): Unit

    Definition Classes
    JComponent → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  6. def enable (): Unit

    Definition Classes
    JComponent → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  7. def enable (arg0: Boolean): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  8. def getNextFocusableComponent (): Component

    Definition Classes
    JComponent
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  9. def getPeer (): ComponentPeer

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  10. def gotFocus (arg0: Event, arg1: Any): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  11. def handleEvent (arg0: Event): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  12. def hide (): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  13. def insets (): Insets

    Definition Classes
    Container
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  14. def inside (arg0: Int, arg1: Int): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  15. def isFocusTraversable (): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  16. def isManagingFocus (): Boolean

    Definition Classes
    JComponent
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  17. def keyDown (arg0: Event, arg1: Int): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  18. def keyUp (arg0: Event, arg1: Int): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  19. def layout (): Unit

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  20. def locate (arg0: Int, arg1: Int): Component

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  21. def location (): Point

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  22. def lostFocus (arg0: Event, arg1: Any): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  23. def minimumSize (): Dimension

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  24. def mouseDown (arg0: Event, arg1: Int, arg2: Int): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  25. def mouseDrag (arg0: Event, arg1: Int, arg2: Int): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  26. def mouseEnter (arg0: Event, arg1: Int, arg2: Int): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  27. def mouseExit (arg0: Event, arg1: Int, arg2: Int): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  28. def mouseMove (arg0: Event, arg1: Int, arg2: Int): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  29. def mouseUp (arg0: Event, arg1: Int, arg2: Int): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  30. def move (arg0: Int, arg1: Int): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  31. def nextFocus (): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  32. def postEvent (arg0: Event): Boolean

    Definition Classes
    Component → MenuContainer
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  33. def preferredSize (): Dimension

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  34. def requestDefaultFocus (): Boolean

    Definition Classes
    JComponent
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  35. def reshape (arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit

    Definition Classes
    JComponent → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  36. def resize (arg0: Dimension): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  37. def resize (arg0: Int, arg1: Int): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  38. def setNextFocusableComponent (arg0: Component): Unit

    Definition Classes
    JComponent
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  39. def show (arg0: Boolean): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  40. def show (): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

  41. def size (): Dimension

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    see corresponding Javadoc for more information.

Inherited from LinkChild

Inherited from AppletPanel

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