public class SparseLAPTrackerFactory extends SegmentTrackerFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
THIS_INFO_TEXT |
static String |
THIS_NAME |
static String |
THIS_TRACKER_KEY |
errorMessage| Constructor and Description |
|---|
SparseLAPTrackerFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkSettingsValidity(Map<String,Object> settings)
Checks the validity of the given settings map for the tracker.
|
SparseLAPTrackerFactory |
copy()
Returns a copy the current instance.
|
SpotTracker |
create(SpotCollection spots,
Map<String,Object> settings)
Instantiates and returns a new
SpotTracker configured to operate
on the specified SpotCollection, using the specified settins map. |
Map<String,Object> |
getDefaultSettings()
Returns a new default settings map suitable for the tracker Settings are
instantiated with default values.
|
ImageIcon |
getIcon()
Returns the icon for this action.
|
String |
getInfoText()
Returns a html string containing a descriptive information about this
module.
|
String |
getKey()
Returns a unique identifier of this module.
|
String |
getName()
Returns the human-compliant name of this module.
|
ConfigurationPanel |
getTrackerConfigurationPanel(Model model)
Returns a new GUI panel able to configure the settings suitable for the
target tracker identified by the key parameter.
|
boolean |
marshall(Map<String,Object> settings,
org.jdom2.Element element)
Marshall into the
Element the settings in the Map that
relate to segment linking: gap-closing, merging segments, splitting
segments. |
String |
toString(Map<String,Object> sm)
A utility method that builds a string representation of a settings map
owing to the currently selected tracker in this provider.
|
boolean |
unmarshall(org.jdom2.Element element,
Map<String,Object> settings)
Un-marshall a JDom element to update a settings map, and sets the target
tracker of this provider from the element.
|
getErrorMessage, unmarshallSegmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforbidMultithreadingpublic static final String THIS_TRACKER_KEY
public static final String THIS_NAME
public static final String THIS_INFO_TEXT
public String getInfoText()
TrackMateModulepublic ImageIcon getIcon()
TrackMateModulenull.getIcon in interface TrackMateModulegetIcon in class SegmentTrackerFactorynull to be safely ignored.public String getKey()
TrackMateModulepublic String getName()
TrackMateModulepublic SpotTracker create(SpotCollection spots, Map<String,Object> settings)
SpotTrackerFactorySpotTracker configured to operate
on the specified SpotCollection, using the specified settins map.spots - the SpotCollection containing the spots to track.settings - the settings map configuring the tracker.SpotTracker instance.public SparseLAPTrackerFactory copy()
SpotTrackerFactorypublic boolean marshall(Map<String,Object> settings, org.jdom2.Element element)
SegmentTrackerFactoryElement the settings in the Map that
relate to segment linking: gap-closing, merging segments, splitting
segments.marshall in interface SpotTrackerFactorymarshall in class SegmentTrackerFactorySpotTrackerFactory.getErrorMessage()public boolean unmarshall(org.jdom2.Element element, Map<String,Object> settings)
SpotTrackerFactoryConcretely: the the specific settings map for the targeted tracker is updated from the element.
unmarshall in interface SpotTrackerFactoryunmarshall in class SegmentTrackerFactoryelement - the JDom element to read from.settings - the map to update. Is cleared prior to updating, so that it
contains only the parameters specific to the target tracker.SpotTrackerFactory.getErrorMessage()public Map<String,Object> getDefaultSettings()
SpotTrackerFactorygetDefaultSettings in interface SpotTrackerFactorygetDefaultSettings in class SegmentTrackerFactorypublic boolean checkSettingsValidity(Map<String,Object> settings)
SpotTrackerFactorycheckSettingsValidity in interface SpotTrackerFactorycheckSettingsValidity in class SegmentTrackerFactorySpotTrackerFactory.getErrorMessage()public String toString(Map<String,Object> sm)
SpotTrackerFactorytoString in interface SpotTrackerFactorytoString in class SegmentTrackerFactorysm - the map to echo.public ConfigurationPanel getTrackerConfigurationPanel(Model model)
SpotTrackerFactorymodel - the model that will be modified by the target tracker.Copyright © 2010–2024 TrackMate. All rights reserved.