Class A
- All Implemented Interfaces:
Serializable,Cloneable,org.zkoss.zk.ui.Component,org.zkoss.zk.ui.ext.DynamicPropertied,org.zkoss.zk.ui.ext.RawId,org.zkoss.zk.ui.ext.Scope,org.zkoss.zk.ui.sys.ComponentCtrl
- Author:
- tomyeh
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.zkoss.zhtml.impl.AbstractTag
AbstractTag.ExtraCtrlNested classes/interfaces inherited from class org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.AbstractComponent.Children, org.zkoss.zk.ui.AbstractComponent.ForwardInfo, org.zkoss.zk.ui.AbstractComponent.TargetInfo -
Field Summary
Fields inherited from class org.zkoss.zhtml.impl.AbstractTag
_tagnmFields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPEFields inherited from interface org.zkoss.zk.ui.sys.ComponentCtrl
AFTER_CHILD_ADDED, AFTER_CHILD_REMOVED, AFTER_CLONED, AFTER_PAGE_ATTACHED, AFTER_PAGE_DETACHED, AFTER_PARENT_CHANGED, CE_BUSY_IGNORE, CE_DUPLICATE_IGNORE, CE_IMPORTANT, CE_NON_DEFERRABLE, CE_REPEAT_IGNORE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the download of this a tag.getHref()Returns the href of this a tag.Returns the hreflang of this a tag.getMedia()Returns the media of this a tag.getPing()Returns the ping of this a tag.Returns the referrerpolicy of this a tag.getRel()Returns the rel of this a tag.Returns the target of this a tag.getType()Returns the type of this a tag.voidsetDownload(String download) Sets the download of this a tag.voidSets the href of this a tag.voidsetHreflang(String hreflang) Sets the hreflang of this a tag.voidSets the media of this a tag.voidSets the ping of this a tag as a space-separated list of URLs.voidsetReferrerpolicy(String referrerpolicy) Sets the referrerpolicy of this a tag.voidSets the rel of this a tag.voidSets the target of this a tag.voidSets the type of this a tagMethods inherited from class org.zkoss.zhtml.impl.AbstractTag
clone, getAccesskey, getDir, getDynamicProperties, getDynamicProperty, getExtraCtrl, getLang, getPropertyAccess, getSclass, getStyle, getTabindex, getTag, getTitle, getWidgetClass, hasDynamicProperty, isChildable, isContenteditable, isDraggable, isHidden, isOrphanTag, isSpellcheck, redraw, redrawChildrenDirectly, renderProperties, setAccesskey, setContenteditable, setDir, setDraggable, setDynamicProperty, setHidden, setLang, setSclass, setSpellcheck, setStyle, setTabindex, setTitle, setVisible, shallHideId, toStringMethods inherited from class org.zkoss.zk.ui.AbstractComponent
addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, destroyIndexCacheMap, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, disableHostChanged, enableBindingAnnotation, enableHostChanged, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getCallback, getChildren, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getForwards, getId, getIndexCacheMap, getLastChild, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttributeNames, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, initIndexCacheMap, insertBefore, invalidate, isDisabledHostChanged, isInitialized, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onParentChanged, onWrongValue, query, queryAll, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, renderPropertiesOnly, replace, response, response, response, service, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisibleDirectly, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerialize
-
Constructor Details
-
A
public A()
-
-
Method Details
-
getDownload
Returns the download of this a tag.Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.
- Since:
- 8.0.3
-
setDownload
Sets the download of this a tag.Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.
- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 8.0.3
-
getHref
Returns the href of this a tag.- Since:
- 8.0.3
-
setHref
Sets the href of this a tag.- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 8.0.3
-
getHreflang
Returns the hreflang of this a tag.- Since:
- 8.0.3
-
setHreflang
Sets the hreflang of this a tag.- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 8.0.3
-
getMedia
Returns the media of this a tag.Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.
- Since:
- 8.0.3
-
setMedia
Sets the media of this a tag.Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.
- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 8.0.3
-
getRel
Returns the rel of this a tag.- Since:
- 8.0.3
-
setRel
Sets the rel of this a tag.- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 8.0.3
-
getTarget
Returns the target of this a tag.- Since:
- 8.0.3
-
setTarget
Sets the target of this a tag.- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 8.0.3
-
getType
Returns the type of this a tag.- Since:
- 8.0.3
-
setType
Sets the type of this a tag- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 8.0.3
-
getPing
Returns the ping of this a tag.- Since:
- 10.0.0
-
setPing
Sets the ping of this a tag as a space-separated list of URLs. When the link is followed, the browser will sendPOSTrequests with the bodyPINGto the URLs. Typically, it's for tracking.- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 10.0.0
-
getReferrerpolicy
Returns the referrerpolicy of this a tag.- Since:
- 10.0.0
-
setReferrerpolicy
Sets the referrerpolicy of this a tag.How much of the
referrerto send when following the link.no-referrer: The Referer header will not be sent.no-referrer-when-downgrade: The Referer header will not be sent to origins without TLS (HTTPS).origin: The sent referrer will be limited to the origin of the referring page: its scheme, host, and port.origin-when-cross-origin: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.same-origin: A referrer will be sent for same origin, but cross-origin requests will contain no referrer information.strict-origin: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don't send it to a less secure destination (HTTPS→HTTP).strict-origin-when-cross-origin(default): Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).unsafe-url: The referrer will include the origin and the path (but not the fragment, password, or username). This value is unsafe, because it leaks origins and paths from TLS-protected resources to insecure origins.
- Throws:
org.zkoss.zk.ui.WrongValueException- Since:
- 10.0.0
-