Class ImageBeanTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag
Direct Known Subclasses:
SignatureTag

public class ImageBeanTag extends ImageTag
A JSP tag to display database-served images.
Since:
10.6
Version:
10.6
Author:
Luke
See Also:
  • Constructor Details

    • ImageBeanTag

      public ImageBeanTag()
  • Method Details

    • setImg

      public void setImg(ImageBean i)
      Sets the ImageBean to display.
      Parameters:
      i - the ImageBean
    • setAirline

      public void setAirline(String aCode)
      Updates the airline code for this Image.
      Parameters:
      aCode - the airline code
    • setX

      public void setX(int x)
      Description copied from class: ImageTag
      Sets the width of ths image. This does nothing if a negative, zero or non-numeric value is passed.
      Overrides:
      setX in class ImageTag
      Parameters:
      x - the width of the image in pixels
    • setY

      public void setY(int y)
      Description copied from class: ImageTag
      Sets the height of ths image. This does nothing if a negative, zero or non-numeric value is passed.
      Overrides:
      setY in class ImageTag
      Parameters:
      y - the height of the image in pixels
    • setSrc

      public void setSrc(String s)
      Description copied from class: ImageTag
      Sets the source of this image.
      Overrides:
      setSrc in class ImageTag
      Parameters:
      s - the location of the image
    • doStartTag

      public int doStartTag()
      Description copied from class: ImageTag
      Executed post tag setup. Creates a STYLE element if dimensions specified.
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class ImageTag
      Returns:
      SKIP_BODY always
    • release

      public void release()
      Specified by:
      release in interface Tag
      Overrides:
      release in class ImageTag