EffectBarController

open class EffectBarController<P : Position2D<out P>?> : Initializable

This class models a JavaFX controller for EffectBar.fxml.

Parameters

<P>

the position type

Constructors

Link copied to clipboard
open fun EffectBarController(parentCell: EffectGroupCell<P>, stack: JFXDrawersStack, thisDrawer: JFXDrawer)
Default constructor.
Link copied to clipboard
open fun EffectBarController(@Nullable displayMonitor: FXOutputMonitor<out Any, out Any>, parentCell: EffectGroupCell<P>, stack: JFXDrawersStack, thisDrawer: JFXDrawer)
Constructor.

Functions

Link copied to clipboard
open fun addEffectToGroup(effect: EffectFX<P>)
Add the Effect to the ListView controlled by this class and to the it.unibo.alchemist.boundary.gui.effects.EffectGroup that the GUI controlled by this claass is representation of.
Link copied to clipboard
open fun groupNameProperty(): StringProperty
The name property of this representation of the group.
Link copied to clipboard
open fun initialize(location: URL, resources: ResourceBundle)

Properties

Link copied to clipboard
private open var displayMonitor: Optional<FXOutputMonitor<out Any, out Any>>
Link copied to clipboard
val EFFECT_BAR_LAYOUT: String
Layout path.