jsky.catalog.gui
Class CatalogHistoryList

java.lang.Object
  extended by jsky.catalog.gui.CatalogHistoryList

public class CatalogHistoryList
extends java.lang.Object

Manages a list of catalogs for the history menu


Constructor Summary
CatalogHistoryList()
          Constructor
 
Method Summary
 void add(CatalogHistoryItem historyItem)
          Add the given item to the history stack, removing duplicates.
 void clear()
          Make the history list empty
 int getMaxHistoryItems()
          Return the max number of items in the history list.
 java.util.Iterator iterator()
          Return an iterator over the history list
 void setMaxHistoryItems(int n)
          Set the max number of items in the history list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogHistoryList

public CatalogHistoryList()
Constructor

Method Detail

add

public void add(CatalogHistoryItem historyItem)
Add the given item to the history stack, removing duplicates.


getMaxHistoryItems

public int getMaxHistoryItems()
Return the max number of items in the history list.


setMaxHistoryItems

public void setMaxHistoryItems(int n)
Set the max number of items in the history list.


iterator

public java.util.Iterator iterator()
Return an iterator over the history list


clear

public void clear()
Make the history list empty