Class SizedIMG

java.lang.Object
org.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.SinglePartElement
org.apache.ecs.html.IMG
overit.geocall.ecs.SizedIMG
All Implemented Interfaces:
Serializable, Cloneable, org.apache.ecs.Attributes, org.apache.ecs.Element, org.apache.ecs.ElementRegistry, org.apache.ecs.KeyEvents, org.apache.ecs.MouseEvents, org.apache.ecs.Printable

public class SizedIMG extends org.apache.ecs.html.IMG
This class manages the attributes of a special kind of image that is sized
See Also:
  • Field Summary

    Fields inherited from class org.apache.ecs.GenericElement

    tabLevel

    Fields inherited from interface org.apache.ecs.Attributes

    NO_ATTRIBUTE_VALUE

    Fields inherited from interface org.apache.ecs.Element

    CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE
  • Constructor Summary

    Constructors
    Constructor
    Description
    SizedIMG(String src, int width, int height)
    Creates a new instance of SizedIMG
    SizedIMG(String src, int border, int width, int height)
    Creates a new instance of SizedIMG
  • Method Summary

    Methods inherited from class org.apache.ecs.html.IMG

    addElement, addElement, addElement, addElement, removeElement, setAlign, setAlt, setBorder, setHeight, setHeight, setHspace, setHspace, setIsMap, setName, setOnClick, setOnDblClick, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setSrc, setUseMap, setVspace, setVspace, setWidth, setWidth

    Methods inherited from class org.apache.ecs.ConcreteElement

    addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry

    Methods inherited from class org.apache.ecs.ElementAttributes

    addAttribute, addAttribute, addAttribute, addAttribute, attributes, createStartTag, getAttribute, getAttributeEqualitySign, getAttributeFilter, getAttributeFilterState, getAttributeQuote, getAttributeQuoteChar, hasAttribute, removeAttribute, setAttributeEqualitySign, setAttributeFilter, setAttributeFilterState, setAttributeQuote, setAttributeQuoteChar, setClass, setDir, setID, setLang, setStyle, setTitle

    Methods inherited from class org.apache.ecs.GenericElement

    alterCase, createEndTag, getBeginEndModifier, getBeginEndModifierDefined, getBeginStartModifier, getBeginStartModifierDefined, getCase, getCodeSet, getElementHashEntry, getElementType, getEndEndModifier, getEndEndModifierDefined, getEndStartModifier, getEndStartModifierDefined, getEndTagChar, getFilter, getFilterState, getNeedClosingTag, getNeedLineBreak, getPrettyPrint, getStartTagChar, getTabLevel, getTagPosition, getTagText, getVersion, putTabs, putTabs, removeBeginEndModifier, removeBeginStartModifier, removeEndEndModifier, removeEndStartModifier, setBeginEndModifier, setBeginModifier, setBeginModifier, setBeginStartModifier, setCase, setCodeSet, setElementType, setEndEndModifier, setEndModifier, setEndModifier, setEndStartModifier, setEndTagChar, setFilter, setFilterState, setNeedClosingTag, setPrettyPrint, setStartTagChar, setTabLevel, setTagPosition, setTagText, toString, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SizedIMG

      public SizedIMG(String src, int width, int height)
      Creates a new instance of SizedIMG
      Parameters:
      src - String containing the src
      width - The width
      height - The height
    • SizedIMG

      public SizedIMG(String src, int border, int width, int height)
      Creates a new instance of SizedIMG
      Parameters:
      src - String containing the src
      border - Size of the border
      width - The width
      height - The height