public class AbstractExportProvider extends Object
All methods in the class throw UnsupportedOperationException by default. Subclasses should override and implement as required.
| Constructor and Description |
|---|
AbstractExportProvider() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.Widget |
getMissingPluginVersionWidget(Plugin plugin,
PluginVersion requiredVersion)
Called to retrieve the widget that may be used when the required version of a
plugin is not found.
|
com.google.gwt.user.client.ui.Widget |
getMissingPluginWidget(Plugin plugin)
Called to retrieve the widget that may be used when the required plugin is not
found.
|
AbstractMediaPlayer |
getPlayer(String playerProvider,
String playerName,
String mediaURL,
boolean autoplay,
String width,
String height,
HashMap<String,String> options)
Called to retrieve the player implementation that is exported as Javascript object.
|
MediaSeekBar |
getSeekBar(int height,
HashMap<String,String> options)
Called to retrieve the seek bar implementation that is exported as Javascript object.
|
public AbstractMediaPlayer getPlayer(String playerProvider, String playerName, String mediaURL, boolean autoplay, String width, String height, HashMap<String,String> options) throws LoadException, PluginNotFoundException, PluginVersionException
playerProvider - the provider of the playerplayerName - the name of the playermediaURL - the URL of the media fileautoplay - true to start playback automatically, false otherwisewidth - the width of the player (in CSS units)height - the height of the player (in CSS units)options - user-defined options supplied during Javascript-object creationLoadException - if an error occurs while loading the media.PluginNotFoundException - if the required plugin is not foundPluginVersionException - if the required plugin version is missingpublic MediaSeekBar getSeekBar(int height, HashMap<String,String> options)
height - the height of the seek bar (in pixels)options - user-defined options supplied during Javascript-object creation.public com.google.gwt.user.client.ui.Widget getMissingPluginWidget(Plugin plugin)
plugin - the required pluginpublic com.google.gwt.user.client.ui.Widget getMissingPluginVersionWidget(Plugin plugin, PluginVersion requiredVersion)
plugin - the required pluginrequiredVersion - the required plugin versionCopyright © 2009-2013. All Rights Reserved.