NetLogo 6.2.2 - org.nlogo.lite.InterfaceComponent
Keywords: NetLogo 6.2.2 org.nlogo.lite.InterfaceComponent

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package lite
  Definition Classes
    nlogo
- InterfaceComponent
- LitePanel
- LiteWorkspace
- ProceduresLite

c

org.nlogo.lite

# InterfaceComponent 

###
Companion object InterfaceComponent

#### class InterfaceComponent extends LitePanel with LinkChild

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

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

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

Source
  InterfaceComponent.scala

Linear Supertypes
LinkChild, LitePanel, ControlSet, LinkRoot, LinkParent, Handler, JPanel, Accessible, JComponent, HasGetTransferHandler, Container, Component, Serializable, MenuContainer, ImageObserver, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. InterfaceComponent
2. LinkChild
3. LitePanel
4. ControlSet
5. LinkRoot
6. LinkParent
7. Handler
8. JPanel
9. Accessible
10. JComponent
11. HasGetTransferHandler
12. Container
13. Component
14. Serializable
15. MenuContainer
16. ImageObserver
17. AnyRef
18. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new InterfaceComponent(frame: Frame)

### Type Members

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

### Value Members

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

    Runs NetLogo commands and waits for them to complete.

    Runs NetLogo commands and waits for them to complete.

    This method must not be called from the AWT event queue thread or while that thread is blocked. It is an error to do so.

    source

      The command or commands to run

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

      `IllegalStateException` if called from the AWT event queue thread

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

    See also

      #commandLater

35.  def commandLater(source: String): Unit

    Runs NetLogo commands in the background.

    Runs NetLogo commands in the background. Returns immediately, without waiting for the commands to finish.

    This method may be called from any thread.

    source

      The command or commands to run

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

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

    See also

      #command

36.  def compile(): Unit

    Recompiles the model.

    Recompiles the model. Useful after calling `setProcedures()`.

    See also

      #setProcedures

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

     internal use only

     internal use only

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

     internal use only

     internal use only

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

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

     Returns the contents of the Code tab.

     Returns the contents of the Code tab.

     returns

       contents of Code tab

     Definition Classes
       LitePanel
147.  def getPropertyChangeListeners(arg0: String): Array[PropertyChangeListener]
     Definition Classes
       Component
148.  def getPropertyChangeListeners(): Array[PropertyChangeListener]
     Definition Classes
       Component
149.  def getRegisteredKeyStrokes(): Array[KeyStroke]
     Definition Classes
       JComponent
150.  def getRootPane(): JRootPane
     Definition Classes
       JComponent
151.  def getSize(arg0: Dimension): Dimension
     Definition Classes
       JComponent → Component
152.  def getSize(): Dimension
     Definition Classes
       Component
153.  def getToolTipLocation(arg0: MouseEvent): Point
     Definition Classes
       JComponent
154.  def getToolTipText(arg0: MouseEvent): String
     Definition Classes
       JComponent
155.  def getToolTipText(): String
     Definition Classes
       JComponent
156.  def getToolkit(): Toolkit
     Definition Classes
       Component
157.  def getTopLevelAncestor(): Container
     Definition Classes
       JComponent
158.  def getTransferHandler(): TransferHandler
     Definition Classes
       JComponent → HasGetTransferHandler
159.  final def getTreeLock(): AnyRef
     Definition Classes
       Component
160.  def getUI(): PanelUI
     Definition Classes
       JPanel
161.  def getUIClassID(): String
     Definition Classes
       JPanel → JComponent
162.  def getVerifyInputWhenFocusTarget(): Boolean
     Definition Classes
       JComponent
163.  def getVetoableChangeListeners(): Array[VetoableChangeListener]
     Definition Classes
       JComponent
164.  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.

165.  def getVisibleRect(): Rectangle
     Definition Classes
       JComponent
166.  def getWidth(): Int
     Definition Classes
       JComponent → Component
167.  def getX(): Int
     Definition Classes
       JComponent → Component
168.  def getY(): Int
     Definition Classes
       JComponent → Component
169.  def grabFocus(): Unit
     Definition Classes
       JComponent
170.  def handle(throwable: Throwable): Unit

     internal use only

     internal use only

     Definition Classes
       LitePanel → Handler
171.  def hasFocus(): Boolean
     Definition Classes
       Component
172.  def hashCode(): Int
     Definition Classes
       AnyRef → Any
     Annotations
       @native()
173.  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

174.  val iP: InterfacePanelLite
     Definition Classes
       LitePanel
175.  def imageUpdate(arg0: Image, arg1: Int, arg2: Int, arg3: Int, arg4: Int, arg5: Int): Boolean
     Definition Classes
       Component → ImageObserver
176.  def invalidate(): Unit
     Definition Classes
       Container → Component
177.  def isAncestorOf(arg0: Component): Boolean
     Definition Classes
       Container
178.  def isBackgroundSet(): Boolean
     Definition Classes
       Component
179.  def isCursorSet(): Boolean
     Definition Classes
       Component
180.  def isDisplayable(): Boolean
     Definition Classes
       Component
181.  def isDoubleBuffered(): Boolean
     Definition Classes
       JComponent → Component
182.  def isEnabled(): Boolean
     Definition Classes
       Component
183.  def isFocusCycleRoot(): Boolean
     Definition Classes
       Container
184.  def isFocusCycleRoot(arg0: Container): Boolean
     Definition Classes
       Container → Component
185.  def isFocusOwner(): Boolean
     Definition Classes
       Component
186.  final def isFocusTraversalPolicyProvider(): Boolean
     Definition Classes
       Container
187.  def isFocusTraversalPolicySet(): Boolean
     Definition Classes
       Container
188.  def isFocusable(): Boolean
     Definition Classes
       Component
189.  def isFontSet(): Boolean
     Definition Classes
       Component
190.  def isForegroundSet(): Boolean
     Definition Classes
       Component
191.  final def isInstanceOf[T0]: Boolean
     Definition Classes
       Any
192.  def isLightweight(): Boolean
     Definition Classes
       Component
193.  def isMaximumSizeSet(): Boolean
     Definition Classes
       Component
194.  def isMinimumSizeSet(): Boolean
     Definition Classes
       Component
195.  def isOpaque(): Boolean
     Definition Classes
       JComponent → Component
196.  def isOptimizedDrawingEnabled(): Boolean
     Definition Classes
       JComponent
197.  final def isPaintingForPrint(): Boolean
     Definition Classes
       JComponent
198.  def isPaintingOrigin(): Boolean
     Attributes
       protected[javax.swing]
     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 → Container
205.  def isVisible(): Boolean
     Definition Classes
       Component
     Annotations
       @Transient()
206.  val linkComponents: ListBuffer[AnyRef]
     Attributes
       protected
     Definition Classes
       LinkRoot
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
       LitePanel
213.  val liteEditorFactory: DefaultEditorFactory
     Attributes
       protected
     Definition Classes
       LitePanel
214.  var logger: Logger
215.  def makeWidget(widget: Widget): Unit

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

216.  final def ne(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
217.  final def notify(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
218.  final def notifyAll(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
219.  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( ... )
220.  def openFromURI(uri: URI): Unit

     Opens a model stored in a string.

     Opens a model stored in a string.

     Definition Classes
       LitePanel
     Annotations
       @throws( classOf[InvalidVersionException] )
221.  def paint(arg0: Graphics): Unit
     Definition Classes
       JComponent → Container → Component
222.  def paintAll(arg0: Graphics): Unit
     Definition Classes
       Component
223.  def paintBorder(arg0: Graphics): Unit
     Attributes
       protected[javax.swing]
     Definition Classes
       JComponent
224.  def paintChildren(arg0: Graphics): Unit
     Attributes
       protected[javax.swing]
     Definition Classes
       JComponent
225.  def paintComponent(arg0: Graphics): Unit
     Attributes
       protected[javax.swing]
     Definition Classes
       JComponent
226.  def paintComponents(arg0: Graphics): Unit
     Definition Classes
       Container
227.  def paintImmediately(arg0: Rectangle): Unit
     Definition Classes
       JComponent
228.  def paintImmediately(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
     Definition Classes
       JComponent
229.  val panel: LiteAdPanel
     Definition Classes
       LitePanel
230.  def paramString(): String
     Attributes
       protected[javax.swing]
     Definition Classes
       JPanel → JComponent → Container → Component
231.  def prepareImage(arg0: Image, arg1: Int, arg2: Int, arg3: ImageObserver): Boolean
     Definition Classes
       Component
232.  def prepareImage(arg0: Image, arg1: ImageObserver): Boolean
     Definition Classes
       Component
233.  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.)

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

     Runs a NetLogo reporter.

     Runs a NetLogo reporter.

     This method must not be called from the AWT event queue thread or while that thread is blocked. It is an error to do so.

     source

       The reporter to run

     returns

       the result reported; may be of type java.lang.Integer, java.lang.Double, java.lang.Boolean, java.lang.String, `org.nlogo.core.LogoList`, `org.nlogo.api.Agent`, AgentSet, or Nobody

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

       `IllegalStateException` if called from the AWT event queue thread

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

283.  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.

284.  def requestFocus(): Unit

     LitePanel passes the focus request to the InterfacePanel

     LitePanel passes the focus request to the InterfacePanel

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

     internal use only

     internal use only

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

     sets the current working directory

     sets the current working directory

     url

       the directory as java.net.URL

     Definition Classes
       LitePanel
330.  def setProcedures(source: String): Unit

     Replaces the contents of the Code tab.

     Replaces the contents of the Code tab. Does not recompile the model.

     source

       new contents

     Definition Classes
       LitePanel
331.  def setRequestFocusEnabled(arg0: Boolean): Unit
     Definition Classes
       JComponent
332.  def setSize(arg0: Dimension): Unit
     Definition Classes
       Component
333.  def setSize(arg0: Int, arg1: Int): Unit
     Definition Classes
       Component
334.  def setToolTipText(arg0: String): Unit
     Definition Classes
       JComponent
335.  def setTransferHandler(arg0: TransferHandler): Unit
     Definition Classes
       JComponent
336.  def setUI(arg0: PanelUI): Unit
     Definition Classes
       JPanel
337.  def setUI(arg0: ComponentUI): Unit
     Attributes
       protected[javax.swing]
     Definition Classes
       JComponent
338.  def setVerifyInputWhenFocusTarget(arg0: Boolean): Unit
     Definition Classes
       JComponent
339.  def setVisible(arg0: Boolean): Unit
     Definition Classes
       JComponent → Component
340.  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

341.  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

342.  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

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

### Deprecated Value Members

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

### Inherited from LinkChild

### Inherited from LitePanel

### Inherited from ControlSet

### Inherited from LinkRoot

### Inherited from LinkParent

### Inherited from Handler

### Inherited from JPanel

### Inherited from Accessible

### Inherited from JComponent

### Inherited from HasGetTransferHandler

### Inherited from Container

### Inherited from Component

### Inherited from Serializable

### Inherited from MenuContainer

### Inherited from ImageObserver

### Inherited from AnyRef

### Inherited from Any

### Ungrouped