|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecticy.plugin.abstract_.Plugin
icy.plugin.abstract_.PluginActionable
plugins.big.bigsnake.BIGSnake
public class BIGSnake
Main class of the Active Cells plug-in.
Constructor Summary | |
---|---|
BIGSnake()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Gets the events of the buttons from the interface. |
void |
activateSnake(SnakeKeeper keeper)
Makes a particular snake active and responsive to interactions. |
void |
activeSequenceChanged(icy.sequence.SequenceEvent event)
Gets an event when a Sequence has changed. |
void |
activeViewerChanged(icy.gui.viewer.ViewerEvent event)
Gets an event when a Viewer has changed. |
void |
deactivateSnake(SnakeKeeper keeper)
Makes a particular snake inactive and not responsive to interaction. |
void |
declareInput(plugins.adufour.blocks.util.VarList inputMap)
Declares the input parameters of the block. |
void |
declareOutput(plugins.adufour.blocks.util.VarList outputMap)
Declares the output parameters of the block. |
IOXMLUtils |
getIOXMLUtils()
Returns the IOXMLUtils object that the plugin uses to save
and load xml files. |
boolean |
isActiveSnake(SnakeKeeper keeper)
Returns true if SnakeKeeper passed is the
active one. |
void |
keyPressed(java.awt.event.KeyEvent e)
Interactions with respect to KeyEvent to detect the COPY and
PASTE commands. |
void |
keyReleased(java.awt.event.KeyEvent e)
Gets an event when a key is released. |
void |
keyTyped(java.awt.event.KeyEvent e)
Gets an event when a key is typed. |
void |
loadSnakeParametersFromInterface()
Retrieves the snake parameters from the GUI and sets them to the active snake. |
void |
loadSnakesFromXML()
Load the snakes from an XML file. |
void |
measureSnakes()
Invokes the external plug-in ROIMeasures . |
void |
run()
Method executed when launching the plug-in. |
void |
saveSnakesToXML()
Saves the snakes to an XML file. |
void |
sequenceActivated(icy.sequence.Sequence sequence)
Gets an event when a Sequence has been activated (focused). |
void |
sequenceClosed(icy.sequence.Sequence sequence)
Gets an event when a Sequence has been closed. |
void |
sequenceDeactivated(icy.sequence.Sequence sequence)
Gets an event when a Sequence has been deactivated (lost
focus). |
void |
sequenceOpened(icy.sequence.Sequence sequence)
Gets an event when a Sequence has been opened. |
void |
terminatePlugin()
Prepares the plug-in to be terminated. |
void |
viewerActivated(icy.gui.viewer.Viewer viewer)
Gets an event when a Viewer has been activated (focused). |
void |
viewerClosed(icy.gui.viewer.Viewer viewer)
Gets an event when a Viewer has been closed. |
void |
viewerDeactivated(icy.gui.viewer.Viewer viewer)
Gets an event when a Viewer has been deactivated (lost
focus). |
void |
viewerOpened(icy.gui.viewer.Viewer viewer)
Gets an event when a Viewer has been opened. |
Methods inherited from class icy.plugin.abstract_.PluginActionable |
---|
compute |
Methods inherited from class icy.plugin.abstract_.Plugin |
---|
addIcyFrame, addSequence, getActiveImage, getActiveSequence, getActiveViewer, getDescriptor, getFocusedImage, getFocusedSequence, getFocusedViewer, getIconResource, getImageResource, getInstallFolder, getName, getOwnerClassName, getPlugin, getPreferences, getPreferencesRoot, getResource, getResourceAsStream, getResources, getSequences, isBundled, loadLibrary, removeSequence, report, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BIGSnake()
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in interface plugins.adufour.blocks.lang.Block
public void terminatePlugin()
public boolean isActiveSnake(SnakeKeeper keeper)
true
if SnakeKeeper
passed is the
active one.
public void activateSnake(SnakeKeeper keeper)
public void deactivateSnake(SnakeKeeper keeper)
public void loadSnakeParametersFromInterface()
public IOXMLUtils getIOXMLUtils()
IOXMLUtils
object that the plugin uses to save
and load xml files.
public void loadSnakesFromXML()
public void saveSnakesToXML()
public void measureSnakes()
ROIMeasures
.
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void activeSequenceChanged(icy.sequence.SequenceEvent event)
Sequence
has changed.
activeSequenceChanged
in interface icy.gui.main.ActiveSequenceListener
public void sequenceActivated(icy.sequence.Sequence sequence)
Sequence
has been activated (focused).
sequenceActivated
in interface icy.gui.main.ActiveSequenceListener
public void sequenceDeactivated(icy.sequence.Sequence sequence)
Sequence
has been deactivated (lost
focus).
sequenceDeactivated
in interface icy.gui.main.ActiveSequenceListener
public void activeViewerChanged(icy.gui.viewer.ViewerEvent event)
Viewer
has changed.
activeViewerChanged
in interface icy.gui.main.ActiveViewerListener
public void viewerActivated(icy.gui.viewer.Viewer viewer)
Viewer
has been activated (focused).
viewerActivated
in interface icy.gui.main.ActiveViewerListener
public void viewerDeactivated(icy.gui.viewer.Viewer viewer)
Viewer
has been deactivated (lost
focus).
viewerDeactivated
in interface icy.gui.main.ActiveViewerListener
public void sequenceOpened(icy.sequence.Sequence sequence)
Sequence
has been opened.
sequenceOpened
in interface icy.gui.main.GlobalSequenceListener
public void sequenceClosed(icy.sequence.Sequence sequence)
Sequence
has been closed.
sequenceClosed
in interface icy.gui.main.GlobalSequenceListener
public void viewerOpened(icy.gui.viewer.Viewer viewer)
Viewer
has been opened.
viewerOpened
in interface icy.gui.main.GlobalViewerListener
public void viewerClosed(icy.gui.viewer.Viewer viewer)
Viewer
has been closed.
viewerClosed
in interface icy.gui.main.GlobalViewerListener
public void keyPressed(java.awt.event.KeyEvent e)
KeyEvent
to detect the COPY and
PASTE commands.
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void declareInput(plugins.adufour.blocks.util.VarList inputMap)
declareInput
in interface plugins.adufour.blocks.lang.Block
public void declareOutput(plugins.adufour.blocks.util.VarList outputMap)
declareOutput
in interface plugins.adufour.blocks.lang.Block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |