public class ExitManager extends LogicManager implements WindowListener
bio
Constructor and Description |
---|
ExitManager(VisBioFrame bio)
Constructs an exit manager.
|
Modifier and Type | Method and Description |
---|---|
void |
cancelShutdown()
Trip flag indicating shutdown process should not continue.
|
void |
doEvent(VisBioEvent evt)
Called to notify the logic manager of a VisBio event.
|
void |
fileExit()
Exits the application, allowing all logic managers to take appropriate
actions before doing so.
|
int |
getTasks()
Gets the number of tasks required to initialize this logic manager.
|
void |
windowActivated(WindowEvent e)
Unused WindowListener method.
|
void |
windowClosed(WindowEvent e)
Unused WindowListener method.
|
void |
windowClosing(WindowEvent e)
Called when something tries to shut down VisBio.
|
void |
windowDeactivated(WindowEvent e)
Unused WindowListener method.
|
void |
windowDeiconified(WindowEvent e)
Unused WindowListener method.
|
void |
windowIconified(WindowEvent e)
Unused WindowListener method.
|
void |
windowOpened(WindowEvent e)
Unused WindowListener method.
|
getVisBio, restoreState, saveState
public ExitManager(VisBioFrame bio)
public void cancelShutdown()
public void doEvent(VisBioEvent evt)
doEvent
in class LogicManager
public int getTasks()
getTasks
in class LogicManager
public void windowClosing(WindowEvent e)
windowClosing
in interface WindowListener
public void windowActivated(WindowEvent e)
windowActivated
in interface WindowListener
public void windowClosed(WindowEvent e)
windowClosed
in interface WindowListener
public void windowDeactivated(WindowEvent e)
windowDeactivated
in interface WindowListener
public void windowDeiconified(WindowEvent e)
windowDeiconified
in interface WindowListener
public void windowIconified(WindowEvent e)
windowIconified
in interface WindowListener
public void windowOpened(WindowEvent e)
windowOpened
in interface WindowListener
public void fileExit()
Copyright © 2015–2022 SciJava. All rights reserved.