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 TypeMethodDescriptionvoid
copyInto
(Preferences preferences) String[]
int
int
void
initBy
(Preferences preferences) protected boolean
isValidItem
(String item) void
void
setMaxNumEntries
(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)
-