Interface EntitySearchModel.Selection

Enclosing interface:
EntitySearchModel

public static interface EntitySearchModel.Selection
Controls the selection
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clears the selection
    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.
     
  • Method Details

    • entity

      Value<Entity> 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 Value controlling the selected entity
    • present

      ObservableState present()
      Returns:
      an ObservableState indicating whether a selection is present
    • clear

      void clear()
      Clears the selection