Module is.codion.framework.model
Package is.codion.framework.model
Interface EntitySearchModel.Selection
- Enclosing interface:
EntitySearchModel
public static interface EntitySearchModel.Selection
Controls the selection
-
Method Summary
-
Method Details
-
entity
Note that this value notifies when the selected instance changes, also when an entity equal to the selected one replaces it, as happens when the selected entity is updated.- Returns:
- a
Valuecontrolling the selected entity
-
present
ObservableState present()- Returns:
- an
ObservableStateindicating whether a selection is present
-
clear
void clear()Clears the selection
-