public class PlayerElement extends Object
This class is tied to the PlayerProviderFactory
to provide
browser-specific implementations via deferred binding.
PlayerWidget
Modifier and Type | Class and Description |
---|---|
static class |
PlayerElement.Type
Enumeration of HTML object element types
|
Constructor and Description |
---|
PlayerElement(PlayerElement.Type type,
String id,
String typeOrClassId)
Creates a new PlayerElement object
|
Modifier and Type | Method and Description |
---|---|
void |
addParam(String name,
String value)
Adds the specified parameters to the element.
|
com.google.gwt.dom.client.Element |
getElement()
Returns the DOM element representation of this player object
|
public PlayerElement(PlayerElement.Type type, String id, String typeOrClassId)
type
- the element typeid
- the DOM ID of the elementtypeOrClassId
- the HTML type (mime-type), or the CLASSID (if in Internet Explorer) of the elementpublic final void addParam(String name, String value)
name
- the name of the parametervalue
- the value of the parameterpublic com.google.gwt.dom.client.Element getElement()
Copyright © 2009-2013. All Rights Reserved.