Package io.jmix.ui.component.data.meta
Interface EntityOptions<E>
- All Superinterfaces:
DataUnit
,EntityDataUnit
,Options<E>
- All Known Implementing Classes:
ContainerOptions
,ListEntityOptions
,MapEntityOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.data.DataUnit
DataUnit.StateChangeEvent
Nested classes/interfaces inherited from interface io.jmix.ui.component.data.Options
Options.OptionsChangeEvent<T>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsItem
(E item) void
refresh()
Refreshes the source moving it to theBindingState.ACTIVE
statevoid
setSelectedItem
(E item) Set current item in the source.void
updateItem
(E item) Update an item in the collection if it is already there.Methods inherited from interface io.jmix.ui.component.data.DataUnit
addStateChangeListener, getState
Methods inherited from interface io.jmix.ui.component.data.meta.EntityDataUnit
getEntityMetaClass
Methods inherited from interface io.jmix.ui.component.data.Options
addOptionsChangeListener, getOptions
-
Method Details
-
setSelectedItem
Set current item in the source.- Parameters:
item
- the item to set
-
containsItem
- Returns:
- true if the underlying collection contains an item with the specified ID
-
updateItem
Update an item in the collection if it is already there. -
refresh
void refresh()Refreshes the source moving it to theBindingState.ACTIVE
state -
addValueChangeListener
-