Package org.esa.snap.ui
Class FileHistory
- java.lang.Object
-
- org.esa.snap.ui.UserInputHistory
-
- org.esa.snap.ui.FileHistory
-
- Direct Known Subclasses:
FormatedFileHistory
public class FileHistory extends UserInputHistory
FileHistory
is a fixed-size array for the pathes of files opened/saved by a user. If a new file is added and the file history is full, the list of registered files is shifted so that the oldest file path is beeing skipped..- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description FileHistory(int maxNumEntries, String propertyKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isValidItem(String item)
-
Methods inherited from class org.esa.snap.ui.UserInputHistory
copyInto, getEntries, getMaxNumEntries, getNumEntries, getPropertyKey, initBy, push, setMaxNumEntries
-
-
-
-
Constructor Detail
-
FileHistory
public FileHistory(int maxNumEntries, String propertyKey)
-
-
Method Detail
-
isValidItem
protected boolean isValidItem(String item)
- Overrides:
isValidItem
in classUserInputHistory
-
-