|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.AbstractComponent
org.zkoss.jsf.zul.impl.Inline
public class Inline
A component used to embed the browser native content (i.e., HTML tags)
into the output sent to the browser without additional HTML SPAN.
The browser native content is specified by setContent(java.lang.String).
Since the content is sent to client directly, Inline
has some limitations:
Inline is sent to the client,
calling setContent(java.lang.String) won't cause the client to change
the content accordingly.
Rather, you have to invalidate its parent, such that the new
content will be sent to the client with its parent's content.Inline.
Html,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface org.zkoss.zk.ui.Component |
|---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
| Constructor Summary | |
|---|---|
Inline()
Constructs a Inline component to embed HTML tags. |
|
Inline(java.lang.String content)
Constructs a Inline component to embed HTML tags
with the specified content. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContent()
Returns the embedded content (i.e., HTML tags). |
boolean |
isChildable()
Default: not childable. |
void |
redraw(java.io.Writer out)
|
void |
setContent(java.lang.String content)
Sets the embedded content (i.e., HTML tags). |
| Methods inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendChild, applyProperties, clone, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getDefinition, getDesktop, getEventHandler, getExtraCtrl, getFellow, getFellowIfAny, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, insertBefore, invalidate, isAsapRequired, isListenerAvailable, isVisible, newExtraCtrl, onChildAdded, onChildRemoved, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, smartUpdate, smartUpdate, smartUpdate, toString, unsetVariable |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Inline()
Inline component to embed HTML tags.
public Inline(java.lang.String content)
Inline component to embed HTML tags
with the specified content.
| Method Detail |
|---|
public java.lang.String getContent()
Default: empty ("").
public void setContent(java.lang.String content)
Note: Unlike Html, the content of Inline
cannot be changed dynamically.
In other words, once the output of
Inline is sent the client, calling this method
won't change the content at the client accordingly.
Rather, you have to invalidate its parent, such that the new
content will be sent to the client with its parent's content.
public boolean isChildable()
isChildable in interface org.zkoss.zk.ui.ComponentisChildable in class org.zkoss.zk.ui.AbstractComponent
public void redraw(java.io.Writer out)
throws java.io.IOException
redraw in interface org.zkoss.zk.ui.Componentredraw in class org.zkoss.zk.ui.AbstractComponentjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||