Class ListItemModel<T>

    • Constructor Detail

      • ListItemModel

        public ListItemModel​(ListView<T> listView,
                             int index)
        Construct
        Parameters:
        listView - The ListView
        index - The index of this model
    • Method Detail

      • getObject

        public T getObject()
        Description copied from interface: IModel
        Gets the model object.
        Specified by:
        getObject in interface IModel<T>
        Returns:
        The model object
      • setObject

        public void setObject​(T object)
        Description copied from interface: IModel
        Sets the model object.
        Specified by:
        setObject in interface IModel<T>
        Parameters:
        object - The model object