Class BaseListModel<I,E extends DetailModel<I>>
java.lang.Object
cz.masci.springfx.mvci.model.list.impl.BaseListModel<I,E>
- Type Parameters:
I- The type of the element id identifier.E- The type of the elements in the list extendingDetailModel<I>.
- All Implemented Interfaces:
Elements<E>,Focusable,ListModel<E>,Removable<E>,Selectable<E>,Updatable
public class BaseListModel<I,E extends DetailModel<I>>
extends Object
implements ListModel<E>, Elements<E>
-
Property Summary
Properties -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cz.masci.springfx.mvci.model.list.ListModel
setOnFocusView, setOnRemoveElement, setOnSelectElement, setOnUpdateElementsPropertyMethods inherited from interface cz.masci.springfx.mvci.model.list.Selectable
getSelectedElement
-
Property Details
-
selectedElement
- Specified by:
selectedElementPropertyin interfaceSelectable<I>- See Also:
-
-
Field Details
-
elements
-
selectedElement
-
onSelectElement
-
onUpdateElementsProperty
-
onRemoveElement
-
onFocusView
-
-
Constructor Details
-
BaseListModel
public BaseListModel() -
BaseListModel
-
-
Method Details
-
getElements
Description copied from interface:ElementsReturns elements- Specified by:
getElementsin interfaceElements<I>
-
selectedElementProperty
Description copied from interface:SelectableReturns selected element property- Specified by:
selectedElementPropertyin interfaceSelectable<I>- Returns:
- the
selectedElementproperty
-
remove
-
update
public void update() -
select
- Specified by:
selectin interfaceSelectable<I>
-
focus
public void focus()
-