Class EmptyPivotTableItems<T>

java.lang.Object
io.jmix.pivottableflowui.kit.data.JmixEmptyPivotTableItems<T>
io.jmix.pivottableflowui.data.EmptyPivotTableItems<T>
Type Parameters:
T - type of items contained
All Implemented Interfaces:
DataUnit, EmptyDataUnit, HasType<T>, PivotTableItems<T>, JmixPivotTableItems<T>, Serializable

public class EmptyPivotTableItems<T> extends JmixEmptyPivotTableItems<T> implements PivotTableItems<T>, EmptyDataUnit
Empty data provider for a PivotTable component.
See Also:
  • Field Details

  • Constructor Details

    • EmptyPivotTableItems

      public EmptyPivotTableItems()
  • Method Details

    • getInstance

      public static <T> EmptyPivotTableItems<T> getInstance()
      Type Parameters:
      T - type of items contained
      Returns:
      instance of the EmptyPivotTableItems
    • 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