Package jaxx.runtime.swing.model
Class GenericListSelectionModel<B>
java.lang.Object
javax.swing.DefaultListSelectionModel
jaxx.runtime.swing.model.AbstractGenericListSelectionModel<B>
jaxx.runtime.swing.model.GenericListSelectionModel<B>
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,javax.swing.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 javax.swing.DefaultListModellistModelFields inherited from class jaxx.runtime.swing.model.AbstractGenericListSelectionModel
listenerList, pcs, PROPERTY_SELECTED_VALUE, selectedValuesFields inherited from class javax.swing.DefaultListSelectionModel
leadAnchorNotificationEnabledFields inherited from interface javax.swing.ListSelectionModel
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION -
Constructor Summary
Constructors Constructor Description GenericListSelectionModel(javax.swing.DefaultListModel listModel) -
Method Summary
Modifier and Type Method Description javax.swing.DefaultListModelgetListModel()intgetSize()BgetValueAt(int i)Methods inherited from class 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, unSelectItemsMethods 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, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.swing.ListSelectionModel
getSelectedIndices, getSelectedItemsCount
-
Field Details
-
listModel
protected javax.swing.DefaultListModel listModel
-
-
Constructor Details
-
GenericListSelectionModel
public GenericListSelectionModel(javax.swing.DefaultListModel listModel)
-
-
Method Details
-
getListModel
public javax.swing.DefaultListModel getListModel() -
getSize
public int getSize()- Specified by:
getSizein classAbstractGenericListSelectionModel<B>
-
getValueAt
- Specified by:
getValueAtin classAbstractGenericListSelectionModel<B>
-