Package org.esa.snap.ui
Class UserInputHistory
java.lang.Object
org.esa.snap.ui.UserInputHistory
- Direct Known Subclasses:
FileHistory
UserInputHistory is a fixed-size array for String entries edited by a user. If a new entry is added
and the history is full, the list of registered entries is shifted so that the oldest entry is beeing
skipped.- Version:
- $Revision$ $Date$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyInto(Preferences preferences) String[]intintvoidinitBy(Preferences preferences) protected booleanisValidItem(String item) voidvoidsetMaxNumEntries(int maxNumEntries)
-
Constructor Details
-
UserInputHistory
-
-
Method Details
-
getNumEntries
public int getNumEntries() -
getMaxNumEntries
public int getMaxNumEntries() -
getPropertyKey
-
getEntries
-
initBy
-
isValidItem
-
push
-
copyInto
-
setMaxNumEntries
public void setMaxNumEntries(int maxNumEntries)
-