|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.utl.Script
public class Script
A component to generate script codes that will be evaluated at the client. It is similar to HTML SCRIPT tag.
Field Summary |
---|
Fields inherited from class zk.Widget |
---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
Fields inherited from class zk.Object |
---|
$class, $oid |
Method Summary | |
---|---|
String |
getCharset()
Returns the character enconding of the source. |
String |
getContent()
Returns the content of the script element. |
String |
getSrc()
Returns the URI of the source that contains the script codes. |
void |
setCharset(String charset)
Sets the character encoding of the source. |
void |
setContent(String content)
Sets the content of the script element. |
void |
setSrc(String src)
Sets the URI of the source that contains the script codes. |
Methods inherited from class zk.Object |
---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setContent(String content)
content
- public String getContent()
Default: null.
public void setSrc(String src)
You either add the script codes directly with the Label
children, or
set the URI to load the script codes with setSrc(_global_.String)
.
But, not both.
src
- the URI of the source that contains the script codespublic String getSrc()
Default: null.
public void setCharset(String charset)
setSrc(_global_.String)
.
charset
- public String getCharset()
getSrc()
.
Default: null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |