Package overit.geocall.ecs
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
tabLevelFields inherited from interface org.apache.ecs.Attributes
NO_ATTRIBUTE_VALUEFields inherited from interface org.apache.ecs.Element
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidoutput(OutputStream os) voidoutput(PrintWriter pw) protected voidprepare()voidSets the name of the event associated with alt clickvoidsetOnClick(String s) voidSets the name of the event associated with ctrl clickMethods 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, setTargetMethods inherited from class org.apache.ecs.ConcreteElement
addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, addElementToRegistry, clone, elements, getElement, isEmpty, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistryMethods 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, setTitleMethods 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
-
Constructor Details
-
ClickingA
Creates a new ClickingA- Parameters:
s- String containing the href
-
ClickingA
public ClickingA()Creates a new ClickingA
-
-
Method Details
-
setOnClick
- Specified by:
setOnClickin interfaceorg.apache.ecs.MouseEvents- Overrides:
setOnClickin classorg.apache.ecs.html.A
-
setOnCtrlClick
Sets the name of the event associated with ctrl click- Parameters:
s- THe name of the event
-
setOnAltClick
Sets the name of the event associated with alt click- Parameters:
s- THe name of the event
-
prepare
protected void prepare() -
output
- Specified by:
outputin interfaceorg.apache.ecs.Element- Overrides:
outputin classorg.apache.ecs.ConcreteElement
-
output
- Specified by:
outputin interfaceorg.apache.ecs.Element- Overrides:
outputin classorg.apache.ecs.ConcreteElement
-