Schnittstelle SingleComplexDataItemController<D extends DataItem,V extends DataItemValue<D>>


public interface SingleComplexDataItemController<D extends DataItem,V extends DataItemValue<D>>
  • Methodendetails

    • canBeUsed

      boolean canBeUsed()
    • selectClicked

      void selectClicked()
    • select

      OperationResult<V> select(D value, Decision... decisions)
      Add/Select the item using the given decisions
      Parameter:
      value - Item to select
      decisions - Decisions made
      Gibt zurück:
      value instance of selected item
      Löst aus:
      IllegalArgumentException - Thrown if a decision is missing or invalid
    • canBeDeselected

      Possible canBeDeselected(V value)
      Check if the user is allowed to deselect the item
      Parameter:
      value - ItemValue to deselect
      Gibt zurück:
      Deselection allowed or not
    • deselect

      boolean deselect(V value)
      Remove/Deselect the item
      Parameter:
      value - Item to select
      Gibt zurück:
      TRUE if item has been deselected
      Löst aus:
      IllegalArgumentException - Thrown if a decision is missing or invalid