|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzk.Object
zk.Widget
zul.Widget
zul.med.Applet
public class Applet
A generic applet component.
Non XUL extension.
Note: Widget.setVisible(boolean) with false cannot work in IE. (Browser's limitation)
| 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 |
getAlign()
Returns the alignment of an applet according to surrounding elements. |
String |
getArchive()
Returns the location of an archive file (URL). |
String |
getCode()
Return the applet class to run. |
String |
getCodebase()
Return a relative base URL for applets specified in setCode(_global_.String) (URL). |
String |
getField(String name)
Returns the value of the specified filed. |
String |
getHspace()
Returns the horizontal spacing around an applet. |
String |
getVspace()
Returns the vertical spacing around an applet. |
void |
invoke()
Invokes the function of the applet running at the client. |
boolean |
isMayscript()
Returns whether the applet is allowed to access the scripting object. |
void |
setAlign(String align)
Sets the alignment of an applet according to surrounding elements. |
void |
setArchive(String archive)
Sets the location of an archive file (URL). |
void |
setCode(String code)
Sets the applet class to run. |
void |
setCodebase(String codebase)
Sets a relative base URL for applets specified in setCode(_global_.String) (URL). |
void |
setField(String name,
String value)
Sets the value of the specified filed. |
void |
setHspace(String hspace)
Sets the horizontal spacing around an applet. |
void |
setMayscript(boolean myscript)
Sets whether the applet is allowed to access the scripting object. |
void |
setParam(String nm,
String val)
Sets the param. |
void |
setParams(Map m)
Sets the params map. |
void |
setVspace(String vspace)
Sets the vertical spacing around an applet. |
| Methods inherited from class zul.Widget |
|---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
| 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 setCode(String code)
code - public String getCode()
public void setCodebase(String codebase)
setCode(_global_.String) (URL).
codebase - public String getCodebase()
setCode(_global_.String) (URL).
public void setArchive(String archive)
archive - public String getArchive()
public void setMayscript(boolean myscript)
myscript - public boolean isMayscript()
public void setAlign(String align)
align - public String getAlign()
public void setHspace(String hspace)
hspace - public String getHspace()
public void setVspace(String vspace)
vspace - public String getVspace()
public String getField(String name)
name -
public void setField(String name,
String value)
name - value -
public void setParam(String nm,
String val)
setParam('attr1', 'value1')
gives a param tag under applet tag with name
attr1, value value1.
There are two format:
setParam(nm, val)
and
setParam([nm, val])
nm - val - public void setParams(Map m)
m - A map of param pairs, as applet parameters. For example,
{attr1:'value1', attr2:'value2'} gives two param
tags under applet tag with names attr1, attr2,
values value1, value2 respectively.public void invoke()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||