ij.plugin
Class CommandFinder

java.lang.Object
  extended byij.plugin.CommandFinder
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.ItemListener, java.awt.event.KeyListener, PlugIn, java.awt.event.TextListener, java.awt.event.WindowListener

public class CommandFinder
extends java.lang.Object
implements PlugIn, java.awt.event.TextListener, java.awt.event.ActionListener, java.awt.event.WindowListener, java.awt.event.KeyListener, java.awt.event.ItemListener


Constructor Summary
CommandFinder()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
           
 void findAllMenuItems()
           
 void itemStateChanged(java.awt.event.ItemEvent ie)
           
 void keyPressed(java.awt.event.KeyEvent ke)
           
 void keyReleased(java.awt.event.KeyEvent ke)
           
 void keyTyped(java.awt.event.KeyEvent ke)
           
protected  java.lang.String makeListLabel(java.lang.String command, ij.plugin.CommandFinder.CommandAction ca, boolean fullInfo)
           
 void parseMenu(java.lang.String path, java.awt.Menu menu)
           
protected  void populateList(java.lang.String matchingSubstring)
           
 void run(java.lang.String ignored)
          This method is called when the plugin is loaded.
protected  void runFromLabel(java.lang.String listLabel)
           
 void textValueChanged(java.awt.event.TextEvent te)
           
 void windowActivated(java.awt.event.WindowEvent e)
           
 void windowClosed(java.awt.event.WindowEvent e)
           
 void windowClosing(java.awt.event.WindowEvent e)
           
 void windowDeactivated(java.awt.event.WindowEvent e)
           
 void windowDeiconified(java.awt.event.WindowEvent e)
           
 void windowIconified(java.awt.event.WindowEvent e)
           
 void windowOpened(java.awt.event.WindowEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandFinder

public CommandFinder()
Method Detail

makeListLabel

protected java.lang.String makeListLabel(java.lang.String command,
                                         ij.plugin.CommandFinder.CommandAction ca,
                                         boolean fullInfo)

populateList

protected void populateList(java.lang.String matchingSubstring)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent ie)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

runFromLabel

protected void runFromLabel(java.lang.String listLabel)

keyPressed

public void keyPressed(java.awt.event.KeyEvent ke)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent ke)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent ke)
Specified by:
keyTyped in interface java.awt.event.KeyListener

textValueChanged

public void textValueChanged(java.awt.event.TextEvent te)
Specified by:
textValueChanged in interface java.awt.event.TextListener

parseMenu

public void parseMenu(java.lang.String path,
                      java.awt.Menu menu)

findAllMenuItems

public void findAllMenuItems()

run

public void run(java.lang.String ignored)
Description copied from interface: PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.

Specified by:
run in interface PlugIn

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Specified by:
windowClosing in interface java.awt.event.WindowListener

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Specified by:
windowActivated in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Specified by:
windowClosed in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Specified by:
windowOpened in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Specified by:
windowIconified in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener