Class ImageGlyph

All Implemented Interfaces:
ImageObserver, Cloneable

public class ImageGlyph extends RectangleGlyph implements ImageObserver
Class ImageGlyph
Author:
IDV development team
  • Constructor Details

    • ImageGlyph

      public ImageGlyph(int x, int y, String url)
      _more_
      Parameters:
      x -
      y -
      url -
    • ImageGlyph

      public ImageGlyph(int x, int y)
      _more_
      Parameters:
      x -
      y -
  • Method Details

    • initDone

      public void initDone()
      _more_
      Overrides:
      initDone in class Glyph
    • setImage

      public void setImage(String url)
      _more_
      Parameters:
      url -
    • setImage

      public void setImage(Image image)
      _more_
      Parameters:
      image -
    • imageUpdate

      public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height)
      _more_
      Specified by:
      imageUpdate in interface ImageObserver
      Parameters:
      img -
      flags -
      x -
      y -
      width -
      height -
      Returns:
      _more_
    • paint

      public void paint(Graphics g, DisplayCanvas c)
      _more_
      Overrides:
      paint in class RectangleGlyph
      Parameters:
      g -
      c -
    • getStretchPoint

      public String getStretchPoint(int x, int y)
      _more_
      Overrides:
      getStretchPoint in class RectangleGlyph
      Parameters:
      x -
      y -
      Returns:
      _more_
    • getAttrs

      public String getAttrs()
      _more_
      Overrides:
      getAttrs in class Glyph
      Returns:
      _more_
    • setAttr

      public void setAttr(String name, String value)
      _more_
      Overrides:
      setAttr in class RectangleGlyph
      Parameters:
      name -
      value -