Class AbstractTableBasedSelectionPanel.AbstractSelectionTableModel<T>

    • Constructor Detail

      • AbstractSelectionTableModel

        public AbstractSelectionTableModel()
    • Method Detail

      • getItemAt

        public abstract T getItemAt​(int row)
        Returns the item at the specified position.
        Parameters:
        row - the (actual, not visible) position of the item
        Returns:
        the item at the position, null if not valid index
      • indexOf

        public abstract int indexOf​(T item)
        Returns the index of the given (visible) item, -1 if not found.
        Parameters:
        item - the item to look for
        Returns:
        the index, -1 if not found