Package hec.map.image

Class ImageGlyphDataRecord

All Implemented Interfaces:
AsciiSerializable, FieldAccessor, Serializable, Cloneable, Comparable, Observer, Modifiable

public class ImageGlyphDataRecord extends GlyphDataRecord implements Cloneable, Serializable, AsciiSerializable
See Also:
  • Field Details

    • _alpha

      protected float _alpha
    • _showImageWhileDragging

      protected boolean _showImageWhileDragging
    • _drawImageOutline

      protected boolean _drawImageOutline
  • Constructor Details

    • ImageGlyphDataRecord

      public ImageGlyphDataRecord()
  • 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 GlyphDataRecord
    • getAlpha

      public float getAlpha()
    • setAlpha

      public void setAlpha(float f)
    • setDrawImageOutline

      public void setDrawImageOutline(boolean drawImageOutline)
    • getDrawImageOutline

      public boolean getDrawImageOutline()
    • setShowImageWhileDragging

      public void setShowImageWhileDragging(boolean dragImageOutline)
    • getShowImageWhileDragging

      public boolean getShowImageWhileDragging()
    • read0

      protected void read0(String type, String param, BufferedReader input) throws IOException
      Description copied from class: GlyphDataRecord
      The abstract read which the concrete subclass must define.
      Specified by:
      read0 in class GlyphDataRecord
      Throws:
      IOException
    • write0

      protected void write0(BufferedWriter output) throws IOException
      Description copied from class: GlyphDataRecord
      The abstract write which the concrete subclass must define.
      Specified by:
      write0 in class GlyphDataRecord
      Throws:
      IOException
    • 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 GlyphDataRecord
      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 GlyphDataRecord
      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