Class ClickingA

java.lang.Object
org.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.MultiPartElement
org.apache.ecs.html.A
overit.geocall.ecs.ClickingA
All Implemented Interfaces:
Serializable, Cloneable, org.apache.ecs.Attributes, org.apache.ecs.Element, org.apache.ecs.ElementRegistry, org.apache.ecs.FocusEvents, org.apache.ecs.KeyEvents, org.apache.ecs.MouseEvents, org.apache.ecs.Printable

public class ClickingA extends org.apache.ecs.html.A
Special implementation of [@link A] with clicking capabilities (regular, alt and ctrl click).
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
    Creates a new ClickingA
    Creates a new ClickingA
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    protected void
     
    void
    Sets the name of the event associated with alt click
    void
     
    void
    Sets the name of the event associated with ctrl click

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

    addElement, addElement, addElement, addElement, getNeedLineBreak, removeElement, setFolder, setHref, setName, setOnBlur, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setRel, setRev, setTarget

    Methods inherited from class org.apache.ecs.ConcreteElement

    addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, 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, 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

    • ClickingA

      public ClickingA(String s)
      Creates a new ClickingA
      Parameters:
      s - String containing the href
    • ClickingA

      public ClickingA()
      Creates a new ClickingA
  • Method Details

    • setOnClick

      public void setOnClick(String s)
      Specified by:
      setOnClick in interface org.apache.ecs.MouseEvents
      Overrides:
      setOnClick in class org.apache.ecs.html.A
    • setOnCtrlClick

      public void setOnCtrlClick(String s)
      Sets the name of the event associated with ctrl click
      Parameters:
      s - THe name of the event
    • setOnAltClick

      public void setOnAltClick(String s)
      Sets the name of the event associated with alt click
      Parameters:
      s - THe name of the event
    • prepare

      protected void prepare()
    • output

      public void output(OutputStream os)
      Specified by:
      output in interface org.apache.ecs.Element
      Overrides:
      output in class org.apache.ecs.ConcreteElement
    • output

      public void output(PrintWriter pw)
      Specified by:
      output in interface org.apache.ecs.Element
      Overrides:
      output in class org.apache.ecs.ConcreteElement