Class GenericListSelectionModel<B>
- java.lang.Object
-
- javax.swing.DefaultListSelectionModel
-
- org.nuiton.jaxx.runtime.swing.model.AbstractGenericListSelectionModel<B>
-
- org.nuiton.jaxx.runtime.swing.model.GenericListSelectionModel<B>
-
- All Implemented Interfaces:
Serializable,Cloneable,ListSelectionModel
- Direct Known Subclasses:
GenericListModel
public class GenericListSelectionModel<B> extends AbstractGenericListSelectionModel<B>
- Author:
- Sylvain Lletellier
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DefaultListModel<B>listModel-
Fields inherited from class org.nuiton.jaxx.runtime.swing.model.AbstractGenericListSelectionModel
listenerList, pcs, PROPERTY_SELECTED_VALUE, selectedValues
-
Fields inherited from class javax.swing.DefaultListSelectionModel
leadAnchorNotificationEnabled
-
Fields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
-
-
Constructor Summary
Constructors Constructor Description GenericListSelectionModel(DefaultListModel<B> listModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultListModel<B>getListModel()intgetSize()BgetValueAt(int i)-
Methods inherited from class org.nuiton.jaxx.runtime.swing.model.AbstractGenericListSelectionModel
addGenericListListener, addPropertyChangeListener, addPropertyChangeListener, addSelectedItem, addSelectionInterval, addSelectionIntervalWithFire, clearSelection, firePropertyChange, fireSelectionAdded, fireSelectionRemoved, fireValuesAdded, fireValuesRemoved, getSelectedValue, getSelectedValues, getSelectionMode, hasSelectedIndex, removeGenericListListener, removePropertyChangeListener, removePropertyChangeListener, removeSelectionInterval, removeSelectionIntervalWithoutFire, setSelectedValues, setSelectionInterval, unSelectItem, unSelectItems
-
Methods inherited from class javax.swing.DefaultListSelectionModel
addListSelectionListener, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, isSelectedIndex, isSelectionEmpty, moveLeadSelectionIndex, removeIndexInterval, removeListSelectionListener, setAnchorSelectionIndex, setLeadAnchorNotificationEnabled, setLeadSelectionIndex, setSelectionMode, setValueIsAdjusting, toString
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.swing.ListSelectionModel
getSelectedIndices, getSelectedItemsCount
-
-
-
-
Field Detail
-
listModel
protected final DefaultListModel<B> listModel
-
-
Constructor Detail
-
GenericListSelectionModel
public GenericListSelectionModel(DefaultListModel<B> listModel)
-
-
Method Detail
-
getListModel
public DefaultListModel<B> getListModel()
-
getSize
public int getSize()
- Specified by:
getSizein classAbstractGenericListSelectionModel<B>
-
getValueAt
public B getValueAt(int i)
- Specified by:
getValueAtin classAbstractGenericListSelectionModel<B>
-
-