com.vaadin.terminal.gwt.client.ui
Class VMediaBase

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.vaadin.terminal.gwt.client.ui.VMediaBase
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsWidget
Direct Known Subclasses:
VAudio, VVideo

public abstract class VMediaBase
extends com.google.gwt.user.client.ui.Widget


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
VMediaBase()
           
 
Method Summary
 void addSource(String sourceUrl, String sourceType)
           
 void pause()
           
 void play()
           
 void setAltText(String alt)
           
 void setAutoplay(boolean shouldAutoplay)
           
 void setControls(boolean shouldShowControls)
           
 void setMediaElement(com.google.gwt.dom.client.MediaElement element)
          Sets the MediaElement that is to receive all commands and properties.
 void setMuted(boolean mediaMuted)
           
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VMediaBase

public VMediaBase()
Method Detail

setMediaElement

public void setMediaElement(com.google.gwt.dom.client.MediaElement element)
Sets the MediaElement that is to receive all commands and properties.

Parameters:
element -

play

public void play()

pause

public void pause()

setAltText

public void setAltText(String alt)

setControls

public void setControls(boolean shouldShowControls)

setAutoplay

public void setAutoplay(boolean shouldAutoplay)

setMuted

public void setMuted(boolean mediaMuted)

addSource

public void addSource(String sourceUrl,
                      String sourceType)


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.