public class Applet extends Widget
Non XUL extension.
Note: Widget.setVisible(boolean)
with false cannot work in IE. (Browser's limitation)
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName
Modifier and Type | Method and Description |
---|---|
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.
|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip
$, $f, $f, $f, $init, $n, $n, $o, $s, $service, afterAnima_, afterParentChanged_, appendChild, appendChild, beforeParentChanged_, beforeSendAU_, bind_, bind, bindChildren_, bindDoubleTap_, bindMissingAncestors, bindSwipe_, bindTapHold_, canActivate, cleanDrag_, clear, clearCache, cloneDrag_, deferRedraw_, deferRedrawHTML_, detach, doBlur_, doClick_, doDoubleClick_, doFocus_, doKeyDown_, doKeyPress_, doKeyUp_, domAttrs_, domClass_, domListen_, doMouseDown_, doMouseMove_, doMouseOut_, doMouseOver_, doMouseUp_, domStyle_, domTextStyleAttr_, domTooltiptext_, domUnlisten_, doPaste_, doResizeScroll_, doRightClick_, doSelect_, doSwipe_, doTooltipOut_, doTooltipOver_, dropEffect_, extraBind_, fire, fireX, focus_, focus, forcerender, fromPageCoord, get, getAction, getCaveNode, getChildAt, getChildIndex, getClass, getCssflex, getDraggable, getDragMessage_, getDragNode, getDragOptions_, getDrop_, getDroppable, getElementsById, getElementsByName, getFirstNode_, getFloatZIndex_, getHeight, getHflex, getId, getLeft, getMold, getOldWidget_, getPage, getRenderdefer, getSclass, getScrollLeft, getScrollTop, getStyle, getTabindex, getTextNode, getTooltiptext, getTop, getTopWidget, getVflex, getWidth, getZclass, getZIndex, hide, ignoreDescendantFloatUp_, ignoreDrag_, initDrag_, insertBefore, insertChildHTML_, isAutoId, isBinding, isFloating_, isListen, isRealElement, isRealVisible, isRealVisible, isVisible, isVisible, isWatchable_, listen, listenOnFitSize_, mimicMouseDown_, newInstance, nextUuid, onAfterSize, onChildAdded_, onChildRemoved_, onChildRenderDefer_, onChildReplaced_, onChildVisible_, onDrop_, redraw, redrawHTML_, register, removeChild, removeChild, removeChildHTML_, removeHTML_, replaceCavedChildren_, replaceChildHTML_, replaceHTML, replaceWidget, rerender, rerender, rerenderLater_, rerenderNow_, scrollIntoView, sendAU_, set, set, setAction, setChildren, setCssflex, setDomVisible_, setDraggable, setDroppable, setFloating_, setFloatZIndex_, setHeight, setHflex, setId, setLeft, setListener, setListener, setListeners, setMold, setRenderdefer, setSclass, setScrollLeft, setScrollTop, setStyle, setTabindex, setTooltiptext, setTop, setTopmost, setVflex, setVisible, setWidth, setZclass, setZIndex, shallChildROD_, shallFireSizedLaterWhenAddChd_, shallIgnoreClick_, show, smartUpdate, unbind_, unbind, unbindChildren_, unbindDoubleTap_, unbindSwipe_, unbindTapHold_, uncloneDrag_, unlisten, unlistenOnFitSize_, updateDomClass_, updateDomStyle_, uuid, zsync
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy
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()
Copyright © 2005-2023 Potix Corporation. All Rights Reserved.