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 intApplicationController.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.activatedEdgesfinal ObservableArray<Hint>Game.activeHintsfinal ObservableArray<Edge>Game.solutionfinal ObservableArray<Node>Game.terminalsMethods in ch.ladestation.connectncharge.model.game.gamelogic with parameters of type ObservableArrayModifier and TypeMethodDescriptionstatic voidSegment.setActiveEdgesRef(ObservableArray<Edge> ref) static voidSegment.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> voidControllerBase.add(ObservableArray<V> observableArray, V elementToAdd) Convenience method to add an element to anObservableArray<V>asynchronously.protected <V> voidControllerBase.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 voidControllerBase.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> VControllerBase.get(ObservableArray<V> observableArray, int position) protected voidControllerBase.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> voidControllerBase.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> voidControllerBase.setValue(ObservableArray<V> observableArray, int position, V newValue) Even for setting a value in the array the controller is responsible.protected <V> voidControllerBase.setValues(ObservableArray<V> observableArray, V[] newValues) Even for setting values in the array the controller is responsible.protected static <V> voidControllerBase.syncAdd(ObservableArray<V> arr, V elem) protected static <V> voidControllerBase.syncAddUnique(ObservableArray<V> arr, V elem) protected static <V> voidControllerBase.syncRemove(ObservableArray<V> arr, V elem) protected static <V> voidControllerBase.syncSet(ObservableArray<V> arr, V[] newVal) protected voidControllerBase.toggle(ObservableArray<Boolean> observableArray, int position) Convenience method to toggle aObservableArray<Boolean>at position x