Uses of Class
ch.ladestation.connectncharge.util.mvcbase.ObservableArray
Packages that use ObservableArray
Package
Description
contains the main controller of the app (ApplicationController) and many less important ones in sub-packages.
contains model classes of the main game.
infrastructure classes from the MVC template (https://github.com/Pi4J/pi4j-template-javafx).
-
Uses of ObservableArray in ch.ladestation.connectncharge.controller
Methods in ch.ladestation.connectncharge.controller with parameters of type ObservableArrayModifier and TypeMethodDescriptionstatic int
ApplicationController.sumEdgeCost
(ObservableArray<Edge> arr) -
Uses of ObservableArray in ch.ladestation.connectncharge.model.game.gamelogic
Fields in ch.ladestation.connectncharge.model.game.gamelogic declared as ObservableArrayModifier and TypeFieldDescriptionfinal ObservableArray<Edge>
Game.activatedEdges
final ObservableArray<Hint>
Game.activeHints
final ObservableArray<Edge>
Game.solution
final ObservableArray<Node>
Game.terminals
Methods in ch.ladestation.connectncharge.model.game.gamelogic with parameters of type ObservableArrayModifier and TypeMethodDescriptionstatic void
Segment.setActiveEdgesRef
(ObservableArray<Edge> ref) static void
Segment.setActiveTerminalsRef
(ObservableArray<Node> ref) -
Uses of ObservableArray in ch.ladestation.connectncharge.util.mvcbase
Methods in ch.ladestation.connectncharge.util.mvcbase with parameters of type ObservableArrayModifier and TypeMethodDescriptionprotected <V> void
ControllerBase.add
(ObservableArray<V> observableArray, V elementToAdd) Convenience method to add an element to anObservableArray<V>
asynchronously.protected <V> void
ControllerBase.addUnique
(ObservableArray<V> observableArray, V elementToAdd) Convenience method to add an element to anObservableArray<V>
asynchronously but only if the array doesn't already contain that element.protected void
ControllerBase.decrease
(ObservableArray<Integer> observableArray, int position) Convenience method to decrease aObservableArray<Integer>
by 1 at position xprotected static <V> V[]
ControllerBase.get
(ObservableArray<V> observableArray) protected static <V> V
ControllerBase.get
(ObservableArray<V> observableArray, int position) protected void
ControllerBase.increase
(ObservableArray<Integer> observableArray, int position) Convenience method to increase aObservableArray<Integer>
by 1 at position xprotected <V> PuiBase<M,
C>.ArrayUpdater<V> PuiBase.onChangeOf
(ObservableArray<V> observableArray) First step to register an observer.protected <V> void
ControllerBase.remove
(ObservableArray<V> observableArray, V elementToRemove) Convenience method to remove an element from anObservableArray<V>
protected <V> ControllerBase.ArraySetter<V>
ControllerBase.set
(ObservableArray<V> observableArray, V[] values) protected <V> void
ControllerBase.setValue
(ObservableArray<V> observableArray, int position, V newValue) Even for setting a value in the array the controller is responsible.protected <V> void
ControllerBase.setValues
(ObservableArray<V> observableArray, V[] newValues) Even for setting values in the array the controller is responsible.protected static <V> void
ControllerBase.syncAdd
(ObservableArray<V> arr, V elem) protected static <V> void
ControllerBase.syncAddUnique
(ObservableArray<V> arr, V elem) protected static <V> void
ControllerBase.syncRemove
(ObservableArray<V> arr, V elem) protected static <V> void
ControllerBase.syncSet
(ObservableArray<V> arr, V[] newVal) protected void
ControllerBase.toggle
(ObservableArray<Boolean> observableArray, int position) Convenience method to toggle aObservableArray<Boolean>
at position x