|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.AbstractComponent org.zkoss.zhtml.impl.AbstractTag org.zkoss.zhtml.Input org.zkoss.zhtml.Textarea
public class Textarea
The TEXTAREA tag.
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.zkoss.zhtml.impl.AbstractTag |
---|
AbstractTag.ExtraCtrl |
Nested classes/interfaces inherited from class org.zkoss.zk.ui.AbstractComponent |
---|
AbstractComponent.Children |
Field Summary |
---|
Fields inherited from class org.zkoss.zhtml.impl.AbstractTag |
---|
_tagnm |
Fields inherited from interface org.zkoss.zk.ui.Component |
---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
Fields inherited from interface org.zkoss.zk.ui.sys.ComponentCtrl |
---|
CE_BUSY_IGNORE, CE_DUPLICATE_IGNORE, CE_IMPORTANT, CE_NON_DEFERRABLE, CE_REPEAT_IGNORE |
Constructor Summary | |
---|---|
Textarea()
|
|
Textarea(java.lang.String value)
|
Method Summary | |
---|---|
void |
afterCompose()
Invokes after ZK loader creates this component, initializes it and composes all its children, if any. |
java.lang.Object |
getDynamicProperty(java.lang.String name)
Returns the dynamic property, or null if not found. |
protected void |
redrawChildrenDirectly(TagRenderContext rc,
Execution exec,
java.io.Writer out)
Renders the children directly to the given output. |
protected void |
renderProperties(ContentRenderer renderer)
Called by ( ComponentCtrl.redraw(java.io.Writer) ) to render the
properties, excluding the enclosing tag and children. |
void |
setDynamicProperty(java.lang.String name,
java.lang.Object value)
Sets the dynamic property. |
Methods inherited from class org.zkoss.zhtml.Input |
---|
getValue, isChecked, service, setChecked, setValue, smartUpdate |
Methods inherited from class org.zkoss.zhtml.impl.AbstractTag |
---|
clone, getExtraCtrl, getSclass, getStyle, getTag, getWidgetClass, hasDynamicProperty, isChildable, isOrphanTag, redraw, setSclass, setStyle, setVisible, shallHideId, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Textarea()
public Textarea(java.lang.String value)
Method Detail |
---|
public void afterCompose()
AfterCompose
afterCompose
in interface AfterCompose
public void setDynamicProperty(java.lang.String name, java.lang.Object value) throws WrongValueException
AbstractTag
Objects.toString(java.lang.Object)
).
Note: it handles the style property specially. Refer to AbstractTag.setStyle(java.lang.String)
for details.
setDynamicProperty
in interface DynamicPropertied
setDynamicProperty
in class AbstractTag
WrongValueException
public java.lang.Object getDynamicProperty(java.lang.String name)
AbstractTag
getDynamicProperty
in interface DynamicPropertied
getDynamicProperty
in class AbstractTag
protected void renderProperties(ContentRenderer renderer) throws java.io.IOException
AbstractComponent
ComponentCtrl.redraw(java.io.Writer)
) to render the
properties, excluding the enclosing tag and children.
Default: it renders AbstractComponent.getId()
if it was assigned,
and event names if listened (and listed in AbstractComponent.getClientEvents()
).
Note: it doesn't render AbstractComponent.getWidgetClass()
, AbstractComponent.getUuid()
and AbstractComponent.getMold()
, which are caller's job.
renderProperties
in class AbstractTag
java.io.IOException
protected void redrawChildrenDirectly(TagRenderContext rc, Execution exec, java.io.Writer out) throws java.io.IOException
AbstractTag
AbstractTag.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 AbstractTag
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |