org.oddjob.monitor.model
Class FileHistory
java.lang.Object
org.oddjob.monitor.model.FileHistory
- All Implemented Interfaces:
- Serializable
public class FileHistory
- extends Object
- implements Serializable
Used to Track File history between multiple versions of Oddjob
Explorer.
File history size isn't parameterised via a property but maybe
it should.
- See Also:
- Serialized Form
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_FILE_HISTORY_SIZE
public static final int DEFAULT_FILE_HISTORY_SIZE
- See Also:
- Constant Field Values
FileHistory
public FileHistory()
addChangeAction
public void addChangeAction(Runnable action)
- Add an action to be taken when the file menu changes, such as
updating the File menu.
- Parameters:
action
- The action.
removeChangeAction
public void removeChangeAction(Runnable action)
- Remove an action.
- Parameters:
action
-
addHistory
public void addHistory(File file)
- Add a file to the history.
- Parameters:
file
-
size
public int size()
get
public File get(int i)
getListSize
public int getListSize()
setListSize
public void setListSize(int listSize)