Package hec.map
Class GridGlyphDataRecord
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.map.GlyphDataRecord
hec.map.ElevationGlyphDataRecord
hec.map.GridGlyphDataRecord
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
,Comparable
,Observer
,Modifiable
,ColorContourRecord
public class GridGlyphDataRecord
extends ElevationGlyphDataRecord
implements Cloneable, Serializable, AsciiSerializable
- See Also:
-
Field Summary
Fields inherited from class hec.map.ElevationGlyphDataRecord
_alpha, _asimuthAngle, _aspectAngle, _aspectEnabled, _autoContour, _colorContour, _drawEdges, _elevFactor, _numberConturs, _set, _ticInterval, _units, _unitSystem
Fields inherited from class hec.map.GlyphDataRecord
GDR_EXTENSION
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 TypeMethodDescriptiongetFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.int
int
protected void
read0
(String type, String param, BufferedReader input) The abstract read which the concrete subclass must define.boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.void
setParamId
(int paramId) void
protected void
write0
(BufferedWriter output) The abstract write which the concrete subclass must define.Methods inherited from class hec.map.ElevationGlyphDataRecord
clone, getAlpha, getAsimuthAngle, getAspectAngle, getAspectEnabled, getAutoContour, getBrightness, getColorContour, getDrawEdges, getElevFactor, getMaxClipping, getMinClipping, getNumberConturs, getSaturation, getScaleToClipping, getSet, getTicInterval, getUnits, isSet, setAlpha, setAsimuthAngle, setAspectAngle, setAspectEnabled, setAutoContour, setBrightness, setColorContour, setDrawEdges, setElevFactor, setGlyph, setMap, setMaxClipping, setMinClipping, setNumberConturs, setSaturation, setScaleToClipping, setSet, setTicInterval, setUnitSystem
Methods inherited from class hec.map.GlyphDataRecord
getShowLegend, read, readAsciiSerialized, setShowLegend, useAsciiSerialization, write
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, toString, update, useRecursiveModifiedTest
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface rma.util.contour.ColorContourRecord
addObserver, deleteObserver
-
Constructor Details
-
GridGlyphDataRecord
public GridGlyphDataRecord()
-
-
Method Details
-
read0
Description copied from class:GlyphDataRecord
The abstract read which the concrete subclass must define.- Overrides:
read0
in classElevationGlyphDataRecord
- Throws:
IOException
-
write0
Description copied from class:GlyphDataRecord
The abstract write which the concrete subclass must define.- Overrides:
write0
in classElevationGlyphDataRecord
- Throws:
IOException
-
getParamId
public int getParamId()- Specified by:
getParamId
in interfaceColorContourRecord
- Overrides:
getParamId
in classElevationGlyphDataRecord
- Returns:
-
setParamId
public void setParamId(int paramId) -
getUnitSystem
public int getUnitSystem()- Specified by:
getUnitSystem
in interfaceColorContourRecord
- Overrides:
getUnitSystem
in classElevationGlyphDataRecord
- Returns:
-
setUnits
- Overrides:
setUnits
in classElevationGlyphDataRecord
-
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 classElevationGlyphDataRecord
- 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 classElevationGlyphDataRecord
- 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
-