Package hec.map.image

Class ImageGlyphDataRecord

All Implemented Interfaces:
hec.io.AsciiSerializable, Serializable, Cloneable, Comparable, Observer, Modifiable

public class ImageGlyphDataRecord extends GlyphDataRecord implements Cloneable, Serializable, hec.io.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)
      Specified by:
      getFieldObject in interface hec.io.AsciiSerializable
      Overrides:
      getFieldObject in class GlyphDataRecord
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Specified by:
      setFieldObject in interface hec.io.AsciiSerializable
      Overrides:
      setFieldObject in class GlyphDataRecord