|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.bramosystems.oss.player.core.client.skin.CustomPlayerControl
public class CustomPlayerControl
Custom player control widget.
.player-CustomPlayerControl { the player control }
.player-CustomPlayerControl-seekbar { the seekbar of the control }
.player-CustomPlayerControl-seekbar .loading { the seekbars' loading progress indicator }
.player-CustomPlayerControl-seekbar .playing { the seekbars' playing progress indicator }
.player-CustomPlayerControl-volumeControl { the volume controls' slider widget }
.player-CustomPlayerControl-volumeControl .volume { the volume level indicator }
.player-CustomPlayerControl-volumeControl .track { the volume sliders' track indicator }
| Nested Class Summary | |
|---|---|
static interface |
CustomPlayerControl.ImagePack
Deprecated. As of version 1.2, replaced with CustomPlayerControl.UIStyleResource.
Will be removed in a future release. |
static interface |
CustomPlayerControl.UIStyleResource
Defines the CSS class names used by the CustomPlayerControl widget. |
| 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 | |
|---|---|
CustomPlayerControl(AbstractMediaPlayer player)
Contructs CustomPlayerControl object. |
|
CustomPlayerControl(AbstractMediaPlayer player,
CustomPlayerControl.ImagePack imagePack)
Deprecated. As of version 1.2. Will be removed in a future version |
|
CustomPlayerControl(AbstractMediaPlayer player,
CustomPlayerControl.UIStyleResource cssResource)
Constructs CustomPlayerControl to control the specified player using the specified CSS resource bundle for the control buttons. |
|
| Method Summary | |
|---|---|
protected void |
onUnload()
Overriden to release resources. |
void |
setStyleName(String style)
Sets the CSS style name of this widget as well as the seekbar and the volume controls' slider widgets. |
void |
setStylePrimaryName(String style)
Sets the primary CSS style name of this widget as well as the seekbar and the volume controls' slider widgets. |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, 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, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CustomPlayerControl(AbstractMediaPlayer player)
player - the player object to control
public CustomPlayerControl(AbstractMediaPlayer player,
CustomPlayerControl.UIStyleResource cssResource)
player - the player object to controlcssResource - the CSS style bundle for the control buttons
public CustomPlayerControl(AbstractMediaPlayer player,
CustomPlayerControl.ImagePack imagePack)
player - the player object to controlimagePack - the control button icons| Method Detail |
|---|
public void setStylePrimaryName(String style)
setStylePrimaryName in class com.google.gwt.user.client.ui.UIObjectstyle - the CSS style namepublic void setStyleName(String style)
setStyleName in class com.google.gwt.user.client.ui.UIObjectstyle - the CSS style nameprotected void onUnload()
onUnload in class com.google.gwt.user.client.ui.Widget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||