|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ucsb.nceas.morpho.plugins.metadisplay.History
A history implementation to wrap the underlying data structure
Constructor Summary | |
History()
constructor |
|
History(edu.ucsb.nceas.morpho.plugins.metadisplay.HistoryItem item)
constructor |
Method Summary | |
void |
add(edu.ucsb.nceas.morpho.plugins.metadisplay.HistoryItem item)
add the String identifier to the most-recent slot in history |
void |
deletePrevious()
Deletes the String identifier that was most recently added to history |
edu.ucsb.nceas.morpho.plugins.metadisplay.HistoryItem |
getNewHistoryItemInstance(java.lang.String id,
java.util.Properties params)
public accessro for protected class; primarily for testing |
edu.ucsb.nceas.morpho.plugins.metadisplay.HistoryItem |
getPrevious()
Gets the String identifier that was most recently added to history, and actually removes it from history |
java.lang.String |
previewPreviousID()
Looks at the String identifier that was most recently added to history, without actually removing it from history |
java.lang.String |
toString()
returns a String representation of all the elements in the History, without actually removing them from history |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public History()
public History(edu.ucsb.nceas.morpho.plugins.metadisplay.HistoryItem item)
Method Detail |
public void add(edu.ucsb.nceas.morpho.plugins.metadisplay.HistoryItem item)
the
- identifier to be addedpublic void deletePrevious()
public edu.ucsb.nceas.morpho.plugins.metadisplay.HistoryItem getPrevious()
public java.lang.String previewPreviousID()
public java.lang.String toString()
toString
in class java.lang.Object
public edu.ucsb.nceas.morpho.plugins.metadisplay.HistoryItem getNewHistoryItemInstance(java.lang.String id, java.util.Properties params)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |