Package hec.map
Class ElevationGlyphDataRecord
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.map.GlyphDataRecord
hec.map.ElevationGlyphDataRecord
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable,Cloneable,Comparable,Observer,Modifiable,ColorContourRecord
- Direct Known Subclasses:
AiDemGlyphDataRecord,DemGlyphDataRecord,GridGlyphDataRecord,NetTinGlyphDataRec,RasterGlyphDataRecord,TmsGlyphDataRecord
public class ElevationGlyphDataRecord
extends GlyphDataRecord
implements Cloneable, ColorContourRecord, Serializable, AsciiSerializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected floatprotected doubleprotected doubleprotected booleanprotected booleanprotected ColorContourprotected booleanprotected doubleprotected intprotected booleanprotected doubleprotected Stringprotected intFields inherited from class hec.map.GlyphDataRecord
GDR_EXTENSIONFields 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.floatgetAlpha()doubledoublebooleanbooleandoublebooleandoublegetFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.intintdoublebooleanbooleangetSet()doublegetUnits()intbooleanisSet()protected voidread0(String type, String param, BufferedReader input) The abstract read which the concrete subclass must define.voidsetAlpha(float f) voidsetAsimuthAngle(double d) voidsetAspectAngle(double d) voidsetAspectEnabled(boolean tf) voidsetAutoContour(boolean tf) voidsetBrightness(double d) voidvoidsetDrawEdges(boolean d) voidsetElevFactor(double d) booleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.voidvoidsetMap(Collection maps) voidvoidvoidsetNumberConturs(int d) voidsetSaturation(double d) voidsetScaleToClipping(boolean b) voidsetSet(boolean b) voidsetTicInterval(double d) voidvoidsetUnitSystem(int unitSystem) protected voidwrite0(BufferedWriter output) The abstract write which the concrete subclass must define.Methods inherited from class hec.map.GlyphDataRecord
getShowLegend, read, readAsciiSerialized, setShowLegend, useAsciiSerialization, writeMethods 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, toString, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface rma.util.contour.ColorContourRecord
addObserver, deleteObserver
-
Field Details
-
_set
protected boolean _set -
_autoContour
protected boolean _autoContour -
_colorContour
-
_aspectEnabled
protected boolean _aspectEnabled -
_aspectAngle
protected double _aspectAngle -
_asimuthAngle
protected double _asimuthAngle -
_elevFactor
protected double _elevFactor -
_drawEdges
protected boolean _drawEdges -
_numberConturs
protected int _numberConturs -
_alpha
protected float _alpha -
_ticInterval
protected double _ticInterval -
_units
-
_unitSystem
protected int _unitSystem
-
-
Constructor Details
-
ElevationGlyphDataRecord
public ElevationGlyphDataRecord()
-
-
Method Details
-
setGlyph
-
setSet
public void setSet(boolean b) -
isSet
public boolean isSet() -
setMap
- Overrides:
setMapin classGlyphDataRecord
-
clone
Description copied from class:NamedTypeCreates 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:
clonein classGlyphDataRecord
-
getAutoContour
public boolean getAutoContour() -
setAutoContour
public void setAutoContour(boolean tf) -
getColorContour
- Specified by:
getColorContourin interfaceColorContourRecord- Returns:
-
setColorContour
-
getBrightness
public double getBrightness() -
setBrightness
public void setBrightness(double d) -
getSaturation
public double getSaturation() -
setSaturation
public void setSaturation(double d) -
getAspectEnabled
public boolean getAspectEnabled() -
setAspectEnabled
public void setAspectEnabled(boolean tf) -
getAspectAngle
public double getAspectAngle() -
setAspectAngle
public void setAspectAngle(double d) -
getAsimuthAngle
public double getAsimuthAngle() -
setAsimuthAngle
public void setAsimuthAngle(double d) -
getElevFactor
public double getElevFactor() -
setElevFactor
public void setElevFactor(double d) -
getDrawEdges
public boolean getDrawEdges() -
setDrawEdges
public void setDrawEdges(boolean d) -
getNumberConturs
public int getNumberConturs() -
setNumberConturs
public void setNumberConturs(int d) -
getMinClipping
-
setMinClipping
-
getMaxClipping
-
setMaxClipping
-
getScaleToClipping
public boolean getScaleToClipping() -
setScaleToClipping
public void setScaleToClipping(boolean b) -
getTicInterval
public double getTicInterval()- Specified by:
getTicIntervalin interfaceColorContourRecord- Returns:
-
setTicInterval
public void setTicInterval(double d) -
getSet
public boolean getSet() -
getAlpha
public float getAlpha()- Specified by:
getAlphain interfaceColorContourRecord- Returns:
-
setAlpha
public void setAlpha(float f) -
getUnits
- Specified by:
getUnitsin interfaceColorContourRecord- Returns:
-
setUnits
-
getUnitSystem
public int getUnitSystem()- Specified by:
getUnitSystemin interfaceColorContourRecord- Returns:
-
setUnitSystem
public void setUnitSystem(int unitSystem) -
read0
Description copied from class:GlyphDataRecordThe abstract read which the concrete subclass must define.- Specified by:
read0in classGlyphDataRecord- Throws:
IOException
-
write0
Description copied from class:GlyphDataRecordThe abstract write which the concrete subclass must define.- Specified by:
write0in classGlyphDataRecord- Throws:
IOException
-
getParamId
public int getParamId()- Specified by:
getParamIdin interfaceColorContourRecord- Returns:
-
getFieldObject
Description copied from interface:FieldAccessorThis method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObjectin interfaceFieldAccessor- Overrides:
getFieldObjectin classGlyphDataRecord- Parameters:
fld- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessorThis allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObjectin interfaceFieldAccessor- Overrides:
setFieldObjectin classGlyphDataRecord- 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
-