Class DefaultListWidgetModel<E>

    • Constructor Detail

      • DefaultListWidgetModel

        public DefaultListWidgetModel()
    • Method Detail

      • getItems

        public java.util.List<E> getItems()
        Description copied from interface: ListWidgetModel
        Returns the items held by this model.
        Specified by:
        getItems in interface ListWidgetModel<E>
        Returns:
        the items held by this model
      • setItems

        public boolean setItems​(java.util.List<E> items)
        Description copied from interface: ListWidgetModel
        Sets the items held by this model.
        Specified by:
        setItems in interface ListWidgetModel<E>
        Parameters:
        items - the items
        Returns:
        true if a change was made, false otherwise