package org.herac.tuxguitar.ui.widget;

import org.herac.tuxguitar.ui.event.UISelectionListener;

public interface UIListBoxSelect<T> extends UIControl {
	
	T getSelectedValue();
	
	void setSelectedValue(T value);
	
	UISelectItem<T> getSelectedItem();
	
	void setSelectedItem(UISelectItem<T> item);
	
	void addItem(UISelectItem<T> item);
	
	void removeItem(UISelectItem<T> item);
	
	void removeItems();
	
	int getItemCount();
	
	void addSelectionListener(UISelectionListener listener);
	
	void removeSelectionListener(UISelectionListener listener);
}
