package fr.insa.clavardator.client.ui.chat;

import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.control.MultipleSelectionModel;

/**
 * Model used to disable list selection
 *
 * @param <T>
 */
public class NoSelectionModel<T> extends MultipleSelectionModel<T> {
	@Override
	public ObservableList<Integer> getSelectedIndices() {
		return FXCollections.emptyObservableList();
	}

	@Override
	public ObservableList<T> getSelectedItems() {
		return FXCollections.emptyObservableList();
	}

	@Override
	public void selectIndices(int index, int... indices) {

	}

	@Override
	public void selectAll() {

	}

	@Override
	public void selectFirst() {

	}

	@Override
	public void selectLast() {

	}

	@Override
	public void clearAndSelect(int index) {

	}

	@Override
	public void select(int index) {

	}

	@Override
	public void select(T obj) {

	}

	@Override
	public void clearSelection(int index) {

	}

	@Override
	public void clearSelection() {

	}

	@Override
	public boolean isSelected(int index) {
		return false;
	}

	@Override
	public boolean isEmpty() {
		return false;
	}

	@Override
	public void selectPrevious() {

	}

	@Override
	public void selectNext() {

	}
}
