public interface EntityOptions<E extends Entity> extends Options<E>, EntityDataUnit
Modifier and Type | Interface and Description |
---|---|
static class |
EntityOptions.ValueChangeEvent<T> |
Options.OptionsChangeEvent<T>
DataUnit.StateChangeEvent
Modifier and Type | Method and Description |
---|---|
Subscription |
addValueChangeListener(java.util.function.Consumer<EntityOptions.ValueChangeEvent<E>> listener) |
boolean |
containsItem(E item) |
void |
refresh()
Refreshes the source moving it to the
BindingState.ACTIVE state |
void |
setSelectedItem(E item)
Set current item in the source.
|
void |
updateItem(E item)
Update an item in the collection if it is already there.
|
addOptionsChangeListener, getOptions
getEntityMetaClass
addStateChangeListener, getState
void setSelectedItem(E item)
item
- the item to setboolean containsItem(E item)
void updateItem(E item)
void refresh()
BindingState.ACTIVE
stateSubscription addValueChangeListener(java.util.function.Consumer<EntityOptions.ValueChangeEvent<E>> listener)