- java.lang.Object
-
- ij.macro.FunctionFinder
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.awt.event.ItemListener
,java.awt.event.KeyListener
,java.awt.event.TextListener
,java.awt.event.WindowListener
,java.util.EventListener
public class FunctionFinder extends java.lang.Object implements java.awt.event.TextListener, java.awt.event.WindowListener, java.awt.event.KeyListener, java.awt.event.ItemListener, java.awt.event.ActionListener
This class implements the text editor's Macros/Find Functions command. It was written by jerome.mutterer at ibmp.fr, and is based on Mark Longair's CommandFinder plugin.
-
-
Constructor Summary
Constructors Constructor Description FunctionFinder()
FunctionFinder(Editor editor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
void
close()
void
closeAndRefocus()
void
edPaste(java.lang.String arg)
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)
void
populateList(java.lang.String matchingSubstring)
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)
-
-
-
Constructor Detail
-
FunctionFinder
public FunctionFinder(Editor editor)
-
FunctionFinder
public FunctionFinder()
-
-
Method Detail
-
populateList
public void populateList(java.lang.String matchingSubstring)
-
edPaste
public void edPaste(java.lang.String arg)
-
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent ie)
- Specified by:
itemStateChanged
in interfacejava.awt.event.ItemListener
-
runFromLabel
protected void runFromLabel(java.lang.String listLabel)
-
close
public void close()
-
closeAndRefocus
public void closeAndRefocus()
-
keyPressed
public void keyPressed(java.awt.event.KeyEvent ke)
- Specified by:
keyPressed
in interfacejava.awt.event.KeyListener
-
keyReleased
public void keyReleased(java.awt.event.KeyEvent ke)
- Specified by:
keyReleased
in interfacejava.awt.event.KeyListener
-
keyTyped
public void keyTyped(java.awt.event.KeyEvent ke)
- Specified by:
keyTyped
in interfacejava.awt.event.KeyListener
-
textValueChanged
public void textValueChanged(java.awt.event.TextEvent te)
- Specified by:
textValueChanged
in interfacejava.awt.event.TextListener
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
windowClosing
public void windowClosing(java.awt.event.WindowEvent e)
- Specified by:
windowClosing
in interfacejava.awt.event.WindowListener
-
windowActivated
public void windowActivated(java.awt.event.WindowEvent e)
- Specified by:
windowActivated
in interfacejava.awt.event.WindowListener
-
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent e)
- Specified by:
windowDeactivated
in interfacejava.awt.event.WindowListener
-
windowClosed
public void windowClosed(java.awt.event.WindowEvent e)
- Specified by:
windowClosed
in interfacejava.awt.event.WindowListener
-
windowOpened
public void windowOpened(java.awt.event.WindowEvent e)
- Specified by:
windowOpened
in interfacejava.awt.event.WindowListener
-
windowIconified
public void windowIconified(java.awt.event.WindowEvent e)
- Specified by:
windowIconified
in interfacejava.awt.event.WindowListener
-
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent e)
- Specified by:
windowDeiconified
in interfacejava.awt.event.WindowListener
-
-