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

public class InundationLayer extends NamedType implements Cloneable
See Also:
  • Constructor Details

    • InundationLayer

      public InundationLayer(double exceedenceProbability)
    • InundationLayer

      public InundationLayer()
  • Method Details

    • clone

      public Object 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.
      Overrides:
      clone in class NamedType
    • getMapObject

      public MapObject getMapObject(FileOpener fileOpener)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getMapClassName

      public String getMapClassName()
    • findMapClassNameForUrl

      public static String findMapClassNameForUrl(String url)
    • setMapUrl

      public boolean setMapUrl(String url)
    • getExceedenceProbability

      public double getExceedenceProbability()
    • getMapUrl

      public String getMapUrl()
    • toString

      public String toString()
      Overrides:
      toString in class NamedType
    • load

      public void load()
    • unload

      public void unload()
    • growExtents

      public void growExtents(WorldRect extents)
    • getFieldObject

      public Object getFieldObject(Field fld)
      Description copied from interface: FieldAccessor
      This method allows access to java.lang.reflect.Field objects within the implementing class.
      Specified by:
      getFieldObject in interface FieldAccessor
      Overrides:
      getFieldObject in class NamedType
      Parameters:
      fld - The field to get.
      Returns:
      The data object that is stored in the given field
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Description copied from interface: FieldAccessor
      This allows access to fields withing the implementing object to set there data.
      Specified by:
      setFieldObject in interface FieldAccessor
      Overrides:
      setFieldObject in class NamedType
      Parameters:
      fld - The java field object representing the member field to be set
      fobj - The data to set in that field
      Returns:
      returns true if successful