public class TSLocationSet extends Manager implements hec.map.MapObjectInterface, TSManager, hec.event.AttributeChangedListener, hec.event.AttributeAddRemoveListener
LASTMODIFIED_STRING_description, _index, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT| Constructor and Description |
|---|
TSLocationSet() |
TSLocationSet(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
TsNode |
addNode(hec.map.WorldPt pt)
Adds a Time Series Location Node to the system
|
void |
attributeAdded(java.lang.String listName,
java.lang.Object itemAdded) |
void |
attributeChanged(java.lang.String listName,
java.lang.String layername,
boolean checked) |
void |
attributeRemoved(java.lang.String listName,
java.lang.Object itemRemoved) |
void |
checkForPlotIconUpdate() |
java.util.Vector |
cloneDataSourceVector() |
java.util.Vector |
cloneParamVector() |
void |
createAbsentLayers(java.util.HashSet<java.lang.String> absentLayers) |
boolean |
deleteNode(java.lang.String name)
Deletes an Impact Region from the System using the Name of the Impact
Region
|
TsNode |
findNode(java.lang.String name)
Finds a Node by name
|
java.util.HashSet<java.lang.String> |
getAbsentLayers() |
java.util.Vector |
getActiveLayers() |
java.util.Vector |
getAllLayers() |
java.lang.String |
getColorString(java.lang.String name,
java.lang.String param,
boolean cumulativeThreshold) |
hec.map.crs.CoordinateReferenceSystem |
getCoordinateReferenceSystem() |
java.util.Hashtable<java.lang.String,java.lang.String> |
getCumThresholdColors() |
java.lang.String |
getCurrentModuleName() |
java.util.Vector |
getDataSourceVector()
get the data source vector
|
java.lang.String |
getDefaultDSSFilename() |
hec.map.WorldRect |
getExtent() |
TSDataSet |
getInputTSDataSet() |
hec.map.MapIdentifier |
getMapIdentifier() |
java.util.Vector |
getNodeLabels()
Returns the names of all of the impact regions in the system
|
java.util.Vector |
getNodeVector()
Returns the list of Nodes in this system
|
java.util.Vector |
getParamVector()
get the parameter vector
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getThresholdColors() |
java.util.Vector |
getTSRecordProxies()
gets all time-series record proxies from nodes.
|
java.util.Vector |
getTSRecordProxies(boolean isInput)
get a vector containing all time-series records in the managers objects.
|
void |
init() |
void |
layerRemoved(java.lang.String layerName) |
void |
load()
Loads the system from disk into memory
|
void |
newLayerAdded(java.lang.String layerName,
boolean addToAllNodes) |
boolean |
nodeExists(java.lang.String locationName) |
boolean |
readFile(Identifier id)
Responsible for reading in the impact region system file pointed
to by the Identifier parameter. |
boolean |
reLoadFile(Identifier id)
Gets called when the managers file has been modified.
|
boolean |
removeCumulativeThresholdColors(java.lang.String name) |
boolean |
removeThresholdColors(java.lang.String name) |
void |
setActiveLayer(java.lang.String layerName,
boolean setActive) |
void |
setCumulativeThresholdColors(java.lang.String name,
java.lang.String colors) |
void |
setCurrentModule(java.lang.Object parent) |
void |
setDataSourceVector(java.util.Vector vec)
reset the data source vector
|
void |
setDefaultDSSFilename(java.lang.String filename) |
void |
setExtent(hec.map.WorldRect rc) |
void |
setIconType(java.lang.String iconType) |
void |
setInputTSData(TSDataSet tsdata)
Sets the input times series data set used during computation.
|
void |
setMapIdentifier(hec.map.MapIdentifier id) |
void |
setParamVector(java.util.Vector vec)
reset the parameter vector
|
void |
setShowValues(boolean[] showValuesArray) |
void |
setThresholdColors(java.lang.String name,
java.lang.String colors) |
void |
unload()
Does nothing for now
|
void |
updateLayers() |
void |
updateLayers(boolean modeChanged) |
boolean |
writeFile(Identifier id)
Responsible for writing the System data file pointed to by the
Identifier parameter.
|
addModifiableListener, backupFile, copyFile, deleteFile, deleting, finalize, getCallback, getCommonDataList, getDirectory, getDSSFileManager, getDSSFileManagerWrapper, getFieldObject, getFileManager, getFilename, getGmtOffset, getIdentifier, getInputITSDataSet, getLastModifiedTime, getLastModifiedTimeString, getOutputITSDataSet, getOutputTSDataSet, getPath, getProxyList, getReadOnly, getRelativePath, getReloadOk, getUnitSystem, getUserInterface, getWorkspace, getWorkspacePath, hasLock, isCanceled, isForecastManager, loadComplete, loadSaveAsFile, makeAbsolutePath, makeAbsolutePath, makeAbsolutePathFromWatershed, makeRelativePath, makeRelativePathFromWatershed, modifiyForSaveAs, newFile, newTSRecordProxy, newTSRecordProxy, notify, openFile, printErrorMessage, printLogMessage, printMessage, printSeparator, printStatus, printTableRow, printWarningMessage, refreshData, reLoadChildManagers, reLoadFile, removeCallBack, removeModifiableListener, renamed, saveChildManagers, saveManager, saveManagerAs, saveManagerAs, setFieldObject, setIdentifier, setLastModifiedTime, setLastModifiedTime, setLineAttributes, setLocked, setModified, setModifiedFalse, setPath, setProgress, setProxyList, setReadOnly, setReloadOk, setUserInterface, setUserInterface, setWorkspace, toString, unloadingclone, compareTo, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setName, setValid, update, useRecursiveModifiedTestaddObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObserverspublic TSLocationSet()
public TSLocationSet(java.lang.String name)
public java.lang.String getCurrentModuleName()
public java.util.Vector getActiveLayers()
public java.util.Vector getAllLayers()
public java.util.Hashtable<java.lang.String,java.lang.String> getThresholdColors()
public java.util.Hashtable<java.lang.String,java.lang.String> getCumThresholdColors()
public void setDataSourceVector(java.util.Vector vec)
public java.util.Vector getDataSourceVector()
public java.util.Vector cloneDataSourceVector()
public void setParamVector(java.util.Vector vec)
public java.util.Vector getParamVector()
public void setDefaultDSSFilename(java.lang.String filename)
public java.lang.String getDefaultDSSFilename()
public java.util.Vector cloneParamVector()
public void setCurrentModule(java.lang.Object parent)
public void setActiveLayer(java.lang.String layerName,
boolean setActive)
public void updateLayers()
public void updateLayers(boolean modeChanged)
public void newLayerAdded(java.lang.String layerName,
boolean addToAllNodes)
public void layerRemoved(java.lang.String layerName)
public java.util.HashSet<java.lang.String> getAbsentLayers()
public void createAbsentLayers(java.util.HashSet<java.lang.String> absentLayers)
public boolean nodeExists(java.lang.String locationName)
public void attributeChanged(java.lang.String listName,
java.lang.String layername,
boolean checked)
attributeChanged in interface hec.event.AttributeChangedListenerpublic void attributeAdded(java.lang.String listName,
java.lang.Object itemAdded)
attributeAdded in interface hec.event.AttributeAddRemoveListenerpublic void attributeRemoved(java.lang.String listName,
java.lang.Object itemRemoved)
attributeRemoved in interface hec.event.AttributeAddRemoveListenerpublic void checkForPlotIconUpdate()
public void setShowValues(boolean[] showValuesArray)
public void setIconType(java.lang.String iconType)
public void setThresholdColors(java.lang.String name,
java.lang.String colors)
public void setCumulativeThresholdColors(java.lang.String name,
java.lang.String colors)
public boolean removeThresholdColors(java.lang.String name)
public boolean removeCumulativeThresholdColors(java.lang.String name)
public java.lang.String getColorString(java.lang.String name,
java.lang.String param,
boolean cumulativeThreshold)
public void setInputTSData(TSDataSet tsdata)
public TSDataSet getInputTSDataSet()
getInputTSDataSet in class Managerpublic java.util.Vector getTSRecordProxies()
getTSRecordProxies in interface TSManagerpublic java.util.Vector getTSRecordProxies(boolean isInput)
TSManagergetTSRecordProxies in interface TSManagerpublic TsNode addNode(hec.map.WorldPt pt)
public TsNode findNode(java.lang.String name)
public boolean deleteNode(java.lang.String name)
public java.util.Vector getNodeLabels()
public java.util.Vector getNodeVector()
public boolean reLoadFile(Identifier id)
reLoadFile in class Managerpublic boolean readFile(Identifier id)
public boolean writeFile(Identifier id)
public void setMapIdentifier(hec.map.MapIdentifier id)
setMapIdentifier in interface hec.map.MapObjectInterfacepublic hec.map.MapIdentifier getMapIdentifier()
getMapIdentifier in interface hec.map.MapObjectInterfacepublic void setExtent(hec.map.WorldRect rc)
setExtent in interface hec.map.MapObjectInterfacepublic hec.map.WorldRect getExtent()
getExtent in interface hec.map.MapObjectInterfacepublic void load()
throws java.io.IOException
load in interface hec.map.MapObjectInterfacejava.io.IOExceptionpublic void unload()
unload in interface hec.map.MapObjectInterfacepublic hec.map.crs.CoordinateReferenceSystem getCoordinateReferenceSystem()
getCoordinateReferenceSystem in interface hec.map.MapObjectInterface