public class Img extends AbstractTag
AbstractTag.ExtraCtrl_tagnm| Constructor and Description |
|---|
Img() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlt()
Returns the alt of this img tag.
|
String |
getCrossorigin()
Returns the crossorigin of this img tag.
|
String |
getHeight()
Returns the height of this img tag.
|
String |
getLongdesc()
Returns the longdesc of this img tag.
|
String |
getSrc()
Returns the src of this img tag.
|
String |
getUsemap()
Returns the usemap of this img tag.
|
String |
getWidth()
Returns the width of this img tag.
|
boolean |
isIsmap()
Returns the ismap of this img tag.
|
void |
setAlt(String alt)
Sets the alt of this img tag.
|
void |
setCrossorigin(String crossorigin)
Sets the crossorigin of this img tag.
|
void |
setHeight(String height)
Sets the height of this img tag.
|
void |
setIsmap(boolean ismap)
Sets the ismap of this img tag.
|
void |
setLongdesc(String longdesc)
Sets the longdesc of this img tag.
|
void |
setSrc(String src)
Sets the src of this img tag.
|
void |
setUsemap(String usemap)
Sets the usemap of this img tag.
|
void |
setWidth(String width)
Sets the width of this img tag.
|
clone, getAccesskey, getDir, 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, toStringaddAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, enableBindingAnnotation, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, 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, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowFellowIfAny, getShadowRoots, getShadowVariable, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, insertBefore, invalidate, invalidatePartial, isInitialized, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onWrongValue, query, queryAll, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeCallback, removeChild, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, 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, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerializepublic String getAlt()
public void setAlt(String alt) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getCrossorigin()
public void setCrossorigin(String crossorigin) throws org.zkoss.zk.ui.WrongValueException
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.
org.zkoss.zk.ui.WrongValueExceptionpublic String getHeight()
public void setHeight(String height) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic boolean isIsmap()
public void setIsmap(boolean ismap)
throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getLongdesc()
public void setLongdesc(String longdesc) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getSrc()
public void setSrc(String src) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getUsemap()
public void setUsemap(String usemap) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getWidth()
public void setWidth(String width) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionCopyright © 2021. All rights reserved.