public class DefaultDerivedGeometriesSelectionModel extends Object implements DerivedGeometriesSelectionModel
Modifier and Type | Field and Description |
---|---|
protected EventListenerList |
listenerList |
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION
Constructor and Description |
---|
DefaultDerivedGeometriesSelectionModel(FeatureTableModel theFeatureTableModel) |
protected EventListenerList listenerList
public DefaultDerivedGeometriesSelectionModel(FeatureTableModel theFeatureTableModel)
public void addListSelectionListener(ListSelectionListener listener)
addListSelectionListener
in interface ListSelectionModel
public void addSelectionInterval(int index0, int index1)
addSelectionInterval
in interface ListSelectionModel
public void clearSelection()
clearSelection
in interface ListSelectionModel
public int getAnchorSelectionIndex()
getAnchorSelectionIndex
in interface ListSelectionModel
protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting)
public int getLeadSelectionIndex()
getLeadSelectionIndex
in interface ListSelectionModel
public int getMaxSelectionIndex()
getMaxSelectionIndex
in interface ListSelectionModel
public int getMinSelectionIndex()
getMinSelectionIndex
in interface ListSelectionModel
public int getSelectionMode()
getSelectionMode
in interface ListSelectionModel
public boolean getValueIsAdjusting()
getValueIsAdjusting
in interface ListSelectionModel
public void insertIndexInterval(int index, int length, boolean before)
insertIndexInterval
in interface ListSelectionModel
public boolean isSelectedIndex(int index)
isSelectedIndex
in interface ListSelectionModel
public boolean isSelectionEmpty()
isSelectionEmpty
in interface ListSelectionModel
public void removeIndexInterval(int index0, int index1)
removeIndexInterval
in interface ListSelectionModel
public void removeListSelectionListener(ListSelectionListener listener)
removeListSelectionListener
in interface ListSelectionModel
public void removeSelectionInterval(int index0, int index1)
removeSelectionInterval
in interface ListSelectionModel
public void setAnchorSelectionIndex(int index)
setAnchorSelectionIndex
in interface ListSelectionModel
public void setLeadSelectionIndex(int index)
setLeadSelectionIndex
in interface ListSelectionModel
public void setSelectionInterval(int index0, int index1)
setSelectionInterval
in interface ListSelectionModel
public void setSelectionMode(int selectionMode)
setSelectionMode
in interface ListSelectionModel
public void setValueIsAdjusting(boolean valueIsAdjusting)
setValueIsAdjusting
in interface ListSelectionModel
public List<FeatureReference> getSelectedFeatures()
getSelectedFeatures
in interface DerivedGeometriesSelectionModel
public void setSelectedFeatures(List<FeatureReference> list)
setSelectedFeatures
in interface DerivedGeometriesSelectionModel