|
||||||||||
| 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.zk.ui.HtmlBasedComponent
org.zkoss.zul.Flash
public class Flash
A generic flash component.
Non XUL extension.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
HtmlBasedComponent.ExtraCtrl |
| Nested classes/interfaces inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
AbstractComponent.Children |
| Field Summary |
|---|
| Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
_zclass, RS_NO_DISPLAY, RS_NO_HEIGHT, RS_NO_WIDTH |
| Fields inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
_visible |
| 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 | |
|---|---|
Flash()
|
|
Flash(java.lang.String src)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBgcolor()
Gets the background color of Flash movie. |
Media |
getContent()
Returns the content set by setContent(org.zkoss.util.media.Media). |
java.lang.String |
getEncodedSrc()
Returned the encoded URL of the source flash. |
java.lang.String |
getSrc()
Gets the source path of Flash movie |
java.lang.String |
getWmode()
Returns the Window mode property of the Flash movie Default: "transparent". |
boolean |
isAutoplay()
Return true if the Flash movie starts playing automatically Default: true |
boolean |
isAutoPlay()
Deprecated. As of release 3.6.1, use isAutoplay() instead. |
boolean |
isLoop()
Returns true if the Flash movie plays repeatly. |
void |
setAutoplay(boolean autoplay)
Sets wether to play the Flash movie automatically. |
void |
setAutoPlay(boolean autoplay)
Deprecated. As of release 3.6.1, use setAutoplay(boolean) instead. |
void |
setBgcolor(java.lang.String bgcolor)
Sets the background color of Flash movie. |
void |
setContent(Media media)
Sets the content of the flash directly. |
void |
setLoop(boolean loop)
Sets whether the Flash movie plays repeatly |
void |
setSrc(java.lang.String src)
Sets the source path of Flash movie and redraw the component |
void |
setWmode(java.lang.String wmode)
Sets the Window Mode property of the Flash movie for transparency, layering, and positioning in the browser. |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
focus, getAllOnClickAttrs, getDraggable, getDroppable, getHeight, getInnerAttrs, getLeft, getMoldSclass, getOuterAttrs, getRealSclass, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, newExtraCtrl, redraw, setClass, setDraggable, setDroppable, setFocus, setHeight, setLeft, setMoldSclass, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent |
|---|
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
| Constructor Detail |
|---|
public Flash()
public Flash(java.lang.String src)
| Method Detail |
|---|
public java.lang.String getBgcolor()
Default: null (the system default)
getBgcolor in interface Flashpublic void setBgcolor(java.lang.String bgcolor)
setBgcolor in interface Flashbgcolor - [ hexadecimal RGB value]public boolean isLoop()
Default: false
isLoop in interface Flashpublic void setLoop(boolean loop)
setLoop in interface Flashloop - public boolean isAutoPlay()
isAutoplay() instead.
isAutoPlay in interface Flashpublic void setAutoPlay(boolean autoplay)
setAutoplay(boolean) instead.
setAutoPlay in interface Flashpublic boolean isAutoplay()
Default: true
isAutoplay in interface Flashpublic void setAutoplay(boolean autoplay)
setAutoplay in interface Flashautoplay - whether to play the Flash movie automaticallypublic java.lang.String getWmode()
Default: "transparent".
getWmode in interface Flashpublic void setWmode(java.lang.String wmode)
setWmode in interface Flashwmode - Possible values: window, opaque, transparent.public java.lang.String getSrc()
getSrc in interface Flashpublic void setSrc(java.lang.String src)
setSrc in interface Flashsrc - public void setContent(Media media)
Calling this method implies setSrc(null).
In other words, the last invocation of setContent(org.zkoss.util.media.Media) overrides
the previous setSrc(java.lang.String), if any.
setContent in interface Flashmedia - the media representing the flash, i.e., SWF.setSrc(java.lang.String)public Media getContent()
setContent(org.zkoss.util.media.Media).
Note: it won't fetch what is set thru by setSrc(java.lang.String).
It simply returns what is passed to setContent(org.zkoss.util.media.Media).
getContent in interface Flashpublic java.lang.String getEncodedSrc()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||