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.PlugInpublic void install()
public void runInteractively()
public void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenerpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic String commandExecuting(String command)
commandExecuting in interface ij.CommandListenerprotected void runSelectedCommand()
protected int getListIndex()
protected Vector getMostRecent(int maxCount)
protected Vector getMostFrequent(int maxCount)
Copyright © 2015–2021 Fiji. All rights reserved.