apollo.dataadapter
Class DataLoadEvent
java.lang.Object
java.util.EventObject
apollo.dataadapter.DataLoadEvent
- All Implemented Interfaces:
- java.io.Serializable
public class DataLoadEvent
- extends java.util.EventObject
DataLoadEvent are sent out on new data being loaded. (formerly RegionChangeEvent)
Should these be for a specific species/CurationSet or for all
species/CompositeDataHolder? probably the former
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
DataLoadEvent(java.lang.Object source,
CurationSet cs)
|
DataLoadEvent(java.lang.Object source,
int type)
If type is DATA_RETRIEVE_BEGIN then we dont have apolloData nor region yet |
|
Method Summary |
boolean |
dataRetrievalBeginning()
New data is about to be fetched and made. |
boolean |
dataRetrievalDone()
New data has been retrieved/created. |
CurationSet |
getCurationSet()
Should this just be curation set for a particular species? Currently the
only place this is used is in MenuManager, asks if isMultiSpecies to
determine whether to put up synteny menu. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DATA_RETRIEVE_BEGIN
public static final int DATA_RETRIEVE_BEGIN
- See Also:
- Constant Field Values
DATA_RETRIEVE_DONE
public static final int DATA_RETRIEVE_DONE
- See Also:
- Constant Field Values
DataLoadEvent
public DataLoadEvent(java.lang.Object source,
int type)
- If type is DATA_RETRIEVE_BEGIN then we dont have apolloData nor region yet
DataLoadEvent
public DataLoadEvent(java.lang.Object source,
CurationSet cs)
getCurationSet
public CurationSet getCurationSet()
- Should this just be curation set for a particular species? Currently the
only place this is used is in MenuManager, asks if isMultiSpecies to
determine whether to put up synteny menu. could have separate flag for that.
dataRetrievalBeginning
public boolean dataRetrievalBeginning()
- New data is about to be fetched and made.
This also implies getApolloData()==null as we havent gotten the data yet
dataRetrievalDone
public boolean dataRetrievalDone()
- New data has been retrieved/created.
A new curation set/composite data holder has been
constructed by the data adapter, but it has not been loaded into the gui yet.
getApolloData will be non null, unless its for a former species that now doesnt
have a curation set (species were downsized)