BaseInteractionManager

class BaseInteractionManager<T, P : Position2D<P>>(monitor: AbstractFXDisplay<T, P>) : InteractionManager<T, P>

An interaction manager that implements pan, select, move, delete and zoom.

Parameters

monitor

the monitor.

Constructors

Link copied to clipboard
fun <T, P : Position2D<P>> BaseInteractionManager(monitor: AbstractFXDisplay<T, P>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun onMonitorRepaint()

To be called whenever the monitor paints its effects.

Link copied to clipboard
open override fun repaint()

Clears and then paints every currently active feedback.

Link copied to clipboard
open override fun setWormhole(wormhole: Wormhole2D<P>)

Sets the wormhole.

Link copied to clipboard
open override fun setZoomManager(zoomManager: ZoomManager)

Sets the zoom manager.

Properties

Link copied to clipboard
open override val canvases: Group

The canvases used for input/output.

Link copied to clipboard
open lateinit override var environment: Environment<T, P>

The current environment.

Link copied to clipboard
open override val keyboardListener: KeyboardActionListener

The keyboard listener.

Link copied to clipboard
open override var nodes: Map<Node<T>, P>

The nodes in the environment. Should be updated as frequently as possible to ensure a representation of the feedback that is consistent with the actual environment.