InterfaceComponent

org.nlogo.lite.InterfaceComponent
See theInterfaceComponent companion object
class InterfaceComponent(frame: Frame) extends LitePanel, 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.

Attributes

Companion
object
Source
InterfaceComponent.scala
Graph
Supertypes
trait LinkChild
class LitePanel
trait ControlSet
trait LinkRoot
trait LinkParent
trait Handler
class JPanel
trait Accessible
class JComponent
class Container
class Component
trait Serializable
trait MenuContainer
trait ImageObserver
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

Attributes

Inherited from:
JComponent
Supertypes
class Object
trait Matchable
class Any

Inherited and Abstract classlikes

abstract class AccessibleJComponent

Attributes

Inherited from:
JComponent
Supertypes
trait AccessibleExtendedComponent
trait AccessibleComponent
trait Serializable
class AccessibleContext
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def compile(): Unit

Recompiles the model. Useful after calling setProcedures().

Recompiles the model. Useful after calling setProcedures().

Attributes

See also

#setProcedures

Source
InterfaceComponent.scala
def findWidget(name: String, tpe: Class[_]): Widget

Attributes

Source
InterfaceComponent.scala
override def getLinkParent: Null

internal use only

internal use only

Attributes

Definition Classes
LinkChild
Source
InterfaceComponent.scala
def getPlotContentsAsImage(name: String): RenderedImage

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.

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.

Value parameters

name

the display name of the widget to reveal.

Attributes

Source
InterfaceComponent.scala
def getViewImage: RenderedImage

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

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

Attributes

Source
InterfaceComponent.scala
def hideWidget(name: String): Unit

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.

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.

Value parameters

name

the display name of the widget to hide.

Attributes

See also

#hideWidget

Source
InterfaceComponent.scala
def makeWidget(widget: Widget): 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.

Value parameters

text

the widget specification

Attributes

Source
InterfaceComponent.scala
def open(path: String): Unit

Opens a model stored in a file.

Opens a model stored in a file.

Value parameters

path

the path (absolute or relative) of the NetLogo model to open.

Attributes

Source
InterfaceComponent.scala
def pressButton(name: String): Unit

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

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

Attributes

Source
InterfaceComponent.scala

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.

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.

Attributes

Source
InterfaceComponent.scala
def showWidget(name: String): Unit

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.

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.

Value parameters

name

the display name of the widget to reveal.

Attributes

See also

#hideWidget

Source
InterfaceComponent.scala

Inherited methods

def add(x$0: Component, x$1: <FromJavaObject>, x$2: Int): Unit

Attributes

Inherited from:
Container
def add(x$0: Component, x$1: <FromJavaObject>): Unit

Attributes

Inherited from:
Container
def add(x$0: Component, x$1: Int): Component

Attributes

Inherited from:
Container
def add(x$0: String, x$1: Component): Component

Attributes

Inherited from:
Container
def add(x$0: Component): Component

Attributes

Inherited from:
Container
def add(x$0: PopupMenu): Unit

Attributes

Inherited from:
Component
def addAncestorListener(x$0: AncestorListener): Unit

Attributes

Inherited from:
JComponent
def addComponentListener(x$0: ComponentListener): Unit

Attributes

Inherited from:
Component
def addContainerListener(x$0: ContainerListener): Unit

Attributes

Inherited from:
Container
def addFocusListener(x$0: FocusListener): Unit

Attributes

Inherited from:
Component
def addHierarchyBoundsListener(x$0: HierarchyBoundsListener): Unit

Attributes

Inherited from:
Component
def addHierarchyListener(x$0: HierarchyListener): Unit

Attributes

Inherited from:
Component
def addInputMethodListener(x$0: InputMethodListener): Unit

Attributes

Inherited from:
Component
def addKeyListener(x$0: KeyListener): Unit

Attributes

Inherited from:
Component
def addLinkComponent(c: AnyRef): Unit

Attributes

Inherited from:
LinkRoot
Source
LinkRoot.scala
def addMouseListener(x$0: MouseListener): Unit

Attributes

Inherited from:
Component
def addMouseMotionListener(x$0: MouseMotionListener): Unit

Attributes

Inherited from:
Component
def addMouseWheelListener(x$0: MouseWheelListener): Unit

Attributes

Inherited from:
Component
def addNotify(): Unit

Attributes

Inherited from:
JComponent
def addPropertyChangeListener(x$0: String, x$1: PropertyChangeListener): Unit

Attributes

Inherited from:
Container
def addPropertyChangeListener(x$0: PropertyChangeListener): Unit

Attributes

Inherited from:
Container
def addVetoableChangeListener(x$0: VetoableChangeListener): Unit

Attributes

Inherited from:
JComponent
def applyComponentOrientation(x$0: ComponentOrientation): Unit

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container
def checkImage(x$0: Image, x$1: Int, x$2: Int, x$3: ImageObserver): Int

Attributes

Inherited from:
Component
def checkImage(x$0: Image, x$1: ImageObserver): Int

Attributes

Inherited from:
Component
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.

Value parameters

source

The command or commands to run

Attributes

Throws
IllegalStateException

if called from the AWT event queue thread

org.nlogo.core.CompilerException

if the code fails to compile

See also

#commandLater

Inherited from:
LitePanel
Source
LitePanel.scala
def commandLater(source: String): Unit

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

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

This method may be called from any thread.

Value parameters

source

The command or commands to run

Attributes

Throws
org.nlogo.core.CompilerException

if the code fails to compile

See also

#command

Inherited from:
LitePanel
Source
LitePanel.scala
def computeVisibleRect(x$0: Rectangle): Unit

Attributes

Inherited from:
JComponent
def contains(x$0: Int, x$1: Int): Boolean

Attributes

Inherited from:
JComponent
def contains(x$0: Point): Boolean

Attributes

Inherited from:
Component
def createImage(x$0: Int, x$1: Int): Image

Attributes

Inherited from:
Component
def createImage(x$0: ImageProducer): Image

Attributes

Inherited from:
Component

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala
def createToolTip(): JToolTip

Attributes

Inherited from:
JComponent
def createVolatileImage(x$0: Int, x$1: Int, x$2: ImageCapabilities): VolatileImage

Attributes

Inherited from:
Component
def createVolatileImage(x$0: Int, x$1: Int): VolatileImage

Attributes

Inherited from:
Component
final def dispatchEvent(x$0: AWTEvent): Unit

Attributes

Inherited from:
Component
def doLayout(): Unit

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component
def findComponentAt(x$0: Point): Component

Attributes

Inherited from:
Container
def findComponentAt(x$0: Int, x$1: Int): Component

Attributes

Inherited from:
Container
def firePropertyChange(x$0: String, x$1: Char, x$2: Char): Unit

Attributes

Inherited from:
JComponent
def firePropertyChange(x$0: String, x$1: Int, x$2: Int): Unit

Attributes

Inherited from:
JComponent
def firePropertyChange(x$0: String, x$1: Boolean, x$2: Boolean): Unit

Attributes

Inherited from:
JComponent
def firePropertyChange(x$0: String, x$1: Double, x$2: Double): Unit

Attributes

Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Float, x$2: Float): Unit

Attributes

Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Long, x$2: Long): Unit

Attributes

Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Short, x$2: Short): Unit

Attributes

Inherited from:
Component
def firePropertyChange(x$0: String, x$1: Byte, x$2: Byte): Unit

Attributes

Inherited from:
Component
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getAccessibleContext(): AccessibleContext

Attributes

Inherited from:
JPanel
def getActionForKeyStroke(x$0: KeyStroke): ActionListener

Attributes

Inherited from:
JComponent
final def getActionMap(): ActionMap

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getAncestorListeners(): Array[AncestorListener]

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
JComponent
def getBackground(): Color

Attributes

Inherited from:
Component
def getBaseline(x$0: Int, x$1: Int): Int

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getBaselineResizeBehavior(): BaselineResizeBehavior

Attributes

Inherited from:
JComponent
def getBorder(): Border

Attributes

Inherited from:
JComponent
def getBounds(x$0: Rectangle): Rectangle

Attributes

Inherited from:
JComponent
def getBounds(): Rectangle

Attributes

Inherited from:
Component
final def getClientProperty(x$0: <FromJavaObject>): <FromJavaObject>

Attributes

Inherited from:
JComponent
def getColorModel(): ColorModel

Attributes

Inherited from:
Component
def getComponent(x$0: Int): Component

Attributes

Inherited from:
Container
def getComponentAt(x$0: Point): Component

Attributes

Inherited from:
Container
def getComponentAt(x$0: Int, x$1: Int): Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container
def getComponentListeners(): Array[ComponentListener]

Attributes

Inherited from:
Component
def getComponentOrientation(): ComponentOrientation

Attributes

Inherited from:
Component
def getComponentPopupMenu(): JPopupMenu

Attributes

Inherited from:
JComponent
def getComponentZOrder(x$0: Component): Int

Attributes

Inherited from:
Container
def getComponents(): Array[Component]

Attributes

Inherited from:
Container
def getConditionForKeyStroke(x$0: KeyStroke): Int

Attributes

Inherited from:
JComponent
def getContainerListeners(): Array[ContainerListener]

Attributes

Inherited from:
Container
def getCursor(): Cursor

Attributes

Inherited from:
Component

Attributes

Inherited from:
JComponent
def getDropTarget(): DropTarget

Attributes

Inherited from:
Component
def getFileURL(filename: String): URL

internal use only

internal use only

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala
def getFocusCycleRootAncestor(): Container

Attributes

Inherited from:
Component
def getFocusListeners(): Array[FocusListener]

Attributes

Inherited from:
Component
def getFocusTraversalKeys(x$0: Int): Set[AWTKeyStroke]

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component
def getFocusTraversalPolicy(): FocusTraversalPolicy

Attributes

Inherited from:
Container
def getFont(): Font

Attributes

Inherited from:
Component
def getFontMetrics(x$0: Font): FontMetrics

Attributes

Inherited from:
JComponent
def getForeground(): Color

Attributes

Inherited from:
Component
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getGraphics(): Graphics

Attributes

Inherited from:
JComponent
def getGraphicsConfiguration(): GraphicsConfiguration

Attributes

Inherited from:
Component
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getHeight(): Int

Attributes

Inherited from:
JComponent
def getHierarchyBoundsListeners(): Array[HierarchyBoundsListener]

Attributes

Inherited from:
Component
def getHierarchyListeners(): Array[HierarchyListener]

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
JComponent
def getInputContext(): InputContext

Attributes

Inherited from:
Component
final def getInputMap(): InputMap

Attributes

Inherited from:
JComponent
final def getInputMap(x$0: Int): InputMap

Attributes

Inherited from:
JComponent
def getInputMethodListeners(): Array[InputMethodListener]

Attributes

Inherited from:
Component
def getInputMethodRequests(): InputMethodRequests

Attributes

Inherited from:
Component
def getInputVerifier(): InputVerifier

Attributes

Inherited from:
JComponent
def getInsets(x$0: Insets): Insets

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = true, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getInsets(): Insets

Attributes

Inherited from:
JComponent
def getKeyListeners(): Array[KeyListener]

Attributes

Inherited from:
Component
def getLayout(): LayoutManager

Attributes

Inherited from:
Container
def getLinkChildren: Array[AnyRef]

Attributes

Inherited from:
LinkRoot
Source
LinkRoot.scala
def getListeners[T <: EventListener](x$0: Class[T]): Array[T]

Attributes

Inherited from:
JComponent
def getLocale(): Locale

Attributes

Inherited from:
Component
def getLocation(x$0: Point): Point

Attributes

Inherited from:
JComponent
def getLocation(): Point

Attributes

Inherited from:
Component
def getLocationOnScreen(): Point

Attributes

Inherited from:
Component
def getMaximumSize(): Dimension

Attributes

Inherited from:
JComponent
def getMinimumSize(): Dimension

Attributes

Inherited from:
JComponent
def getMouseListeners(): Array[MouseListener]

Attributes

Inherited from:
Component
def getMouseMotionListeners(): Array[MouseMotionListener]

Attributes

Inherited from:
Component
def getMousePosition(x$0: Boolean): Point

Attributes

Inherited from:
Container
def getMousePosition(): Point

Attributes

Inherited from:
Component
def getMouseWheelListeners(): Array[MouseWheelListener]

Attributes

Inherited from:
Component
def getName(): String

Attributes

Inherited from:
Component
def getParent(): Container

Attributes

Inherited from:
Component
def getPopupLocation(x$0: MouseEvent): Point

Attributes

Inherited from:
JComponent
def getPreferredSize(): Dimension

Attributes

Inherited from:
JComponent

Returns the contents of the Code tab.

Returns the contents of the Code tab.

Attributes

Returns

contents of Code tab

Inherited from:
LitePanel
Source
LitePanel.scala
def getPropertyChangeListeners(x$0: String): Array[PropertyChangeListener]

Attributes

Inherited from:
Component
def getPropertyChangeListeners(): Array[PropertyChangeListener]

Attributes

Inherited from:
Component
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getRegisteredKeyStrokes(): Array[KeyStroke]

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getRootPane(): JRootPane

Attributes

Inherited from:
JComponent
def getSize(x$0: Dimension): Dimension

Attributes

Inherited from:
JComponent
def getSize(): Dimension

Attributes

Inherited from:
Component
def getToolTipLocation(x$0: MouseEvent): Point

Attributes

Inherited from:
JComponent
def getToolTipText(x$0: MouseEvent): String

Attributes

Inherited from:
JComponent
def getToolTipText(): String

Attributes

Inherited from:
JComponent
def getToolkit(): Toolkit

Attributes

Inherited from:
Component
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getTopLevelAncestor(): Container

Attributes

Inherited from:
JComponent
def getTransferHandler(): TransferHandler

Attributes

Inherited from:
JComponent
final def getTreeLock(): <FromJavaObject>

Attributes

Inherited from:
Component
def getUI(): PanelUI

Attributes

Inherited from:
JPanel
@BeanProperty(bound = false, expert = true, hidden = _, preferred = _, required = _, visualUpdate = _, description = "A string that specifies the name of the L&F class.", enumerationValues = _)
def getUIClassID(): String

Attributes

Inherited from:
JPanel

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getVetoableChangeListeners(): Array[VetoableChangeListener]

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getVisibleRect(): Rectangle

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getWidth(): Int

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getX(): Int

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)
def getY(): Int

Attributes

Inherited from:
JComponent
def grabFocus(): Unit

Attributes

Inherited from:
JComponent
def handle(throwable: Throwable): Unit

internal use only

internal use only

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala
def hasFocus(): Boolean

Attributes

Inherited from:
Component
def imageUpdate(x$0: Image, x$1: Int, x$2: Int, x$3: Int, x$4: Int, x$5: Int): Boolean

Attributes

Inherited from:
Component
def invalidate(): Unit

Attributes

Inherited from:
Container
def isAncestorOf(x$0: Component): Boolean

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container
def isFocusCycleRoot(x$0: Container): Boolean

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def isOpaque(): Boolean

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
Component

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
Component
def isValid(): Boolean

Attributes

Inherited from:
Component

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
Component
def list(x$0: PrintWriter, x$1: Int): Unit

Attributes

Inherited from:
Container
def list(x$0: PrintStream, x$1: Int): Unit

Attributes

Inherited from:
Container
def list(x$0: PrintWriter): Unit

Attributes

Inherited from:
Component
def list(x$0: PrintStream): Unit

Attributes

Inherited from:
Component
def list(): Unit

Attributes

Inherited from:
Component
def openFromURI(uri: URI): Unit

Opens a model stored in a string.

Opens a model stored in a string.

Value parameters

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.

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala
def paint(x$0: Graphics): Unit

Attributes

Inherited from:
JComponent
def paintAll(x$0: Graphics): Unit

Attributes

Inherited from:
Component
def paintComponents(x$0: Graphics): Unit

Attributes

Inherited from:
Container
def paintImmediately(x$0: Rectangle): Unit

Attributes

Inherited from:
JComponent
def paintImmediately(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit

Attributes

Inherited from:
JComponent
def prepareImage(x$0: Image, x$1: Int, x$2: Int, x$3: ImageObserver): Boolean

Attributes

Inherited from:
Component
def prepareImage(x$0: Image, x$1: ImageObserver): Boolean

Attributes

Inherited from:
Component
def printAll(x$0: Graphics): Unit

Attributes

Inherited from:
JComponent
def printComponents(x$0: Graphics): Unit

Attributes

Inherited from:
Container
final def putClientProperty(x$0: <FromJavaObject>, x$1: <FromJavaObject>): Unit

Attributes

Inherited from:
JComponent
def registerKeyboardAction(x$0: ActionListener, x$1: KeyStroke, x$2: Int): Unit

Attributes

Inherited from:
JComponent
def registerKeyboardAction(x$0: ActionListener, x$1: String, x$2: KeyStroke, x$3: Int): Unit

Attributes

Inherited from:
JComponent
def remove(x$0: Component): Unit

Attributes

Inherited from:
Container
def remove(x$0: Int): Unit

Attributes

Inherited from:
Container
def remove(x$0: MenuComponent): Unit

Attributes

Inherited from:
Component
def removeAll(): Unit

Attributes

Inherited from:
Container
def removeAncestorListener(x$0: AncestorListener): Unit

Attributes

Inherited from:
JComponent
def removeComponentListener(x$0: ComponentListener): Unit

Attributes

Inherited from:
Component
def removeContainerListener(x$0: ContainerListener): Unit

Attributes

Inherited from:
Container
def removeFocusListener(x$0: FocusListener): Unit

Attributes

Inherited from:
Component
def removeHierarchyBoundsListener(x$0: HierarchyBoundsListener): Unit

Attributes

Inherited from:
Component
def removeHierarchyListener(x$0: HierarchyListener): Unit

Attributes

Inherited from:
Component
def removeInputMethodListener(x$0: InputMethodListener): Unit

Attributes

Inherited from:
Component
def removeKeyListener(x$0: KeyListener): Unit

Attributes

Inherited from:
Component
def removeLinkComponent(c: AnyRef): Unit

Attributes

Inherited from:
LinkRoot
Source
LinkRoot.scala
def removeMouseListener(x$0: MouseListener): Unit

Attributes

Inherited from:
Component
def removeMouseMotionListener(x$0: MouseMotionListener): Unit

Attributes

Inherited from:
Component
def removeMouseWheelListener(x$0: MouseWheelListener): Unit

Attributes

Inherited from:
Component

Attributes

Inherited from:
JComponent
def removePropertyChangeListener(x$0: String, x$1: PropertyChangeListener): Unit

Attributes

Inherited from:
Component
def removePropertyChangeListener(x$0: PropertyChangeListener): Unit

Attributes

Inherited from:
Component
def removeVetoableChangeListener(x$0: VetoableChangeListener): Unit

Attributes

Inherited from:
JComponent
def repaint(x$0: Rectangle): Unit

Attributes

Inherited from:
JComponent
def repaint(x$0: Long, x$1: Int, x$2: Int, x$3: Int, x$4: Int): Unit

Attributes

Inherited from:
JComponent
def repaint(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit

Attributes

Inherited from:
Component
def repaint(x$0: Long): Unit

Attributes

Inherited from:
Component
def repaint(): Unit

Attributes

Inherited from:
Component
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.

Value parameters

source

The reporter to run

Attributes

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

Throws
IllegalStateException

if called from the AWT event queue thread

org.nlogo.core.CompilerException

if the code fails to compile

Inherited from:
LitePanel
Source
LitePanel.scala
override def requestFocus(): Unit

LitePanel passes the focus request to the InterfacePanel

LitePanel passes the focus request to the InterfacePanel

Attributes

Definition Classes
LitePanel -> JComponent -> Component
Inherited from:
LitePanel
Source
LitePanel.scala

Attributes

Inherited from:
JComponent
def requestFocus(x$0: Cause): Unit

Attributes

Inherited from:
Component

Attributes

Inherited from:
JComponent
def requestFocusInWindow(x$0: Cause): Boolean

Attributes

Inherited from:
Component

Attributes

Inherited from:
JComponent
def revalidate(): Unit

Attributes

Inherited from:
JComponent
def scrollRectToVisible(x$0: Rectangle): Unit

Attributes

Inherited from:
JComponent
final def setActionMap(x$0: ActionMap): Unit

Attributes

Inherited from:
JComponent
def setAdVisible(visible: Boolean): Unit

internal use only

internal use only

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala
@BeanProperty(bound = _, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = "The preferred horizontal alignment of the component.", enumerationValues = _)
def setAlignmentX(x$0: Float): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = "The preferred vertical alignment of the component.", enumerationValues = _)
def setAlignmentY(x$0: Float): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = false, expert = true, hidden = _, preferred = _, required = _, visualUpdate = _, description = "Determines if this component automatically scrolls its contents when dragged.", enumerationValues = _)

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = _, preferred = true, required = _, visualUpdate = true, description = "The background color of the component.", enumerationValues = _)
def setBackground(x$0: Color): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = _, preferred = true, required = _, visualUpdate = true, description = "The component\'s border.", enumerationValues = _)
def setBorder(x$0: Border): Unit

Attributes

Inherited from:
JComponent
def setBounds(x$0: Rectangle): Unit

Attributes

Inherited from:
Component
def setBounds(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit

Attributes

Inherited from:
Component
def setComponentOrientation(x$0: ComponentOrientation): Unit

Attributes

Inherited from:
Component
@BeanProperty(bound = _, expert = _, hidden = _, preferred = true, required = _, visualUpdate = _, description = "Popup to show", enumerationValues = _)
def setComponentPopupMenu(x$0: JPopupMenu): Unit

Attributes

Inherited from:
JComponent
def setComponentZOrder(x$0: Component, x$1: Int): Unit

Attributes

Inherited from:
Container
def setCursor(x$0: Cursor): Unit

Attributes

Inherited from:
Component
@BeanProperty(bound = false, expert = _, hidden = _, preferred = true, required = _, visualUpdate = _, description = "Diagnostic options for graphics operations.", enumerationValues = "DebugGraphics.NONE_OPTION", "DebugGraphics.LOG_OPTION", "DebugGraphics.FLASH_OPTION", "DebugGraphics.BUFFERED_OPTION")

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
JComponent
def setDropTarget(x$0: DropTarget): Unit

Attributes

Inherited from:
Component
@BeanProperty(bound = _, expert = true, hidden = _, preferred = true, required = _, visualUpdate = true, description = "The enabled state of the component.", enumerationValues = _)
def setEnabled(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
Container
def setFocusTraversalKeys(x$0: Int, x$1: Set[_ <: AWTKeyStroke]): Unit

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
Component
def setFocusTraversalPolicy(x$0: FocusTraversalPolicy): Unit

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component
@BeanProperty(bound = _, expert = _, hidden = _, preferred = true, required = _, visualUpdate = true, description = "The font for the component.", enumerationValues = _)
def setFont(x$0: Font): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = _, preferred = true, required = _, visualUpdate = true, description = "The foreground color of the component.", enumerationValues = _)
def setForeground(x$0: Color): Unit

Attributes

Inherited from:
JComponent

Attributes

Inherited from:
Component
@BeanProperty(bound = _, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = "Whether or not the JPopupMenu is inherited", enumerationValues = _)

Attributes

Inherited from:
JComponent
final def setInputMap(x$0: Int, x$1: InputMap): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = "The component\'s input verifier.", enumerationValues = _)
def setInputVerifier(x$0: InputVerifier): Unit

Attributes

Inherited from:
JComponent
def setLayout(x$0: LayoutManager): Unit

Attributes

Inherited from:
Container
def setLocale(x$0: Locale): Unit

Attributes

Inherited from:
Component
def setLocation(x$0: Point): Unit

Attributes

Inherited from:
Component
def setLocation(x$0: Int, x$1: Int): Unit

Attributes

Inherited from:
Component
@BeanProperty(bound = _, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = "The maximum size of the component.", enumerationValues = _)
def setMaximumSize(x$0: Dimension): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = "The minimum size of the component.", enumerationValues = _)
def setMinimumSize(x$0: Dimension): Unit

Attributes

Inherited from:
JComponent
def setMixingCutoutShape(x$0: Shape): Unit

Attributes

Inherited from:
Component
def setName(x$0: String): Unit

Attributes

Inherited from:
Component
@BeanProperty(bound = _, expert = true, hidden = _, preferred = _, required = _, visualUpdate = _, description = "The component\'s opacity", enumerationValues = _)
def setOpaque(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = _, preferred = true, required = _, visualUpdate = _, description = "The preferred size of the component.", enumerationValues = _)
def setPreferredSize(x$0: Dimension): Unit

Attributes

Inherited from:
JComponent
def setPrefix(url: URL): Unit

sets the current working directory

sets the current working directory

Value parameters

url

the directory as java.net.URL

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala
def setProcedures(source: String): Unit

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

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

Value parameters

source

new contents

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala

Attributes

Inherited from:
JComponent
def setSize(x$0: Dimension): Unit

Attributes

Inherited from:
Component
def setSize(x$0: Int, x$1: Int): Unit

Attributes

Inherited from:
Component
@BeanProperty(bound = false, expert = _, hidden = _, preferred = true, required = _, visualUpdate = _, description = "The text to display in a tool tip.", enumerationValues = _)
def setToolTipText(x$0: String): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = true, preferred = _, required = _, visualUpdate = _, description = "Mechanism for transfer of data to and from the component", enumerationValues = _)
def setTransferHandler(x$0: TransferHandler): Unit

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = true, preferred = _, required = _, visualUpdate = true, description = "The UI object that implements the Component\'s LookAndFeel.", enumerationValues = _)
def setUI(x$0: PanelUI): Unit

Attributes

Inherited from:
JPanel
@BeanProperty(bound = _, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = "Whether the Component verifies input before accepting focus.", enumerationValues = _)

Attributes

Inherited from:
JComponent
@BeanProperty(bound = _, expert = _, hidden = true, preferred = _, required = _, visualUpdate = true, description = _, enumerationValues = _)
def setVisible(x$0: Boolean): Unit

Attributes

Inherited from:
JComponent
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component
def unregisterKeyboardAction(x$0: KeyStroke): Unit

Attributes

Inherited from:
JComponent
def update(x$0: Graphics): Unit

Attributes

Inherited from:
JComponent
def updateUI(): Unit

Attributes

Inherited from:
JPanel
def userInterface: Future[BufferedImage]

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala
def validate(): Unit

Attributes

Inherited from:
Container

Deprecated and Inherited methods

@Deprecated(since = _, forRemoval = _)
def action(x$0: Event, x$1: <FromJavaObject>): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def bounds(): Rectangle

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Container
@Deprecated(since = _, forRemoval = _)
def deliverEvent(x$0: Event): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Container
@Deprecated(since = _, forRemoval = _)
def disable(): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
JComponent
@Deprecated(since = _, forRemoval = _)
def enable(): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
JComponent
@Deprecated(since = _, forRemoval = _)
def enable(x$0: Boolean): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def getNextFocusableComponent(): Component

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
JComponent
@Deprecated(since = _, forRemoval = _)
def gotFocus(x$0: Event, x$1: <FromJavaObject>): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def handleEvent(x$0: Event): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def hide(): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
JComponent
@Deprecated(since = _, forRemoval = _)
def insets(): Insets

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Container
@Deprecated(since = _, forRemoval = _)
def inside(x$0: Int, x$1: Int): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _) @BeanProperty(bound = false, expert = _, hidden = _, preferred = _, required = _, visualUpdate = _, description = _, enumerationValues = _)

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
JComponent
@Deprecated(since = _, forRemoval = _)
def keyDown(x$0: Event, x$1: Int): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def keyUp(x$0: Event, x$1: Int): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def layout(): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Container
@Deprecated(since = _, forRemoval = _)
def locate(x$0: Int, x$1: Int): Component

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Container
@Deprecated(since = _, forRemoval = _)
def location(): Point

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def lostFocus(x$0: Event, x$1: <FromJavaObject>): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def minimumSize(): Dimension

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Container
@Deprecated(since = _, forRemoval = _)
def mouseDown(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def mouseDrag(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def mouseEnter(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def mouseExit(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def mouseMove(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def mouseUp(x$0: Event, x$1: Int, x$2: Int): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def move(x$0: Int, x$1: Int): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def nextFocus(): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def postEvent(x$0: Event): Boolean

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def preferredSize(): Dimension

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Container
@Deprecated(since = _, forRemoval = _)

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
JComponent
@Deprecated(since = _, forRemoval = _)
def reshape(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
JComponent
@Deprecated(since = _, forRemoval = _)
def resize(x$0: Dimension): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def resize(x$0: Int, x$1: Int): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def setNextFocusableComponent(x$0: Component): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
JComponent
@Deprecated(since = _, forRemoval = _)
def show(x$0: Boolean): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def show(): Unit

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component
@Deprecated(since = _, forRemoval = _)
def size(): Dimension

Attributes

Deprecated
[Since version ] see corresponding Javadoc for more information.
Inherited from:
Component

Inherited fields

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala
protected val linkComponents: ListBuffer[AnyRef]

Attributes

Inherited from:
LinkRoot
Source
LinkRoot.scala
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. Relevant methods on NetLogoListenerManager are addListener(), removeListener(), and clearListeners(). The first two take a NetLogoListener as input.

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.

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala
protected val world: World & CompilationManagement

Attributes

Inherited from:
LitePanel
Source
LitePanel.scala