public class Recent_Commands extends Object implements ActionListener, ij.CommandListener, KeyListener, ListSelectionListener, ij.plugin.PlugIn
Modifier and Type | Field and Description |
---|---|
protected static int |
frequentListSize |
protected static int |
maxLRUSize |
protected static String |
PREFS_KEY |
protected static int |
recentListSize |
protected static boolean |
suppressRepeatedCommands |
Constructor and Description |
---|
Recent_Commands() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
String |
commandExecuting(String command) |
protected int |
getListIndex() |
protected Vector |
getMostFrequent(int maxCount) |
protected Vector |
getMostRecent(int maxCount) |
void |
install() |
void |
keyPressed(KeyEvent e) |
void |
keyReleased(KeyEvent e) |
void |
keyTyped(KeyEvent e) |
void |
run(String arg) |
void |
runInteractively() |
protected void |
runSelectedCommand() |
void |
valueChanged(ListSelectionEvent e) |
protected static int recentListSize
protected static int frequentListSize
protected static int maxLRUSize
protected static boolean suppressRepeatedCommands
protected static final String PREFS_KEY
public void run(String arg)
run
in interface ij.plugin.PlugIn
public void install()
public void runInteractively()
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void keyPressed(KeyEvent e)
keyPressed
in interface KeyListener
public void keyReleased(KeyEvent e)
keyReleased
in interface KeyListener
public void keyTyped(KeyEvent e)
keyTyped
in interface KeyListener
public String commandExecuting(String command)
commandExecuting
in interface ij.CommandListener
protected void runSelectedCommand()
protected int getListIndex()
protected Vector getMostRecent(int maxCount)
protected Vector getMostFrequent(int maxCount)
Copyright © 2015–2021 Fiji. All rights reserved.