Class AlphaPNG

java.lang.Object
org.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.ElementContainer
overit.geocall.ecs.AlphaPNG
All Implemented Interfaces:
Serializable, Cloneable, org.apache.ecs.Attributes, org.apache.ecs.Element, org.apache.ecs.ElementRegistry, org.apache.ecs.Printable

public class AlphaPNG extends org.apache.ecs.ElementContainer
Class used to create a PNG with an alpha level
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
     

    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
    Creates an instance of an AlphaPNG
    AlphaPNG(String src, int width, int height)
    Creates an instance of an AlphaPNG
    AlphaPNG(String src, String id, int width, int height)
    Creates an instance of an AlphaPNG
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static CScript
    createCreationScript(String src, String id, int width, int height)
     

    Methods inherited from class org.apache.ecs.ElementContainer

    addElement, addElement, elements, output, output

    Methods inherited from class org.apache.ecs.ConcreteElement

    addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, getElement, isEmpty, 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
  • Field Details

    • _align

      protected String _align
  • Constructor Details

    • AlphaPNG

      public AlphaPNG(String src)
      Creates an instance of an AlphaPNG
      Parameters:
      src - String containing the src
    • AlphaPNG

      public AlphaPNG(String src, int width, int height)
      Creates an instance of an AlphaPNG
      Parameters:
      src - String containing the src
      width - The width of the AlphaPNG
      height - The height of the AlphaPNG
    • AlphaPNG

      public AlphaPNG(String src, String id, int width, int height)
      Creates an instance of an AlphaPNG
      Parameters:
      src - String containing the src
      id - String containing the id
      width - The width of the AlphaPNG
      height - The height of the AlphaPNG
  • Method Details

    • createCreationScript

      protected static CScript createCreationScript(String src, String id, int width, int height)