Class ChangesetInSelectionListModel
java.lang.Object
javax.swing.AbstractListModel<E>
javax.swing.DefaultListModel<Changeset>
org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel
org.openstreetmap.josm.gui.dialogs.changeset.ChangesetInSelectionListModel
- All Implemented Interfaces:
Serializable,ListModel<Changeset>,ChangesetCacheListener,DataSelectionListener
public class ChangesetInSelectionListModel
extends ChangesetListModel
implements DataSelectionListener
A table of changesets that displays the ones that are used by the primitives in the current selection.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openstreetmap.josm.data.osm.DataSelectionListener
DataSelectionListener.AbstractSelectionEvent, DataSelectionListener.SelectionAddEvent, DataSelectionListener.SelectionChangeEvent, DataSelectionListener.SelectionRemoveEvent, DataSelectionListener.SelectionReplaceEvent, DataSelectionListener.SelectionToggleEvent -
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
ConstructorsConstructorDescriptionChangesetInSelectionListModel(DefaultListSelectionModel selectionModel) Create a newChangesetInSelectionListModel -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled whenever the selection is changed.Methods inherited from class org.openstreetmap.josm.gui.dialogs.changeset.ChangesetListModel
changesetCacheUpdated, getElementAt, getSelectedChangesetIds, getSelectedChangesets, getSelectedOpenChangesets, getSize, hasSelectedOpenChangesets, initFromChangesetIds, initFromDataSet, initFromPrimitives, setChangesets, setSelectedChangesets, sortMethods inherited from class javax.swing.DefaultListModel
add, addAll, addAll, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSizeMethods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
Constructor Details
-
ChangesetInSelectionListModel
Create a newChangesetInSelectionListModel- Parameters:
selectionModel- The model
-
-
Method Details
-
selectionChanged
Description copied from interface:DataSelectionListenerCalled whenever the selection is changed. You get notified about the new selection, the elements that were added and removed and the layer that triggered the event.- Specified by:
selectionChangedin interfaceDataSelectionListener- Parameters:
event- The selection change event.- See Also:
-