public class DefaultAutoNamingRule extends Object implements AutoNamingRule
| Constructor and Description |
|---|
DefaultAutoNamingRule() |
DefaultAutoNamingRule(String suffixSeparator,
String branchSeparator,
boolean incrementSuffix) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInfoText()
Returns a html string containing a descriptive information about this
module.
|
void |
nameBranches(Spot mother,
Collection<Spot> siblings)
Sets the name of individual branches possibly based on the mother spot
name.
|
void |
nameRoot(Spot root,
TrackModel model)
Sets the name of the root.
|
void |
nameSpot(Spot current,
Spot predecessor)
Name a spot within a branch, based on the name of its predecessor in the
same branch.
|
String |
toString() |
public void nameRoot(Spot root, TrackModel model)
AutoNamingRulenameRoot in interface AutoNamingRuleroot - the spot to name.model - the TrackModel the spot belongs to.public void nameBranches(Spot mother, Collection<Spot> siblings)
AutoNamingRulenameBranches in interface AutoNamingRulemother - the predecessor spot of the siblings.siblings - the collection of spots to name. They are all successors of
the mother spot.public void nameSpot(Spot current, Spot predecessor)
AutoNamingRulenameSpot in interface AutoNamingRulecurrent - the spot to name.predecessor - the spot that precedes it in the track.public String getInfoText()
AutoNamingRulegetInfoText in interface AutoNamingRuleCopyright © 2010–2024 TrackMate. All rights reserved.