|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.Widget zul.med.Audio
public class Audio
An audio clip.
An extension to XUL.
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. |
String |
getBorder()
Returns the width of the border. |
String |
getSrc()
Returns the src. |
boolean |
isAutostart()
Returns whether to auto start playing the audio. |
boolean |
isLoop()
Returns whether to play the audio repeatedly. |
void |
pause()
Pauses the audio at the cient. |
void |
play()
Plays the audio at the client. |
void |
setAlign(String align)
Sets the alignment: one of top, texttop, middle, absmiddle, bottom, absbottom, baseline, left, right and center. |
void |
setAutostart(boolean autostart)
Sets whether to auto start playing the audio. |
void |
setBorder(String border)
Sets the width of the border. |
void |
setLoop(boolean loop)
Sets whether to play the audio repeatedly. |
void |
setSrc(String src)
Sets the src. |
void |
stop()
Stops the audio at the client. |
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 setSrc(String src)
src
- public String getSrc()
Default: null.
public void setAlign(String align)
align
- public String getAlign()
Default: null (use browser default).
public void setBorder(String border)
border
- public String getBorder()
Default: null (use browser default).
public void setAutostart(boolean autostart)
autostart
- public boolean isAutostart()
Default: false;
public void setLoop(boolean loop)
loop
- public boolean isLoop()
Default: false;
public void play()
public void stop()
public void pause()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |