Generic2DDisplay

Deprecated

Base-class for each display able a graphically represent a 2D space and simulation.

Parameters

<T>

Concentration type

<P>

Inheritors

Constructors

Link copied to clipboard
constructor()
Initializes a new display without redrawing the first step.
constructor(step: Int)
Initializes a new display.

Properties

Link copied to clipboard
val ABORT: Int = 128
Link copied to clipboard
Link copied to clipboard
open var alignmentX: Float
Link copied to clipboard
open var alignmentY: Float
Link copied to clipboard
val ALLBITS: Int = 32
Link copied to clipboard
Link copied to clipboard
open var background: Color
Link copied to clipboard
open var border: Border
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var cursor: Cursor
Link copied to clipboard
The default frame rate.
Link copied to clipboard
Link copied to clipboard
val ERROR: Int = 64
Link copied to clipboard
Link copied to clipboard
open var font: Font
Link copied to clipboard
open var foreground: Color
Link copied to clipboard
val FRAMEBITS: Int = 16
Link copied to clipboard
val HEIGHT: Int = 2
Link copied to clipboard
open val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val LEFT_ALIGNMENT: Float = 0.0f
Link copied to clipboard
open var locale: Locale
Link copied to clipboard
open var name: String
Link copied to clipboard
open val parent: Container
Link copied to clipboard
val PROPERTIES: Int = 4
Link copied to clipboard
Link copied to clipboard
val SOMEBITS: Int = 8
Link copied to clipboard
val TOOL_TIP_TEXT_KEY: String = "ToolTipText"
Link copied to clipboard
val TOP_ALIGNMENT: Float = 0.0f
Link copied to clipboard
val uiClassID: String = "PanelUI"
Link copied to clipboard
Link copied to clipboard
val WHEN_FOCUSED: Int = 0
Link copied to clipboard
Link copied to clipboard
val WIDTH: Int = 1
Link copied to clipboard
open val width: Int
Link copied to clipboard
open val x: Int
Link copied to clipboard
open val y: Int

Functions

Link copied to clipboard
open fun action(p: Event, p1: Any): Boolean
Link copied to clipboard
open fun add(p: Component): Component
open fun add(p: Component, p1: Any)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun addNotify()
Link copied to clipboard
Link copied to clipboard
open fun bounds(): Rectangle
Link copied to clipboard
open fun checkImage(p: Image, p1: ImageObserver): Int
Link copied to clipboard
open fun contains(p: Int, p1: Int): Boolean
Link copied to clipboard
open fun countComponents(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun deliverEvent(p: Event)
Link copied to clipboard
open fun disable()
Link copied to clipboard
Link copied to clipboard
open fun doLayout()
Link copied to clipboard
open fun enable()
Link copied to clipboard
Link copied to clipboard
open fun findComponentAt(p: Int, p1: Int): Component
Link copied to clipboard
open fun finished(@Nonnull environment: Environment<T, P>, @Nonnull time: Time, step: Long)
Override to change or add operations to be done after a simulation is concluded.
Link copied to clipboard
open fun firePropertyChange(p: String, p1: Boolean, p2: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getBaseline(p: Int, p1: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getComponent(p: Int): Component
Link copied to clipboard
open fun getComponentAt(p: Int, p1: Int): Component
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getGraphics(): Graphics
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getInsets(): Insets
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : EventListener?> getListeners(p: Class<T>): Array<T>
Link copied to clipboard
open fun getLocation(p: Point): Point
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getStep(): Int
Link copied to clipboard
open fun getToolkit(): Toolkit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getUI(): ComponentUI
open fun getUI(): PanelUI
Link copied to clipboard
Link copied to clipboard
open fun gotFocus(p: Event, p1: Any): Boolean
Link copied to clipboard
open fun grabFocus()
Link copied to clipboard
open fun handleEvent(p: Event): Boolean
Link copied to clipboard
open fun hasFocus(): Boolean
Link copied to clipboard
open fun hide()
Link copied to clipboard
open fun imageUpdate(p: Image, p1: Int, p2: Int, p3: Int, p4: Int, p5: Int): Boolean
Link copied to clipboard
open fun initialized(@Nonnull environment: Environment<T, P>)
Defines what to do when the UI is initialized.
Link copied to clipboard
open fun insets(): Insets
Link copied to clipboard
open fun inside(p: Int, p1: Int): Boolean
Link copied to clipboard
open fun invalidate()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isCursorSet(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isEnabled(): Boolean
Link copied to clipboard
open fun isFocusable(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isFocusOwner(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isFontSet(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isOpaque(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isShowing(): Boolean
Link copied to clipboard
open fun isValid(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isVisible(): Boolean
Link copied to clipboard
open fun keyDown(p: Event, p1: Int): Boolean
Link copied to clipboard
open fun keyUp(p: Event, p1: Int): Boolean
Link copied to clipboard
open fun layout()
Link copied to clipboard
open fun list(p: PrintStream, p1: Int)
Link copied to clipboard
open fun locate(p: Int, p1: Int): Component
Link copied to clipboard
open fun location(): Point
Link copied to clipboard
open fun lostFocus(p: Event, p1: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun mouseDown(p: Event, p1: Int, p2: Int): Boolean
Link copied to clipboard
open fun mouseDrag(p: Event, p1: Int, p2: Int): Boolean
Link copied to clipboard
open fun mouseEnter(p: Event, p1: Int, p2: Int): Boolean
Link copied to clipboard
open fun mouseExit(p: Event, p1: Int, p2: Int): Boolean
Link copied to clipboard
open fun mouseMove(p: Event, p1: Int, p2: Int): Boolean
Link copied to clipboard
open fun mouseUp(p: Event, p1: Int, p2: Int): Boolean
Link copied to clipboard
open fun move(p: Int, p1: Int)
Link copied to clipboard
open fun nextFocus()
Link copied to clipboard
open fun paint(p: Graphics)
Link copied to clipboard
open fun paintAll(p: Graphics)
Link copied to clipboard
Link copied to clipboard
open fun paintImmediately(p: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun postEvent(p: Event): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun print(p: Graphics)
Link copied to clipboard
open fun printAll(p: Graphics)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun remove(p: Int)
Link copied to clipboard
open fun removeAll()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeNotify()
Link copied to clipboard
fun repaint()
open fun repaint(p: Long, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
Link copied to clipboard
open fun requestFocus()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun reshape(p: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open fun resize(p: Int, p1: Int)
Link copied to clipboard
open fun revalidate()
Link copied to clipboard
Link copied to clipboard
open fun setBounds(p: Int, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
Link copied to clipboard
open fun setComponentZOrder(p: Component, p1: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setEnabled(p: Boolean)
Link copied to clipboard
open fun setFocusable(p: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setFocusTraversalKeys(p: Int, p1: Set<out AWTKeyStroke>)
Link copied to clipboard
Link copied to clipboard
fun setInputMap(p: Int, p1: InputMap)
Link copied to clipboard
Link copied to clipboard
open fun setLocation(p: Int, p1: Int)
Link copied to clipboard
If set, the node closer to the mouse will be put in evidence.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setOpaque(p: Boolean)
Link copied to clipboard
Link copied to clipboard
If enabled, the monitor tries to synchronize the simulation time with the real time, slowing down the simulator if needed.
Link copied to clipboard
Link copied to clipboard
open fun setSize(p: Int, p1: Int)
Link copied to clipboard
fun setStep(step: Int)
Link copied to clipboard
open fun setToolTipText(p: String)
Link copied to clipboard
Link copied to clipboard
open fun setUI(p: PanelUI)
Link copied to clipboard
open fun setVisible(p: Boolean)
Link copied to clipboard
open fun show()
Link copied to clipboard
open fun size(): Dimension
Link copied to clipboard
fun stepDone(@Nonnull environment: Environment<T, P>, reaction: Actionable<T>, @Nonnull time: Time, step: Long)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun transferFocus()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun update(p: Graphics)
Link copied to clipboard
open fun updateUI()
Link copied to clipboard
open fun validate()
Link copied to clipboard
fun zoomTo(center: P, zoomLevel: Double)