public class TrackMateWizardSequence extends Object implements WizardSequence
Constructor and Description |
---|
TrackMateWizardSequence(TrackMate trackmate,
SelectionModel selectionModel,
DisplaySettings displaySettings) |
Modifier and Type | Method and Description |
---|---|
WizardPanelDescriptor |
configDescriptor()
Returns the descriptor in charge of configure the views.
|
WizardPanelDescriptor |
current()
Returns the descriptor currently displayed.
|
boolean |
hasNext()
Returns
true if the sequence has an element after the
current one. |
boolean |
hasPrevious()
Returns
true if the sequence has an element before the
current one. |
WizardPanelDescriptor |
logDescriptor()
Returns the descriptor in charge of logging events.
|
WizardPanelDescriptor |
next()
Returns the next descriptor to display.
|
void |
onClose()
Method called when the wizard is closed.
|
WizardPanelDescriptor |
previous()
Returns the previous descriptor to display.
|
WizardPanelDescriptor |
save()
Returns the panel in charge of saving the data.
|
void |
setCurrent(String panelIdentifier)
Position the sequence so that its current descriptor is the one with the
specified identifier.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
public TrackMateWizardSequence(TrackMate trackmate, SelectionModel selectionModel, DisplaySettings displaySettings)
public void onClose()
WizardSequence
onClose
in interface WizardSequence
public WizardPanelDescriptor next()
WizardSequence
null
if the
sequence is finished and does not have a next descriptor.next
in interface WizardSequence
public WizardPanelDescriptor previous()
WizardSequence
null
if
the sequence is starting and does not have a previous descriptor.previous
in interface WizardSequence
public boolean hasNext()
WizardSequence
true
if the sequence has an element after the
current one.hasNext
in interface WizardSequence
true
if the sequence has an element after the
current one.public WizardPanelDescriptor current()
WizardSequence
current
in interface WizardSequence
public WizardPanelDescriptor logDescriptor()
WizardSequence
logDescriptor
in interface WizardSequence
public WizardPanelDescriptor configDescriptor()
WizardSequence
configDescriptor
in interface WizardSequence
public WizardPanelDescriptor save()
WizardSequence
save
in interface WizardSequence
public boolean hasPrevious()
WizardSequence
true
if the sequence has an element before the
current one.hasPrevious
in interface WizardSequence
true
if the sequence has an element before the
current one.public void setCurrent(String panelIdentifier)
WizardSequence
setCurrent
in interface WizardSequence
panelIdentifier
- the descriptor identifier.Copyright © 2015–2021 Fiji. All rights reserved.