Package hec.map.inundation
Class InundationLayer
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.map.inundation.InundationLayer
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
,Comparable
,Observer
,Modifiable
- See Also:
-
Field Summary
Fields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a new object of the same class as this object.boolean
static String
double
getFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.getMapObject
(FileOpener fileOpener) void
growExtents
(WorldRect extents) int
hashCode()
void
load()
boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.boolean
toString()
void
unload()
Methods inherited from class hec.lang.NamedType
addModifiableListener, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, update, useRecursiveModifiedTest
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
InundationLayer
public InundationLayer(double exceedenceProbability) -
InundationLayer
public InundationLayer()
-
-
Method Details
-
clone
Description copied from class:NamedType
Creates a new object of the same class as this object.
It then initializes each of the new object's fields by assigning it the same value as the corresponding field in this object. No
constructor is called. -
getMapObject
-
equals
-
hashCode
public int hashCode() -
getMapClassName
-
findMapClassNameForUrl
-
setMapUrl
-
getExceedenceProbability
public double getExceedenceProbability() -
getMapUrl
-
toString
-
load
public void load() -
unload
public void unload() -
growExtents
-
getFieldObject
Description copied from interface:FieldAccessor
This method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObject
in interfaceFieldAccessor
- Overrides:
getFieldObject
in classNamedType
- Parameters:
fld
- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessor
This allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObject
in interfaceFieldAccessor
- Overrides:
setFieldObject
in classNamedType
- Parameters:
fld
- The java field object representing the member field to be setfobj
- The data to set in that field- Returns:
- returns true if successful
-