Class EmptyKanbanItems<T>

java.lang.Object
io.jmix.kanbanflowui.kit.component.data.JmixEmptyKanbanItems<T>
io.jmix.kanbanflowui.component.data.EmptyKanbanItems<T>
Type Parameters:
T - type of items contained
All Implemented Interfaces:
DataUnit, EmptyDataUnit, HasType<T>, KanbanItems<T>, JmixKanbanItems<T>, Serializable

public class EmptyKanbanItems<T> extends JmixEmptyKanbanItems<T> implements KanbanItems<T>, EmptyDataUnit
Empty data provider for a Kanban component.
See Also:
  • Field Details

  • Constructor Details

    • EmptyKanbanItems

      public EmptyKanbanItems()
  • Method Details

    • getInstance

      public static <T> EmptyKanbanItems<T> getInstance()
      Type Parameters:
      T - type of items contained
      Returns:
      instance of the EmptyKanbanItems
    • getState

      public BindingState getState()
      Specified by:
      getState in interface DataUnit
      Returns:
      a state of this source
    • addStateChangeListener

      public com.vaadin.flow.shared.Registration addStateChangeListener(Consumer<DataUnit.StateChangeEvent> listener)
      Description copied from interface: DataUnit
      Registers a new state change listener.
      Specified by:
      addStateChangeListener in interface DataUnit
      Parameters:
      listener - the listener to be added
      Returns:
      a registration object for removing an event listener added to a source
    • getType

      public Class<T> getType()
      Specified by:
      getType in interface HasType<T>
      Returns:
      type of value