org.esa.beam.framework.ui
Class FileHistory

java.lang.Object
  extended by org.esa.beam.framework.ui.UserInputHistory
      extended by org.esa.beam.framework.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$
Author:
Norman Fomferra

Constructor Summary
FileHistory(int maxNumEntries, String propertyKey)
           
 
Method Summary
protected  boolean isValidItem(String item)
           
 
Methods inherited from class org.esa.beam.framework.ui.UserInputHistory
copyInto, getEntries, getMaxNumEntries, getNumEntries, getPropertyKey, initBy, push, setMaxNumEntries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileHistory

public FileHistory(int maxNumEntries,
                   String propertyKey)
Method Detail

isValidItem

protected boolean isValidItem(String item)
Overrides:
isValidItem in class UserInputHistory


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.