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, 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. Container
  10. Component
  11. Serializable
  12. MenuContainer
  13. ImageObserver
  14. AnyRef
  15. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InterfaceComponent(frame: Frame)

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. 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. final def asInstanceOf[T0]: T0

    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] )
    Exceptions thrown
    org.nlogo.api.CompilerException

    if the code fails to compile

    IllegalStateException

    if called from the AWT event queue thread

    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] )
    Exceptions thrown
    org.nlogo.api.CompilerException

    if the code fails to compile

    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. final def disableEvents(arg0: Long): Unit

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

    Definition Classes
    Component
  51. def doLayout(): Unit

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

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

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

    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. final def getActionMap(): ActionMap

    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 getBorder(): Border

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

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

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

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

    Definition Classes
    JComponent
  84. def getColorModel(): ColorModel

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

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

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

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

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

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

    Definition Classes
    Component
  91. def getComponentOrientation(): ComponentOrientation

    Definition Classes
    Component
  92. def getComponentPopupMenu(): JPopupMenu

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

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

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

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

    Definition Classes
    Container
  97. def getCursor(): Cursor

    Definition Classes
    Component
  98. def getDebugGraphicsOptions(): Int

    Definition Classes
    JComponent
  99. def getDropTarget(): DropTarget

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

    internal use only

    internal use only

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

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

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

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

    Definition Classes
    Component
  105. def getFocusTraversalPolicy(): FocusTraversalPolicy

    Definition Classes
    Container
  106. def getFont(): Font

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

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

    Definition Classes
    Component
  109. def getGraphics(): Graphics

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

    Definition Classes
    Component
  111. def getHeight(): Int

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

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

    Definition Classes
    Component
  114. def getIgnoreRepaint(): Boolean

    Definition Classes
    Component
  115. def getInheritsPopupMenu(): Boolean

    Definition Classes
    JComponent
  116. def getInputContext(): InputContext

    Definition Classes
    Component
  117. final def getInputMap(): InputMap

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

    Definition Classes
    JComponent
  119. def getInputMethodListeners(): Array[InputMethodListener]

    Definition Classes
    Component
  120. def getInputMethodRequests(): InputMethodRequests

    Definition Classes
    Component
  121. def getInputVerifier(): InputVerifier

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

    Definition Classes
    JComponent
  123. def getInsets(): Insets

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

    Definition Classes
    Component
  125. def getLayout(): LayoutManager

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

    internal use only

    internal use only

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

    internal use only

    internal use only

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

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

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

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

    Definition Classes
    Component
  132. def getLocationOnScreen(): Point

    Definition Classes
    Component
  133. def getMaximumSize(): Dimension

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

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

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

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

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

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

    Definition Classes
    Component
  140. def getName(): String

    Definition Classes
    Component
  141. def getParent(): Container

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

  143. def getPopupLocation(arg0: MouseEvent): Point

    Definition Classes
    JComponent
  144. def getPreferredSize(): Dimension

    Definition Classes
    JComponent → Container → Component
  145. 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
  146. def getPropertyChangeListeners(arg0: String): Array[PropertyChangeListener]

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

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

    Definition Classes
    JComponent
  149. def getRootPane(): JRootPane

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

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

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

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

    Definition Classes
    JComponent
  154. def getToolTipText(): String

    Definition Classes
    JComponent
  155. def getToolkit(): Toolkit

    Definition Classes
    Component
  156. def getTopLevelAncestor(): Container

    Definition Classes
    JComponent
  157. def getTransferHandler(): TransferHandler

    Definition Classes
    JComponent
  158. final def getTreeLock(): AnyRef

    Definition Classes
    Component
  159. def getUI(): PanelUI

    Definition Classes
    JPanel
  160. def getUIClassID(): String

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

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

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

  164. def getVisibleRect(): Rectangle

    Definition Classes
    JComponent
  165. def getWidth(): Int

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

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

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

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

    internal use only

    internal use only

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

    Definition Classes
    Component
  171. def hashCode(): Int

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

  173. val iP: InterfacePanelLite

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

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

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

    Definition Classes
    Container
  177. def isBackgroundSet(): Boolean

    Definition Classes
    Component
  178. def isCursorSet(): Boolean

    Definition Classes
    Component
  179. def isDisplayable(): Boolean

    Definition Classes
    Component
  180. def isDoubleBuffered(): Boolean

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

    Definition Classes
    Component
  182. def isFocusCycleRoot(): Boolean

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

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

    Definition Classes
    Component
  185. final def isFocusTraversalPolicyProvider(): Boolean

    Definition Classes
    Container
  186. def isFocusTraversalPolicySet(): Boolean

    Definition Classes
    Container
  187. def isFocusable(): Boolean

    Definition Classes
    Component
  188. def isFontSet(): Boolean

    Definition Classes
    Component
  189. def isForegroundSet(): Boolean

    Definition Classes
    Component
  190. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  191. def isLightweight(): Boolean

    Definition Classes
    Component
  192. def isMaximumSizeSet(): Boolean

    Definition Classes
    Component
  193. def isMinimumSizeSet(): Boolean

    Definition Classes
    Component
  194. def isOpaque(): Boolean

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

    Definition Classes
    JComponent
  196. def isPaintingTile(): Boolean

    Definition Classes
    JComponent
  197. def isPreferredSizeSet(): Boolean

    Definition Classes
    Component
  198. def isRequestFocusEnabled(): Boolean

    Definition Classes
    JComponent
  199. def isShowing(): Boolean

    Definition Classes
    Component
  200. def isValid(): Boolean

    Definition Classes
    Component
  201. def isValidateRoot(): Boolean

    Definition Classes
    JComponent
  202. def isVisible(): Boolean

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

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

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

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

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

    Definition Classes
    Component
  208. def list(): Unit

    Definition Classes
    Component
  209. 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
  210. var logger: Logger

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

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

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

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

    Definition Classes
    AnyRef
  215. 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( ... )
  216. 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] )
  217. def paint(arg0: Graphics): Unit

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

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

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

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

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

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

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

    Definition Classes
    JComponent
  225. val panel: AppletAdPanel

    Definition Classes
    AppletPanel
  226. def paramString(): String

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

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

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

  230. def print(arg0: Graphics): Unit

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

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

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

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

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

    Definition Classes
    Container
  236. val procedures: ProceduresLite

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Component
  268. def removeNotify(): Unit

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

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

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

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

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

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

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

    Definition Classes
    Component
  276. def repaint(): Unit

    Definition Classes
    Component
  277. 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] )
    Exceptions thrown
    org.nlogo.api.CompilerException

    if the code fails to compile

    IllegalStateException

    if called from the AWT event queue thread

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

  279. def requestFocus(): Unit

    AppletPanel passes the focus request to the InterfacePanel

    AppletPanel passes the focus request to the InterfacePanel

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

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

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

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

    Definition Classes
    JComponent
  284. def revalidate(): Unit

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

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

    Definition Classes
    JComponent
  287. def setAdVisible(visible: Boolean): Unit

    internal use only

    internal use only

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    Container
  308. def setFocusable(arg0: Boolean): Unit

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

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

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

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

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

    Definition Classes
    JComponent
  314. def setInputVerifier(arg0: InputVerifier): Unit

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

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

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

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

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

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

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

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

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

    Definition Classes
    JComponent → Component
  324. 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
  325. 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
  326. def setRequestFocusEnabled(arg0: Boolean): Unit

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  339. def toString(): String

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

    Definition Classes
    Component
  341. def transferFocusBackward(): Unit

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

    Definition Classes
    Container
  343. def transferFocusUpCycle(): Unit

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  352. val workspace: LiteWorkspace

    Definition Classes
    AppletPanel

Deprecated Value Members

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def bounds(): Rectangle

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. def countComponents(): Int

    Definition Classes
    Container
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. def deliverEvent(arg0: Event): Unit

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  5. def disable(): Unit

    Definition Classes
    JComponent → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  6. def enable(): Unit

    Definition Classes
    JComponent → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  7. def enable(arg0: Boolean): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  8. def getNextFocusableComponent(): Component

    Definition Classes
    JComponent
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  9. def getPeer(): ComponentPeer

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  11. def handleEvent(arg0: Event): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  12. def hide(): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  13. def insets(): Insets

    Definition Classes
    Container
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  15. def isFocusTraversable(): Boolean

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  16. def isManagingFocus(): Boolean

    Definition Classes
    JComponent
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  19. def layout(): Unit

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  21. def location(): Point

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  23. def minimumSize(): Dimension

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  31. def nextFocus(): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  32. def postEvent(arg0: Event): Boolean

    Definition Classes
    Component → MenuContainer
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  33. def preferredSize(): Dimension

    Definition Classes
    Container → Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  34. def requestDefaultFocus(): Boolean

    Definition Classes
    JComponent
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) 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

    (Since version ) see corresponding Javadoc for more information.

  36. def resize(arg0: Dimension): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  38. def setNextFocusableComponent(arg0: Component): Unit

    Definition Classes
    JComponent
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  39. def show(arg0: Boolean): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  40. def show(): Unit

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  41. def size(): Dimension

    Definition Classes
    Component
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) 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 Container

Inherited from Component

Inherited from Serializable

Inherited from MenuContainer

Inherited from ImageObserver

Inherited from AnyRef

Inherited from Any