public class Text
extends org.zkoss.zk.ui.AbstractComponent
implements org.zkoss.zk.ui.ext.RawId
| Modifier and Type | Class and Description |
|---|---|
protected class |
Text.ExtraCtrl |
| Modifier and Type | Method and Description |
|---|---|
Object |
getExtraCtrl() |
org.zkoss.zk.ui.sys.PropertyAccess |
getPropertyAccess(String prop) |
Integer |
getTabindexInteger()
Returns null if not set.
|
String |
getValue()
Returns the value.
|
String |
getWidgetClass()
Returns the widget class, "zhtml.Text".
|
void |
invalidate() |
protected boolean |
isChildable() |
boolean |
isEncode()
Returns whether to encode the text, such as converting < to <.
|
void |
redraw(Writer out) |
protected void |
renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) |
void |
setEncode(boolean encode)
Sets whether to encode the text, such as converting < to <.
|
void |
setParent(org.zkoss.zk.ui.Component parent) |
void |
setTabindex(Integer tabindex)
Sets the tab order of this component.
|
void |
setValue(String value)
Sets the value.
|
addAnnotation, addAnnotation, addCallback, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildAdded, beforeChildRemoved, beforeParentChanged, clone, 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, 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, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerializepublic Text()
public Text(String value)
public String getValue()
Default: "".
public void setValue(String value)
public Integer getTabindexInteger()
public void setTabindex(Integer tabindex)
tabindex - public boolean isEncode()
Default: true.
public void setEncode(boolean encode)
Default: true.
public String getWidgetClass()
getWidgetClass in interface org.zkoss.zk.ui.ComponentgetWidgetClass in class org.zkoss.zk.ui.AbstractComponentpublic void setParent(org.zkoss.zk.ui.Component parent)
setParent in interface org.zkoss.zk.ui.ComponentsetParent in class org.zkoss.zk.ui.AbstractComponentpublic void invalidate()
invalidate in interface org.zkoss.zk.ui.Componentinvalidate in class org.zkoss.zk.ui.AbstractComponentpublic void redraw(Writer out) throws IOException
redraw in interface org.zkoss.zk.ui.sys.ComponentCtrlredraw in class org.zkoss.zk.ui.AbstractComponentIOExceptionprotected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer)
throws IOException
renderProperties in class org.zkoss.zk.ui.AbstractComponentIOExceptionprotected boolean isChildable()
isChildable in class org.zkoss.zk.ui.AbstractComponentpublic Object getExtraCtrl()
getExtraCtrl in interface org.zkoss.zk.ui.sys.ComponentCtrlgetExtraCtrl in class org.zkoss.zk.ui.AbstractComponentpublic org.zkoss.zk.ui.sys.PropertyAccess getPropertyAccess(String prop)
getPropertyAccess in interface org.zkoss.zk.ui.sys.ComponentCtrlgetPropertyAccess in class org.zkoss.zk.ui.AbstractComponentCopyright © 2022. All rights reserved.