public class Textarea extends Input implements org.zkoss.zk.ui.ext.AfterCompose
If you instantiate Textarea directly, you shall use Input.setValue(java.lang.String)
to set up the value. You shall not add children to it.
AbstractTag.ExtraCtrl_tagnm| Modifier and Type | Method and Description |
|---|---|
void |
afterCompose() |
Object |
getDynamicProperty(String name)
Returns the dynamic property, or null if not found.
|
String |
getWidgetClass()
Returns the widget class, "zhtml.Input".
|
protected void |
redrawChildrenDirectly(TagRenderContext rc,
org.zkoss.zk.ui.Execution exec,
Writer out)
Renders the children directly to the given output.
|
protected void |
renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) |
void |
setDynamicProperty(String name,
Object value)
Sets the dynamic property.
|
getValue, isChecked, service, setChecked, setValue, smartUpdateclone, getExtraCtrl, getPropertyAccess, getSclass, getStyle, getTag, hasDynamicProperty, isChildable, isOrphanTag, redraw, setSclass, setStyle, setVisible, shallHideId, toStringaddAnnotation, addAnnotation, 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, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, 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, getShadowRoots, 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, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onWrongValue, query, queryAll, redrawChildren, removeAttribute, removeAttribute, removeAttribute, 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 Textarea()
public Textarea(String value)
public void afterCompose()
afterCompose in interface org.zkoss.zk.ui.ext.AfterComposepublic void setDynamicProperty(String name, Object value) throws org.zkoss.zk.ui.WrongValueException
AbstractTagObjects.toString(java.lang.Object)).
Note: it handles the style property specially. Refer to AbstractTag.setStyle(java.lang.String)
for details.
setDynamicProperty in interface org.zkoss.zk.ui.ext.DynamicPropertiedsetDynamicProperty in class AbstractTagorg.zkoss.zk.ui.WrongValueExceptionpublic Object getDynamicProperty(String name)
AbstractTaggetDynamicProperty in interface org.zkoss.zk.ui.ext.DynamicPropertiedgetDynamicProperty in class AbstractTagpublic String getWidgetClass()
getWidgetClass in interface org.zkoss.zk.ui.ComponentgetWidgetClass in class Inputprotected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer)
throws IOException
renderProperties in class AbstractTagIOExceptionprotected void redrawChildrenDirectly(TagRenderContext rc, org.zkoss.zk.ui.Execution exec, Writer out) throws IOException
AbstractTagAbstractTag.redraw(java.io.Writer) is going to render
the content (HTML tags) directly.
If it is about to generate the JavaScript code
AbstractComponent.redrawChildren(java.io.Writer) will be called instead.
You have to override this method if the deriving class has additional information to render.
redrawChildrenDirectly in class AbstractTagIOExceptionCopyright © 2015. All Rights Reserved.