public class Input extends AbstractTag
AbstractTag.ExtraCtrl_tagnm| Modifier | Constructor and Description |
|---|---|
|
Input() |
protected |
Input(String tagnm) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccept()
Returns the accept of this input tag.
|
String |
getAlt()
Returns the alt of this input tag.
|
String |
getAutocomplete()
Returns the autocomplete of this input tag.
|
String |
getDirname()
Returns the dirname of this input tag.
|
String |
getHeight()
Returns the height of this input tag.
|
String |
getInputmode()
Returns the inputmode of this input tag.
|
String |
getList()
Returns the list of this input tag.
|
String |
getMax()
Returns the max of this input tag.
|
Integer |
getMaxlength()
Returns the maxlength of this input tag.
|
String |
getMin()
Returns the min of this input tag.
|
String |
getName()
Returns the name of this input tag.
|
String |
getPattern()
Returns the pattern of this input tag.
|
String |
getPlaceholder()
Returns the placeholder of this input tag.
|
String |
getSelectiondirection()
Returns the selectiondirection of this input tag.
|
Integer |
getSize()
Returns the size of this input tag.
|
String |
getSrc()
Returns the src of this input tag.
|
Integer |
getStep()
Returns the step of this input tag.
|
String |
getType()
Returns the type of this input tag.
|
String |
getValue()
Returns the value of this input.
|
String |
getWidgetClass()
Returns the widget class, "zhtml.Input".
|
String |
getWidth()
Returns the width of this input tag.
|
boolean |
isAutofocus()
Returns the autofocus of this input tag.
|
boolean |
isChecked()
Returns if the input is checked (type: checkbox or radio).
|
boolean |
isDisabled()
Returns the disabled of this input tag.
|
boolean |
isMultiple()
Returns the multiple of this input tag.
|
boolean |
isReadonly()
Returns the readonly of this input tag.
|
boolean |
isRequired()
Returns the required of this input tag.
|
void |
service(org.zkoss.zk.au.AuRequest request,
boolean everError)
Processes an AU request.
|
void |
setAccept(String accept)
Sets the accept of this input tag
|
void |
setAlt(String alt)
Sets the alt of this input tag
|
void |
setAutocomplete(String autocomplete)
Sets the autocomplete of this input tag
|
void |
setAutofocus(boolean autofocus)
Sets the autofocus of this input tag.
|
void |
setChecked(boolean checked)
Sets if the input is checked (type: checkbox or radio).
|
void |
setDirname(String dirname)
Sets the dirname of this input tag
|
void |
setDisabled(boolean disabled)
Sets the disabled of this input tag.
|
void |
setHeight(String height)
Sets the height of this input tag
|
void |
setInputmode(String inputmode)
Sets the inputmode of this input tag
|
void |
setList(String list)
Sets the list of this input tag
|
void |
setMax(String max)
Sets the max of this input tag
|
void |
setMaxlength(Integer maxlength)
Sets the maxlength of this input tag
|
void |
setMin(String min)
Sets the min of this input tag
|
void |
setMultiple(boolean multiple)
Sets the multiple of this input tag
|
void |
setName(String name)
Sets the name of this input tag
|
void |
setPattern(String pattern)
Sets the pattern of this input tag
|
void |
setPlaceholder(String placeholder)
Sets the placeholder of this input tag
|
void |
setReadonly(Boolean readonly)
Sets the readonly of this input tag
|
void |
setRequired(boolean required)
Sets the required of this input tag
|
void |
setSelectiondirection(String selectiondirection)
Sets the selectiondirection of this input tag
|
void |
setSize(Integer size)
Sets the size of this input tag
|
void |
setSrc(String src)
Sets the src of this input tag
|
void |
setStep(Integer step)
Sets the step of this input tag
|
void |
setType(String type)
Sets the type of this input tag
|
void |
setValue(String value)
Sets the vallue of this input.
|
void |
setWidth(String width)
Sets the width of this input tag
|
protected void |
smartUpdate(String attr,
Object value) |
clone, getAccesskey, getDir, getDynamicProperty, getExtraCtrl, getLang, getPropertyAccess, getSclass, getStyle, getTabindex, getTag, getTitle, 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, 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, smartUpdateWidgetListener, smartUpdateWidgetOverride, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerializepublic Input()
protected Input(String tagnm)
public String getValue()
public void setValue(String value) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic boolean isChecked()
public void setChecked(boolean checked)
public String getAccept()
public void setAccept(String accept) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getAlt()
public void setAlt(String alt) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getAutocomplete()
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.
public void setAutocomplete(String autocomplete) 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 boolean isAutofocus()
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.
public void setAutofocus(boolean autofocus)
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 getDirname()
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.
public void setDirname(String dirname) 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 boolean isDisabled()
public void setDisabled(boolean disabled)
throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getHeight()
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.
public void setHeight(String height) 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 getInputmode()
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.
public void setInputmode(String inputmode) 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 getList()
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.
public void setList(String list) 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 getMax()
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.
public void setMax(String max) 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 Integer getMaxlength()
public void setMaxlength(Integer maxlength) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getMin()
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.
public void setMin(String min) 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 boolean isMultiple()
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.
public void setMultiple(boolean multiple)
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 getName()
public void setName(String name) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getPattern()
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.
public void setPattern(String pattern) 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 getPlaceholder()
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.
public void setPlaceholder(String placeholder) 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 boolean isReadonly()
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.
public void setReadonly(Boolean readonly) 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 boolean isRequired()
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.
public void setRequired(boolean required)
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 getSelectiondirection()
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.
public void setSelectiondirection(String selectiondirection) 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 Integer getSize()
public void setSize(Integer size) 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 Integer getStep()
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.
public void setStep(Integer step) 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 getType()
public void setType(String type) throws org.zkoss.zk.ui.WrongValueException
org.zkoss.zk.ui.WrongValueExceptionpublic String getWidth()
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.
public void setWidth(String width) 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 getWidgetClass()
getWidgetClass in interface org.zkoss.zk.ui.ComponentgetWidgetClass in class AbstractTagprotected void smartUpdate(String attr, Object value)
smartUpdate in class org.zkoss.zk.ui.AbstractComponentpublic void service(org.zkoss.zk.au.AuRequest request,
boolean everError)
service in interface org.zkoss.zk.ui.sys.ComponentCtrlservice in class org.zkoss.zk.ui.AbstractComponentCopyright © 2022. All rights reserved.