public class Flash
extends com.google.gwt.user.client.ui.Composite
SWFWidget
providing UiBinder support.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'
xmlns:player='urn:import:com.bramosystems.oss.player.uibinder.client'>
...
<player:Flash height='20px' width='100%' pluginVersion='9.0.0'
mediaURL='http://some-nice-flash.swf' />
...
</ui:UiBinder>
Constructor and Description |
---|
Flash(String mediaURL,
String height,
String width,
String pluginVersion)
The constructor
|
Modifier and Type | Method and Description |
---|---|
SWFWidget |
getSWFWidget()
Returns the underlying
SWFWidget object wrapped by this widget. |
void |
setFlashVars(String flashVars)
Sets the
flashVars property of the underlying Flash application |
void |
setParams(String params)
Sets the comma-separated list of name/value pairs as HTML param tags
on the widget
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
@UiConstructor public Flash(String mediaURL, String height, String width, String pluginVersion)
mediaURL
- the URL of the media to playbackheight
- the height of the player (in CSS units)width
- the width of the player (in CSS units)pluginVersion
- the minimum version of the required Flash pluginpublic SWFWidget getSWFWidget()
SWFWidget
object wrapped by this widget.SWFWidget
public void setParams(String params)
params
- comma-separated list of parameterspublic void setFlashVars(String flashVars)
flashVars
property of the underlying Flash applicationflashVars
- the flashVars propertyCopyright © 2009-2013. All Rights Reserved.