Interface IHCA<IMPLTYPE extends IHCA<IMPLTYPE>>
-
- Type Parameters:
IMPLTYPE- Implementation type
- All Superinterfaces:
com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>,com.helger.commons.hierarchy.IHasChildren<IHCNode>,com.helger.commons.hierarchy.IHasChildrenRecursive<IHCNode>,com.helger.commons.hierarchy.IHasChildrenSorted<IHCNode>,IHCElement<IMPLTYPE>,IHCElementWithChildren<IMPLTYPE>,IHCElementWithInternalChildren<IMPLTYPE,IHCNode>,IHCHasChildrenMutable<IMPLTYPE,IHCNode>,IHCHasCSSClasses<IMPLTYPE>,IHCHasCSSStyles<IMPLTYPE>,IHCHasID<IMPLTYPE>,IHCHasMedia<IMPLTYPE>,IHCHasName<IMPLTYPE>,IHCNode,IHCNodeWithChildren<IMPLTYPE>,Serializable
- All Known Implementing Classes:
AbstractHCA,HCA,HCA_JS,HCA_MailTo
public interface IHCA<IMPLTYPE extends IHCA<IMPLTYPE>> extends IHCElementWithChildren<IMPLTYPE>, IHCHasMedia<IMPLTYPE>, IHCHasName<IMPLTYPE>
Interface for As- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from interface com.helger.html.hc.html.IHCElement
DEFAULT_TABINDEX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IMPLTYPEaddOnClick(IHasJSCode aOnClick)Shortcut foraddEventHandler(EJSEvent.ONCLICK, aOnClick)StringgetDownload()com.helger.commons.url.ISimpleURLgetHref()com.helger.commons.url.ISimpleURLgetPing()EHCReferrerPolicygetReferrerPolicy()StringgetRel()HC_TargetgetTarget()com.helger.commons.mime.IMimeTypegetType()default booleanhasTarget()IMPLTYPEsetDownload(String sDownload)IMPLTYPEsetHref(com.helger.commons.url.ISimpleURL aHref)default IMPLTYPEsetOnClick(IHasJSCode aOnClick)Shortcut forsetEventHandler(EJSEvent.ONCLICK, aOnClick)IMPLTYPEsetPing(com.helger.commons.url.ISimpleURL aPing)IMPLTYPEsetReferrerPolicy(EHCReferrerPolicy eReferrerPolicy)IMPLTYPEsetRel(String sRel)IMPLTYPEsetTarget(HC_Target aTarget)default IMPLTYPEsetTargetBlank()IMPLTYPEsetType(com.helger.commons.mime.IMimeType aType)-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildren
forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getChildCount, getChildren, hasChildren, hasNoChildren
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenRecursive
forAllChildrenRecursive, forAllChildrenRecursive
-
Methods inherited from interface com.helger.commons.hierarchy.IHasChildrenSorted
findFirstChild, findFirstChildMapped, getAllChildren, getChildAtIndex, getFirstChild, getLastChild
-
Methods inherited from interface com.helger.html.hc.html.IHCElement
addEventHandler, containsEventHandler, customAttrs, getAccessKey, getContentEditable, getDirection, getDraggable, getElement, getEventHandler, getEventMap, getLanguage, getRole, getTabIndex, getTagName, getTitle, getTranslate, isHidden, isSpellCheck, isTranslateOff, isTranslateOn, isTranslateUndefined, isUnfocusable, prependEventHandler, removeAllEventHandler, setAccessKey, setContentEditable, setDirection, setDraggable, setEventHandler, setHidden, setLanguage, setRole, setSpellCheck, setTabIndex, setTitle, setTranslate, setTranslate, setUnfocusable, withCustomAttrs
-
Methods inherited from interface com.helger.html.hc.html.IHCElementWithInternalChildren
recursiveContainsChildWithTagName
-
Methods inherited from interface com.helger.html.hc.IHCHasChildrenMutable
addAndReturnChild, addAndReturnChildAt, addChild, addChildAt, addChildren, addChildren, addChildren, addChildrenAt, addChildrenAt, getAllChildrenAsNodeList, removeAllChildren, removeChild, removeChildAt, setChild, sortAllChildren
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSClasses
addClass, addClasses, addClasses, addClasses, containsClass, getAllClasses, getAllClassesAsString, getAllClassNames, hasAnyClass, removeAllClasses, removeClass
-
Methods inherited from interface com.helger.html.hc.html.IHCHasCSSStyles
addStyle, addStyle, addStyles, addStyles, addStyles, containsStyle, getAllStyles, getAllStylesAsString, getAllStyleValues, getStyleValue, hasAnyStyle, hasStyle, removeAllStyles, removeStyle
-
Methods inherited from interface com.helger.html.hc.IHCHasID
ensureID, getID, hasID, hasNoID, setID, setUniqueID
-
Methods inherited from interface com.helger.html.hc.html.IHCHasMedia
getMedia, setMedia
-
Methods inherited from interface com.helger.html.hc.IHCHasName
getName, setName
-
Methods inherited from interface com.helger.html.hc.IHCNode
canConvertToMicroNode, consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, getNodeState, getPlainText, registerExternalResources
-
Methods inherited from interface com.helger.html.hc.IHCNodeWithChildren
addChild, addChildAt, addChildren, addChildren, setChild
-
-
-
-
Method Detail
-
getHref
@Nullable com.helger.commons.url.ISimpleURL getHref()
-
hasTarget
default boolean hasTarget()
-
getPing
@Nullable com.helger.commons.url.ISimpleURL getPing()
-
getType
@Nullable com.helger.commons.mime.IMimeType getType()
-
getReferrerPolicy
@Nullable EHCReferrerPolicy getReferrerPolicy()
-
setReferrerPolicy
@Nonnull IMPLTYPE setReferrerPolicy(@Nullable EHCReferrerPolicy eReferrerPolicy)
-
setOnClick
@Nonnull default IMPLTYPE setOnClick(@Nullable IHasJSCode aOnClick)
Shortcut forsetEventHandler(EJSEvent.ONCLICK, aOnClick)- Parameters:
aOnClick- JS event to trigger- Returns:
- this
-
addOnClick
@Nonnull default IMPLTYPE addOnClick(@Nullable IHasJSCode aOnClick)
Shortcut foraddEventHandler(EJSEvent.ONCLICK, aOnClick)- Parameters:
aOnClick- JS event to trigger- Returns:
- this
-
-