Interface ListModel<E>
- All Superinterfaces:
Focusable,Removable<E>,Selectable<E>,Updatable
- All Known Implementing Classes:
BaseListModel
This list interface groups
Selectable, Updatable, Removable and Focusable interfaces. Adding methods to externally define
commands for Focusable.focus(), Removable.remove(E), Selectable.select(E) and Updatable.update()-
Property Summary
Properties inherited from interface cz.masci.springfx.mvci.model.list.Selectable
selectedElement -
Method Summary
Modifier and TypeMethodDescriptionvoidsetOnFocusView(Runnable command) Sets the command which is executed inFocusable.focus().voidsetOnRemoveElement(Consumer<E> command) Sets the command which is executed inRemovable.remove(E)voidsetOnSelectElement(Consumer<E> command) Sets the command which is executed inSelectable.select(E)voidsetOnUpdateElementsProperty(Runnable command) Sets the command which is executed inUpdatable.update()Methods inherited from interface cz.masci.springfx.mvci.model.list.Selectable
getSelectedElement, select, selectedElementProperty
-
Method Details
-
setOnFocusView
Sets the command which is executed inFocusable.focus(). -
setOnRemoveElement
Sets the command which is executed inRemovable.remove(E) -
setOnSelectElement
Sets the command which is executed inSelectable.select(E) -
setOnUpdateElementsProperty
Sets the command which is executed inUpdatable.update()
-