Interface DataUnit

All Known Subinterfaces:
ContainerDataUnit<E>, DataGridItems<T>, DataGridItems.Sortable<T>, EntityDataGridItems<E>, EntityDataUnit, EntityOptions<E>, EntityTableItems<E>, EntityTreeItems<E>, EntityValueSource<E,V>, GroupTableItems<I>, Options<I>, TableItems<I>, TableItems.Ordered<T>, TableItems.Sortable<T>, TreeDataGridItems<T>, TreeItems<T>, TreeTableItems<I>, ValueSource<V>, VectorLayerItems<E>
All Known Implementing Classes:
ContainerDataGridItems, ContainerGroupTableItems, ContainerOptions, ContainerTableItems, ContainerTreeDataGridItems, ContainerTreeItems, ContainerTreeTableItems, ContainerValueSource, ContainerVectorLayerItems, EmptyDataGridItems, EmptyGroupTableItems, EmptyTableItems, EmptyTreeDataGridItems, EmptyTreeTableItems, EnumOptions, ListEntityOptions, ListOptions, MapEntityOptions, MapOptions

public interface DataUnit
  • Method Details

    • getState

      BindingState getState()
      Returns:
      a state of this source
    • addStateChangeListener

      Subscription addStateChangeListener(Consumer<DataUnit.StateChangeEvent> listener)
      Registers a new state change listener.
      Parameters:
      listener - the listener to be added
      Returns:
      a registration object for removing an event listener added to a source