|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.History
public abstract class History
This class is used to keep track of the files and the data sources
that a user has loaded. It is abstract, with derived classes
FileHistory and DataSourceHistory
These history classes are used to show a history list in the File
menu so, once the user has loaded some file, they can easily reload the file.
| Constructor Summary | |
|---|---|
History()
Parameterless ctor for xml encoding/decoding |
|
History(String name)
Create this History object |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Override the equals method |
static History |
findWithAlias(String alias,
List historyList,
Class theClass)
Search the given list for a PC object that has the given alias. |
String |
getAlias()
Get the Alias property. |
String |
getName()
Get the Name property. |
boolean |
hasAlias()
Does this object have an alias. |
int |
hashCode()
Override the hashcode method. |
abstract boolean |
process(IntegratedDataViewer idv)
Create the data source (or load the file) represented by this object. |
void |
setAlias(String value)
Set the Alias property. |
void |
setName(String value)
Set the Name property. |
String |
toString()
Override the toString method |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public History()
public History(String name)
name - The name| Method Detail |
|---|
public boolean hasAlias()
public abstract boolean process(IntegratedDataViewer idv)
idv - The idv
public void setName(String value)
value - The new value for Namepublic String getName()
public void setAlias(String value)
value - The new value for Aliaspublic String getAlias()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objecto - The other object
public static History findWithAlias(String alias,
List historyList,
Class theClass)
alias - The alias to serach for.historyList - The list of History objectstheClass - If non-null then only find History objects of the given theClass
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||