org.esa.beam.framework.ui
Class UserInputHistory
java.lang.Object
org.esa.beam.framework.ui.UserInputHistory
- Direct Known Subclasses:
- FileHistory
public class UserInputHistory
- extends Object
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$
- Author:
- Norman Fomferra
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserInputHistory
public UserInputHistory(int maxNumEntries,
String propertyKey)
getNumEntries
public int getNumEntries()
getMaxNumEntries
public int getMaxNumEntries()
getPropertyKey
public String getPropertyKey()
getEntries
public String[] getEntries()
initBy
public void initBy(PropertyMap propertyMap)
isValidItem
protected boolean isValidItem(String item)
push
public void push(String entry)
copyInto
public void copyInto(PropertyMap propertyMap)
setMaxNumEntries
public void setMaxNumEntries(int maxNumEntries)
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.