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
- Alphabetic
- By Inheritance
- InterfaceComponent
- LinkChild
- LitePanel
- ControlSet
- LinkRoot
- LinkParent
- Handler
- JPanel
- Accessible
- JComponent
- HasGetTransferHandler
- Container
- Component
- Serializable
- MenuContainer
- ImageObserver
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new InterfaceComponent(frame: Frame)
Type Members
-
abstract
class
AccessibleAWTComponent extends AccessibleContext with Serializable with AccessibleComponent
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
class
AccessibleAWTContainer extends AccessibleAWTComponent
- Attributes
- protected[java.awt]
- Definition Classes
- Container
-
abstract
class
AccessibleJComponent extends AccessibleAWTContainer with AccessibleExtendedComponent
- Definition Classes
- JComponent
-
class
AccessibleJPanel extends AccessibleJComponent
- Attributes
- protected[javax.swing]
- Definition Classes
- JPanel
-
final
class
ActionStandin extends Action
- Attributes
- private[javax.swing]
- Definition Classes
- JComponent
-
class
BltBufferStrategy extends BufferStrategy
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
class
FlipBufferStrategy extends BufferStrategy
- Attributes
- protected[java.awt]
- Definition Classes
- Component
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(arg0: Component, arg1: Any, arg2: Int): Unit
- Definition Classes
- Container
-
def
add(arg0: Component, arg1: Any): Unit
- Definition Classes
- Container
-
def
add(arg0: Component, arg1: Int): Component
- Definition Classes
- Container
-
def
add(arg0: String, arg1: Component): Component
- Definition Classes
- Container
-
def
add(arg0: Component): Component
- Definition Classes
- Container
-
def
add(arg0: PopupMenu): Unit
- Definition Classes
- Component
-
def
addAncestorListener(arg0: AncestorListener): Unit
- Definition Classes
- JComponent
-
def
addComponentListener(arg0: ComponentListener): Unit
- Definition Classes
- Component
-
def
addContainerListener(arg0: ContainerListener): Unit
- Definition Classes
- Container
-
def
addFocusListener(arg0: FocusListener): Unit
- Definition Classes
- Component
-
def
addHierarchyBoundsListener(arg0: HierarchyBoundsListener): Unit
- Definition Classes
- Component
-
def
addHierarchyListener(arg0: HierarchyListener): Unit
- Definition Classes
- Component
-
def
addImpl(arg0: Component, arg1: Any, arg2: Int): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Container
-
def
addInputMethodListener(arg0: InputMethodListener): Unit
- Definition Classes
- Component
-
def
addKeyListener(arg0: KeyListener): Unit
- Definition Classes
- Component
-
def
addLinkComponent(c: AnyRef): Unit
- Definition Classes
- LinkRoot
-
def
addMouseListener(arg0: MouseListener): Unit
- Definition Classes
- Component
-
def
addMouseMotionListener(arg0: MouseMotionListener): Unit
- Definition Classes
- Component
-
def
addMouseWheelListener(arg0: MouseWheelListener): Unit
- Definition Classes
- Component
-
def
addNotify(): Unit
- Definition Classes
- JComponent → Container → Component
-
def
addPropertyChangeListener(arg0: String, arg1: PropertyChangeListener): Unit
- Definition Classes
- Container → Component
-
def
addPropertyChangeListener(arg0: PropertyChangeListener): Unit
- Definition Classes
- Container → Component
-
def
addVetoableChangeListener(arg0: VetoableChangeListener): Unit
- Definition Classes
- JComponent
-
def
applyComponentOrientation(arg0: ComponentOrientation): Unit
- Definition Classes
- Container → Component
-
def
areFocusTraversalKeysSet(arg0: Int): Boolean
- Definition Classes
- Container → Component
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkImage(arg0: Image, arg1: Int, arg2: Int, arg3: ImageObserver): Int
- Definition Classes
- Component
-
def
checkImage(arg0: Image, arg1: ImageObserver): Int
- Definition Classes
- Component
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
coalesceEvents(arg0: AWTEvent, arg1: AWTEvent): AWTEvent
- Attributes
- protected[java.awt]
- Definition Classes
- 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.
- source
The command or commands to run
- Definition Classes
- LitePanel
- Annotations
- @throws( classOf[CompilerException] )
- Exceptions thrown
IllegalStateException
if called from the AWT event queue threadorg.nlogo.core.CompilerException
if the code fails to compile- See also
#commandLater
-
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
-
def
compile(): Unit
Recompiles the model.
Recompiles the model. Useful after calling
setProcedures()
.- See also
#setProcedures
-
def
computeVisibleRect(arg0: Rectangle): Unit
- Definition Classes
- JComponent
-
def
contains(arg0: Int, arg1: Int): Boolean
- Definition Classes
- JComponent → Component
-
def
contains(arg0: Point): Boolean
- Definition Classes
- Component
-
def
createImage(arg0: Int, arg1: Int): Image
- Definition Classes
- Component
-
def
createImage(arg0: ImageProducer): Image
- Definition Classes
- Component
-
def
createInterfacePanel(workspace: LiteWorkspace): InterfacePanelLite
- Attributes
- protected
- Definition Classes
- LitePanel
-
def
createToolTip(): JToolTip
- Definition Classes
- JComponent
-
def
createVolatileImage(arg0: Int, arg1: Int, arg2: ImageCapabilities): VolatileImage
- Definition Classes
- Component
- Annotations
- @throws( classOf[java.awt.AWTException] )
-
def
createVolatileImage(arg0: Int, arg1: Int): VolatileImage
- Definition Classes
- Component
-
val
defaultOwner: SimpleJobOwner
- Definition Classes
- LitePanel
-
final
def
disableEvents(arg0: Long): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
final
def
dispatchEvent(arg0: AWTEvent): Unit
- Definition Classes
- Component
-
def
doLayout(): Unit
- Definition Classes
- Container → Component
-
final
def
enableEvents(arg0: Long): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
def
enableInputMethods(arg0: Boolean): Unit
- Definition Classes
- Component
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
errorDialogManager: ErrorDialogManager
- Definition Classes
- LitePanel
-
def
findComponentAt(arg0: Point): Component
- Definition Classes
- Container
-
def
findComponentAt(arg0: Int, arg1: Int): Component
- Definition Classes
- Container
- def findWidget(name: String, tpe: Class[_]): Widget
-
def
firePropertyChange(arg0: String, arg1: Char, arg2: Char): Unit
- Definition Classes
- JComponent → Component
-
def
firePropertyChange(arg0: String, arg1: Int, arg2: Int): Unit
- Definition Classes
- JComponent → Component
-
def
firePropertyChange(arg0: String, arg1: Boolean, arg2: Boolean): Unit
- Definition Classes
- JComponent → Component
-
def
firePropertyChange(arg0: String, arg1: Double, arg2: Double): Unit
- Definition Classes
- Component
-
def
firePropertyChange(arg0: String, arg1: Float, arg2: Float): Unit
- Definition Classes
- Component
-
def
firePropertyChange(arg0: String, arg1: Long, arg2: Long): Unit
- Definition Classes
- Component
-
def
firePropertyChange(arg0: String, arg1: Short, arg2: Short): Unit
- Definition Classes
- Component
-
def
firePropertyChange(arg0: String, arg1: Byte, arg2: Byte): Unit
- Definition Classes
- Component
-
def
firePropertyChange(arg0: String, arg1: Any, arg2: Any): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
def
fireVetoableChange(arg0: String, arg1: Any, arg2: Any): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
- Annotations
- @throws( ... )
-
def
getAccessibleContext(): AccessibleContext
- Definition Classes
- JPanel → Accessible → Component
- Annotations
- @BeanProperty()
-
def
getActionForKeyStroke(arg0: KeyStroke): ActionListener
- Definition Classes
- JComponent
-
final
def
getActionMap(): ActionMap
- Definition Classes
- JComponent
-
def
getAlignmentX(): Float
- Definition Classes
- JComponent → Container → Component
-
def
getAlignmentY(): Float
- Definition Classes
- JComponent → Container → Component
-
def
getAncestorListeners(): Array[AncestorListener]
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
getAutoscrolls(): Boolean
- Definition Classes
- JComponent
-
def
getBackground(): Color
- Definition Classes
- Component
- Annotations
- @Transient()
-
def
getBaseline(arg0: Int, arg1: Int): Int
- Definition Classes
- JComponent → Component
-
def
getBaselineResizeBehavior(): BaselineResizeBehavior
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
getBorder(): Border
- Definition Classes
- JComponent
-
def
getBounds(arg0: Rectangle): Rectangle
- Definition Classes
- JComponent → Component
-
def
getBounds(): Rectangle
- Definition Classes
- Component
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
getClientProperty(arg0: Any): AnyRef
- Definition Classes
- JComponent
-
def
getColorModel(): ColorModel
- Definition Classes
- Component
-
def
getComponent(arg0: Int): Component
- Definition Classes
- Container
-
def
getComponentAt(arg0: Point): Component
- Definition Classes
- Container → Component
-
def
getComponentAt(arg0: Int, arg1: Int): Component
- Definition Classes
- Container → Component
-
def
getComponentCount(): Int
- Definition Classes
- Container
-
def
getComponentGraphics(arg0: Graphics): Graphics
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
getComponentListeners(): Array[ComponentListener]
- Definition Classes
- Component
-
def
getComponentOrientation(): ComponentOrientation
- Definition Classes
- Component
-
def
getComponentPopupMenu(): JPopupMenu
- Definition Classes
- JComponent
-
def
getComponentZOrder(arg0: Component): Int
- Definition Classes
- Container
-
def
getComponents(): Array[Component]
- Definition Classes
- Container
-
def
getConditionForKeyStroke(arg0: KeyStroke): Int
- Definition Classes
- JComponent
-
def
getContainerListeners(): Array[ContainerListener]
- Definition Classes
- Container
-
def
getCursor(): Cursor
- Definition Classes
- Component
-
def
getDebugGraphicsOptions(): Int
- Definition Classes
- JComponent
-
def
getDropTarget(): DropTarget
- Definition Classes
- Component
-
def
getFileURL(filename: String): URL
internal use only
internal use only
- Definition Classes
- LitePanel
- Annotations
- @throws( ... )
-
def
getFocusCycleRootAncestor(): Container
- Definition Classes
- Component
-
def
getFocusListeners(): Array[FocusListener]
- Definition Classes
- Component
-
def
getFocusTraversalKeys(arg0: Int): Set[AWTKeyStroke]
- Definition Classes
- Container → Component
-
def
getFocusTraversalKeysEnabled(): Boolean
- Definition Classes
- Component
-
def
getFocusTraversalPolicy(): FocusTraversalPolicy
- Definition Classes
- Container
-
def
getFont(): Font
- Definition Classes
- Component → MenuContainer
- Annotations
- @Transient()
-
def
getFontMetrics(arg0: Font): FontMetrics
- Definition Classes
- JComponent → Component
-
def
getForeground(): Color
- Definition Classes
- Component
- Annotations
- @Transient()
-
def
getGraphics(): Graphics
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
getGraphicsConfiguration(): GraphicsConfiguration
- Definition Classes
- Component
-
def
getHeight(): Int
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
getHierarchyBoundsListeners(): Array[HierarchyBoundsListener]
- Definition Classes
- Component
-
def
getHierarchyListeners(): Array[HierarchyListener]
- Definition Classes
- Component
-
def
getIgnoreRepaint(): Boolean
- Definition Classes
- Component
-
def
getInheritsPopupMenu(): Boolean
- Definition Classes
- JComponent
-
def
getInputContext(): InputContext
- Definition Classes
- Component
-
final
def
getInputMap(): InputMap
- Definition Classes
- JComponent
-
final
def
getInputMap(arg0: Int): InputMap
- Definition Classes
- JComponent
-
def
getInputMethodListeners(): Array[InputMethodListener]
- Definition Classes
- Component
-
def
getInputMethodRequests(): InputMethodRequests
- Definition Classes
- Component
-
def
getInputVerifier(): InputVerifier
- Definition Classes
- JComponent
-
def
getInsets(arg0: Insets): Insets
- Definition Classes
- JComponent
-
def
getInsets(): Insets
- Definition Classes
- JComponent → Container
- Annotations
- @BeanProperty()
-
def
getKeyListeners(): Array[KeyListener]
- Definition Classes
- Component
-
def
getLayout(): LayoutManager
- Definition Classes
- Container
-
def
getLinkChildren: Array[AnyRef]
- Definition Classes
- LinkRoot
-
def
getLinkParent(): Null
internal use only
internal use only
- Definition Classes
- InterfaceComponent → LinkChild
-
def
getListeners[T <: EventListener](arg0: Class[T]): Array[T]
- Definition Classes
- JComponent → Container → Component
-
def
getLocale(): Locale
- Definition Classes
- Component
-
def
getLocation(arg0: Point): Point
- Definition Classes
- JComponent → Component
-
def
getLocation(): Point
- Definition Classes
- Component
-
def
getLocationOnScreen(): Point
- Definition Classes
- Component
-
def
getMaximumSize(): Dimension
- Definition Classes
- JComponent → Container → Component
- Annotations
- @Transient()
-
def
getMinimumSize(): Dimension
- Definition Classes
- JComponent → Container → Component
- Annotations
- @Transient()
-
def
getMouseListeners(): Array[MouseListener]
- Definition Classes
- Component
-
def
getMouseMotionListeners(): Array[MouseMotionListener]
- Definition Classes
- Component
-
def
getMousePosition(arg0: Boolean): Point
- Definition Classes
- Container
- Annotations
- @throws( classOf[java.awt.HeadlessException] )
-
def
getMousePosition(): Point
- Definition Classes
- Component
- Annotations
- @throws( classOf[java.awt.HeadlessException] )
-
def
getMouseWheelListeners(): Array[MouseWheelListener]
- Definition Classes
- Component
-
def
getName(): String
- Definition Classes
- Component
-
def
getParent(): Container
- Definition Classes
- Component
-
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.
-
def
getPopupLocation(arg0: MouseEvent): Point
- Definition Classes
- JComponent
-
def
getPreferredSize(): Dimension
- Definition Classes
- JComponent → Container → Component
- Annotations
- @Transient()
-
def
getProcedures: String
Returns the contents of the Code tab.
-
def
getPropertyChangeListeners(arg0: String): Array[PropertyChangeListener]
- Definition Classes
- Component
-
def
getPropertyChangeListeners(): Array[PropertyChangeListener]
- Definition Classes
- Component
-
def
getRegisteredKeyStrokes(): Array[KeyStroke]
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
getRootPane(): JRootPane
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
getSize(arg0: Dimension): Dimension
- Definition Classes
- JComponent → Component
-
def
getSize(): Dimension
- Definition Classes
- Component
-
def
getToolTipLocation(arg0: MouseEvent): Point
- Definition Classes
- JComponent
-
def
getToolTipText(arg0: MouseEvent): String
- Definition Classes
- JComponent
-
def
getToolTipText(): String
- Definition Classes
- JComponent
-
def
getToolkit(): Toolkit
- Definition Classes
- Component
-
def
getTopLevelAncestor(): Container
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
getTransferHandler(): TransferHandler
- Definition Classes
- JComponent → HasGetTransferHandler
-
final
def
getTreeLock(): AnyRef
- Definition Classes
- Component
-
def
getUI(): PanelUI
- Definition Classes
- JPanel → JComponent
-
def
getUIClassID(): String
- Definition Classes
- JPanel → JComponent
- Annotations
- @BeanProperty()
-
def
getVerifyInputWhenFocusTarget(): Boolean
- Definition Classes
- JComponent
-
def
getVetoableChangeListeners(): Array[VetoableChangeListener]
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
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.
-
def
getVisibleRect(): Rectangle
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
getWidth(): Int
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
getX(): Int
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
getY(): Int
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
grabFocus(): Unit
- Definition Classes
- JComponent
-
def
handle(throwable: Throwable): Unit
internal use only
-
def
hasFocus(): Boolean
- Definition Classes
- Component
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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
-
val
iP: InterfacePanelLite
- Definition Classes
- LitePanel
-
def
imageUpdate(arg0: Image, arg1: Int, arg2: Int, arg3: Int, arg4: Int, arg5: Int): Boolean
- Definition Classes
- Component → ImageObserver
-
def
invalidate(): Unit
- Definition Classes
- Container → Component
-
def
isAncestorOf(arg0: Component): Boolean
- Definition Classes
- Container
-
def
isBackgroundSet(): Boolean
- Definition Classes
- Component
-
def
isCursorSet(): Boolean
- Definition Classes
- Component
-
def
isDisplayable(): Boolean
- Definition Classes
- Component
-
def
isDoubleBuffered(): Boolean
- Definition Classes
- JComponent → Component
-
def
isEnabled(): Boolean
- Definition Classes
- Component
-
def
isFocusCycleRoot(): Boolean
- Definition Classes
- Container
-
def
isFocusCycleRoot(arg0: Container): Boolean
- Definition Classes
- Container → Component
-
def
isFocusOwner(): Boolean
- Definition Classes
- Component
-
final
def
isFocusTraversalPolicyProvider(): Boolean
- Definition Classes
- Container
-
def
isFocusTraversalPolicySet(): Boolean
- Definition Classes
- Container
-
def
isFocusable(): Boolean
- Definition Classes
- Component
-
def
isFontSet(): Boolean
- Definition Classes
- Component
-
def
isForegroundSet(): Boolean
- Definition Classes
- Component
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isLightweight(): Boolean
- Definition Classes
- Component
-
def
isMaximumSizeSet(): Boolean
- Definition Classes
- Component
-
def
isMinimumSizeSet(): Boolean
- Definition Classes
- Component
-
def
isOpaque(): Boolean
- Definition Classes
- JComponent → Component
-
def
isOptimizedDrawingEnabled(): Boolean
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
final
def
isPaintingForPrint(): Boolean
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
isPaintingOrigin(): Boolean
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
isPaintingTile(): Boolean
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
isPreferredSizeSet(): Boolean
- Definition Classes
- Component
-
def
isRequestFocusEnabled(): Boolean
- Definition Classes
- JComponent
-
def
isShowing(): Boolean
- Definition Classes
- Component
-
def
isValid(): Boolean
- Definition Classes
- Component
-
def
isValidateRoot(): Boolean
- Definition Classes
- JComponent → Container
-
def
isVisible(): Boolean
- Definition Classes
- Component
- Annotations
- @Transient()
-
val
linkComponents: ListBuffer[AnyRef]
- Attributes
- protected
- Definition Classes
- LinkRoot
-
def
list(arg0: PrintWriter, arg1: Int): Unit
- Definition Classes
- Container → Component
-
def
list(arg0: PrintStream, arg1: Int): Unit
- Definition Classes
- Container → Component
-
def
list(arg0: PrintWriter): Unit
- Definition Classes
- Component
-
def
list(arg0: PrintStream): Unit
- Definition Classes
- Component
-
def
list(): Unit
- Definition Classes
- Component
-
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
-
val
liteEditorFactory: DefaultEditorFactory
- Attributes
- protected
- Definition Classes
- LitePanel
-
def
makeWidget(widget: Widget): Unit
Adds new widget to Interface tab given its specification, in the same format found in a saved model.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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( ... )
-
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] )
-
def
paint(arg0: Graphics): Unit
- Definition Classes
- JComponent → Container → Component
-
def
paintAll(arg0: Graphics): Unit
- Definition Classes
- Component
-
def
paintBorder(arg0: Graphics): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
paintChildren(arg0: Graphics): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
paintComponent(arg0: Graphics): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
paintComponents(arg0: Graphics): Unit
- Definition Classes
- Container
-
def
paintImmediately(arg0: Rectangle): Unit
- Definition Classes
- JComponent
-
def
paintImmediately(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
- Definition Classes
- JComponent
-
val
panel: LiteAdPanel
- Definition Classes
- LitePanel
-
def
paramString(): String
- Attributes
- protected[javax.swing]
- Definition Classes
- JPanel → JComponent → Container → Component
-
def
prepareImage(arg0: Image, arg1: Int, arg2: Int, arg3: ImageObserver): Boolean
- Definition Classes
- Component
-
def
prepareImage(arg0: Image, arg1: ImageObserver): Boolean
- Definition Classes
- Component
-
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.)
-
def
print(arg0: Graphics): Unit
- Definition Classes
- JComponent → Container → Component
-
def
printAll(arg0: Graphics): Unit
- Definition Classes
- JComponent → Component
-
def
printBorder(arg0: Graphics): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
printChildren(arg0: Graphics): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
printComponent(arg0: Graphics): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
printComponents(arg0: Graphics): Unit
- Definition Classes
- Container
-
val
procedures: ProceduresLite
- Definition Classes
- LitePanel
-
def
processComponentEvent(arg0: ComponentEvent): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
def
processComponentKeyEvent(arg0: KeyEvent): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
processContainerEvent(arg0: ContainerEvent): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Container
-
def
processEvent(arg0: AWTEvent): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Container → Component
-
def
processFocusEvent(arg0: FocusEvent): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
def
processHierarchyBoundsEvent(arg0: HierarchyEvent): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
def
processHierarchyEvent(arg0: HierarchyEvent): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
def
processInputMethodEvent(arg0: InputMethodEvent): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
def
processKeyBinding(arg0: KeyStroke, arg1: KeyEvent, arg2: Int, arg3: Boolean): Boolean
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
-
def
processKeyEvent(arg0: KeyEvent): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent → Component
-
def
processMouseEvent(arg0: MouseEvent): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent → Component
-
def
processMouseMotionEvent(arg0: MouseEvent): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent → Component
-
def
processMouseWheelEvent(arg0: MouseWheelEvent): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
final
def
putClientProperty(arg0: Any, arg1: Any): Unit
- Definition Classes
- JComponent
-
def
registerKeyboardAction(arg0: ActionListener, arg1: KeyStroke, arg2: Int): Unit
- Definition Classes
- JComponent
-
def
registerKeyboardAction(arg0: ActionListener, arg1: String, arg2: KeyStroke, arg3: Int): Unit
- Definition Classes
- JComponent
-
def
remove(arg0: Component): Unit
- Definition Classes
- Container
-
def
remove(arg0: Int): Unit
- Definition Classes
- Container
-
def
remove(arg0: MenuComponent): Unit
- Definition Classes
- Component → MenuContainer
-
def
removeAll(): Unit
- Definition Classes
- Container
-
def
removeAncestorListener(arg0: AncestorListener): Unit
- Definition Classes
- JComponent
-
def
removeComponentListener(arg0: ComponentListener): Unit
- Definition Classes
- Component
-
def
removeContainerListener(arg0: ContainerListener): Unit
- Definition Classes
- Container
-
def
removeFocusListener(arg0: FocusListener): Unit
- Definition Classes
- Component
-
def
removeHierarchyBoundsListener(arg0: HierarchyBoundsListener): Unit
- Definition Classes
- Component
-
def
removeHierarchyListener(arg0: HierarchyListener): Unit
- Definition Classes
- Component
-
def
removeInputMethodListener(arg0: InputMethodListener): Unit
- Definition Classes
- Component
-
def
removeKeyListener(arg0: KeyListener): Unit
- Definition Classes
- Component
-
def
removeLinkComponent(c: AnyRef): Unit
- Definition Classes
- LinkRoot
-
def
removeMouseListener(arg0: MouseListener): Unit
- Definition Classes
- Component
-
def
removeMouseMotionListener(arg0: MouseMotionListener): Unit
- Definition Classes
- Component
-
def
removeMouseWheelListener(arg0: MouseWheelListener): Unit
- Definition Classes
- Component
-
def
removeNotify(): Unit
- Definition Classes
- JComponent → Container → Component
-
def
removePropertyChangeListener(arg0: String, arg1: PropertyChangeListener): Unit
- Definition Classes
- Component
-
def
removePropertyChangeListener(arg0: PropertyChangeListener): Unit
- Definition Classes
- Component
-
def
removeVetoableChangeListener(arg0: VetoableChangeListener): Unit
- Definition Classes
- JComponent
-
def
repaint(arg0: Rectangle): Unit
- Definition Classes
- JComponent
-
def
repaint(arg0: Long, arg1: Int, arg2: Int, arg3: Int, arg4: Int): Unit
- Definition Classes
- JComponent → Component
-
def
repaint(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
- Definition Classes
- Component
-
def
repaint(arg0: Long): Unit
- Definition Classes
- Component
-
def
repaint(): Unit
- Definition Classes
- 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.
- 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 threadorg.nlogo.core.CompilerException
if the code fails to compile
-
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 callreport()
and then passes the result to the givenInvocationListener
.This method may be called from any thread, including the AWT Event Thread.
-
def
requestFocus(): Unit
LitePanel passes the focus request to the InterfacePanel
LitePanel passes the focus request to the InterfacePanel
- Definition Classes
- LitePanel → JComponent → Component
-
def
requestFocus(arg0: Boolean): Boolean
- Definition Classes
- JComponent → Component
-
def
requestFocus(arg0: Boolean, arg1: Cause): Boolean
- Attributes
- protected[java.awt]
- Definition Classes
- Component
-
def
requestFocus(arg0: Cause): Unit
- Definition Classes
- Component
-
def
requestFocusInWindow(arg0: Boolean): Boolean
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent → Component
-
def
requestFocusInWindow(): Boolean
- Definition Classes
- JComponent → Component
-
def
requestFocusInWindow(arg0: Cause): Boolean
- Definition Classes
- Component
-
def
resetKeyboardActions(): Unit
- Definition Classes
- JComponent
-
def
revalidate(): Unit
- Definition Classes
- JComponent → Component
-
def
scrollRectToVisible(arg0: Rectangle): Unit
- Definition Classes
- JComponent
-
final
def
setActionMap(arg0: ActionMap): Unit
- Definition Classes
- JComponent
-
def
setAdVisible(visible: Boolean): Unit
internal use only
internal use only
- Definition Classes
- LitePanel
-
def
setAlignmentX(arg0: Float): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setAlignmentY(arg0: Float): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setAutoscrolls(arg0: Boolean): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setBackground(arg0: Color): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
setBorder(arg0: Border): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setBounds(arg0: Rectangle): Unit
- Definition Classes
- Component
-
def
setBounds(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
- Definition Classes
- Component
-
def
setComponentOrientation(arg0: ComponentOrientation): Unit
- Definition Classes
- Component
-
def
setComponentPopupMenu(arg0: JPopupMenu): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setComponentZOrder(arg0: Component, arg1: Int): Unit
- Definition Classes
- Container
-
def
setCursor(arg0: Cursor): Unit
- Definition Classes
- Component
-
def
setDebugGraphicsOptions(arg0: Int): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setDoubleBuffered(arg0: Boolean): Unit
- Definition Classes
- JComponent
-
def
setDropTarget(arg0: DropTarget): Unit
- Definition Classes
- Component
-
def
setEnabled(arg0: Boolean): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
setFocusCycleRoot(arg0: Boolean): Unit
- Definition Classes
- Container
-
def
setFocusTraversalKeys(arg0: Int, arg1: Set[_ <: AWTKeyStroke]): Unit
- Definition Classes
- JComponent → Container → Component
-
def
setFocusTraversalKeysEnabled(arg0: Boolean): Unit
- Definition Classes
- Component
-
def
setFocusTraversalPolicy(arg0: FocusTraversalPolicy): Unit
- Definition Classes
- Container
-
final
def
setFocusTraversalPolicyProvider(arg0: Boolean): Unit
- Definition Classes
- Container
-
def
setFocusable(arg0: Boolean): Unit
- Definition Classes
- Component
-
def
setFont(arg0: Font): Unit
- Definition Classes
- JComponent → Container → Component
- Annotations
- @BeanProperty()
-
def
setForeground(arg0: Color): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
setIgnoreRepaint(arg0: Boolean): Unit
- Definition Classes
- Component
-
def
setInheritsPopupMenu(arg0: Boolean): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
final
def
setInputMap(arg0: Int, arg1: InputMap): Unit
- Definition Classes
- JComponent
-
def
setInputVerifier(arg0: InputVerifier): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setLayout(arg0: LayoutManager): Unit
- Definition Classes
- Container
-
def
setLocale(arg0: Locale): Unit
- Definition Classes
- Component
-
def
setLocation(arg0: Point): Unit
- Definition Classes
- Component
-
def
setLocation(arg0: Int, arg1: Int): Unit
- Definition Classes
- Component
-
def
setMaximumSize(arg0: Dimension): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
setMinimumSize(arg0: Dimension): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
setMixingCutoutShape(arg0: Shape): Unit
- Definition Classes
- Component
-
def
setName(arg0: String): Unit
- Definition Classes
- Component
-
def
setOpaque(arg0: Boolean): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setPreferredSize(arg0: Dimension): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
def
setPrefix(url: URL): Unit
sets the current working directory
-
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
-
def
setRequestFocusEnabled(arg0: Boolean): Unit
- Definition Classes
- JComponent
-
def
setSize(arg0: Dimension): Unit
- Definition Classes
- Component
-
def
setSize(arg0: Int, arg1: Int): Unit
- Definition Classes
- Component
-
def
setToolTipText(arg0: String): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setTransferHandler(arg0: TransferHandler): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setUI(arg0: PanelUI): Unit
- Definition Classes
- JPanel
- Annotations
- @BeanProperty()
-
def
setUI(arg0: ComponentUI): Unit
- Attributes
- protected[javax.swing]
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setVerifyInputWhenFocusTarget(arg0: Boolean): Unit
- Definition Classes
- JComponent
- Annotations
- @BeanProperty()
-
def
setVisible(arg0: Boolean): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @BeanProperty()
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Component → AnyRef → Any
-
def
transferFocus(): Unit
- Definition Classes
- Component
-
def
transferFocusBackward(): Unit
- Definition Classes
- Component
-
def
transferFocusDownCycle(): Unit
- Definition Classes
- Container
-
def
transferFocusUpCycle(): Unit
- Definition Classes
- Component
-
def
unregisterKeyboardAction(arg0: KeyStroke): Unit
- Definition Classes
- JComponent
-
def
update(arg0: Graphics): Unit
- Definition Classes
- JComponent → Container → Component
-
def
updateUI(): Unit
- Definition Classes
- JPanel → JComponent
-
def
userInterface: Future[BufferedImage]
- Definition Classes
- LitePanel → ControlSet
-
def
userOutput: Future[String]
- Definition Classes
- LitePanel → ControlSet
-
def
validate(): Unit
- Definition Classes
- Container → Component
-
def
validateTree(): Unit
- Attributes
- protected[java.awt]
- Definition Classes
- Container
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
workspace: LiteWorkspace
- Definition Classes
- LitePanel
-
val
world: World with CompilationManagement
- Attributes
- protected
- Definition Classes
- LitePanel
Deprecated Value Members
-
def
action(arg0: Event, arg1: Any): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
bounds(): Rectangle
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
countComponents(): Int
- Definition Classes
- Container
- Annotations
- @Deprecated
- Deprecated
-
def
deliverEvent(arg0: Event): Unit
- Definition Classes
- Container → Component
- Annotations
- @Deprecated
- Deprecated
-
def
disable(): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @Deprecated
- Deprecated
-
def
enable(): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @Deprecated
- Deprecated
-
def
enable(arg0: Boolean): Unit
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
getNextFocusableComponent(): Component
- Definition Classes
- JComponent
- Annotations
- @Deprecated
- Deprecated
-
def
gotFocus(arg0: Event, arg1: Any): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
handleEvent(arg0: Event): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
hide(): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @Deprecated
- Deprecated
-
def
insets(): Insets
- Definition Classes
- Container
- Annotations
- @Deprecated
- Deprecated
-
def
inside(arg0: Int, arg1: Int): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
isFocusTraversable(): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
isManagingFocus(): Boolean
- Definition Classes
- JComponent
- Annotations
- @Deprecated @BeanProperty()
- Deprecated
-
def
keyDown(arg0: Event, arg1: Int): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
keyUp(arg0: Event, arg1: Int): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
layout(): Unit
- Definition Classes
- Container → Component
- Annotations
- @Deprecated
- Deprecated
-
def
locate(arg0: Int, arg1: Int): Component
- Definition Classes
- Container → Component
- Annotations
- @Deprecated
- Deprecated
-
def
location(): Point
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
lostFocus(arg0: Event, arg1: Any): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
minimumSize(): Dimension
- Definition Classes
- Container → Component
- Annotations
- @Deprecated
- Deprecated
-
def
mouseDown(arg0: Event, arg1: Int, arg2: Int): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
mouseDrag(arg0: Event, arg1: Int, arg2: Int): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
mouseEnter(arg0: Event, arg1: Int, arg2: Int): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
mouseExit(arg0: Event, arg1: Int, arg2: Int): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
mouseMove(arg0: Event, arg1: Int, arg2: Int): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
mouseUp(arg0: Event, arg1: Int, arg2: Int): Boolean
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
move(arg0: Int, arg1: Int): Unit
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
nextFocus(): Unit
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
postEvent(arg0: Event): Boolean
- Definition Classes
- Component → MenuContainer
- Annotations
- @Deprecated
- Deprecated
-
def
preferredSize(): Dimension
- Definition Classes
- Container → Component
- Annotations
- @Deprecated
- Deprecated
-
def
requestDefaultFocus(): Boolean
- Definition Classes
- JComponent
- Annotations
- @Deprecated
- Deprecated
-
def
reshape(arg0: Int, arg1: Int, arg2: Int, arg3: Int): Unit
- Definition Classes
- JComponent → Component
- Annotations
- @Deprecated
- Deprecated
-
def
resize(arg0: Dimension): Unit
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
resize(arg0: Int, arg1: Int): Unit
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
setNextFocusableComponent(arg0: Component): Unit
- Definition Classes
- JComponent
- Annotations
- @Deprecated
- Deprecated
-
def
show(arg0: Boolean): Unit
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
show(): Unit
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated
-
def
size(): Dimension
- Definition Classes
- Component
- Annotations
- @Deprecated
- Deprecated