| Constructor and Description |
|---|
SelectionModel(Model parent) |
public SelectionModel(Model parent)
public boolean addSelectionChangeListener(SelectionChangeListener listener)
public boolean removeSelectionChangeListener(SelectionChangeListener listener)
public List<SelectionChangeListener> getSelectionChangeListener()
public void clearSelection()
public void clearSpotSelection()
public void clearEdgeSelection()
public void addSpotToSelection(Spot spot)
public void removeSpotFromSelection(Spot spot)
public void addSpotToSelection(Collection<Spot> spots)
public void removeSpotFromSelection(Collection<Spot> spots)
public void addEdgeToSelection(org.jgrapht.graph.DefaultWeightedEdge edge)
public void removeEdgeFromSelection(org.jgrapht.graph.DefaultWeightedEdge edge)
public void addEdgeToSelection(Collection<org.jgrapht.graph.DefaultWeightedEdge> edges)
public void removeEdgeFromSelection(Collection<org.jgrapht.graph.DefaultWeightedEdge> edges)
public Set<org.jgrapht.graph.DefaultWeightedEdge> getEdgeSelection()
public void selectTrack(Collection<Spot> spots, Collection<org.jgrapht.graph.DefaultWeightedEdge> edges, int direction)
spots and edges to current selection. A
direction parameter allow specifying whether we should
include only parts upwards in time, downwards in time or all the way
through.spots - the spots to include in searchedges - the edges to include in searchdirection - the direction to go when searching. Positive integers will
result in searching upwards in time, negative integers
downwards in time and 0 all the way through.Copyright © 2010–2024 TrackMate. All rights reserved.