public abstract class AbstractGenericListSelectionModel<B> extends DefaultListSelectionModel
| Modifier and Type | Field and Description |
|---|---|
protected EventListenerList |
listenerList |
protected PropertyChangeSupport |
pcs |
static String |
PROPERTY_SELECTED_VALUE |
protected List<B> |
selectedValues |
leadAnchorNotificationEnabledMULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION| Constructor and Description |
|---|
AbstractGenericListSelectionModel() |
addListSelectionListener, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, isSelectedIndex, isSelectionEmpty, moveLeadSelectionIndex, removeIndexInterval, removeListSelectionListener, setAnchorSelectionIndex, setLeadAnchorNotificationEnabled, setLeadSelectionIndex, setSelectionMode, setValueIsAdjusting, toStringpublic static final String PROPERTY_SELECTED_VALUE
protected final EventListenerList listenerList
protected final PropertyChangeSupport pcs
public B getSelectedValue()
protected void unSelectItems(Collection<B> values)
protected void unSelectItem(B value)
public void addSelectedItem(B toSelect)
public boolean hasSelectedIndex()
public void addSelectionInterval(int index0,
int index1)
addSelectionInterval in interface ListSelectionModeladdSelectionInterval in class DefaultListSelectionModelpublic void setSelectionInterval(int index0,
int index1)
setSelectionInterval in interface ListSelectionModelsetSelectionInterval in class DefaultListSelectionModelpublic void removeSelectionInterval(int index0,
int index1)
removeSelectionInterval in interface ListSelectionModelremoveSelectionInterval in class DefaultListSelectionModelprotected void removeSelectionIntervalWithoutFire(int index0,
int index1)
protected void addSelectionIntervalWithFire(int index0,
int index1)
public abstract int getSize()
public abstract B getValueAt(int i)
public void clearSelection()
clearSelection in interface ListSelectionModelclearSelection in class DefaultListSelectionModelpublic int getSelectionMode()
getSelectionMode in interface ListSelectionModelgetSelectionMode in class DefaultListSelectionModelprotected void fireValuesAdded(Collection<B> values)
protected void fireValuesRemoved(Collection<B> values)
protected void fireSelectionAdded(Collection<B> selectedValues)
protected void fireSelectionRemoved(Collection<B> selectedValues)
public void addGenericListListener(GenericListListener l)
public void removeGenericListListener(GenericListListener l)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
Copyright © 2008–2020 Ultreia.io. All rights reserved.