public interface IMediaPlayer extends IItem
INestable.IChildrenChangedListener| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy.
|
boolean |
isRepeated()
Checks if is repeated.
|
void |
pause()
Pause.
|
void |
setBackgroundColour(com.jme3.math.ColorRGBA backgroundColour)
Sets the background colour.
|
void |
setBorderColour(com.jme3.math.ColorRGBA borderColour)
Sets the border colour.
|
void |
setDeceleration(float deceleration)
Sets the deceleration.
|
void |
setLocalResource(java.io.File file,
boolean autostart,
boolean repeat,
IStage stage)
Sets the local resource.
|
void |
setLocalResource(java.lang.String localPath,
boolean autostart,
boolean repeat,
IStage stage)
Sets the local resource.
|
void |
setPosition(float pos)
Sets the position.
|
void |
setRemoteResource(java.lang.String remotePath,
boolean autostart,
boolean repeat,
IStage stage)
Sets the remote resource.
|
void |
setRepeated(boolean repeated)
Sets the repeated.
|
void |
setScaleLimits(float minScale,
float maxScale)
Sets the scale limits.
|
void |
setSize(float width,
float height)
Sets the size.
|
addItemListener, behaviourAdded, centerItem, convertWorldVelocityToLocalVelocity, getBehaviours, getBehaviours, getItemListeners, getManipulableSpatial, getMultiTouchDispatcher, getName, getParentItem, getRelativeLocation, getRelativeLocationOfWorldLocation, getRelativeRotation, getRelativeScale, getUUID, getWorldLocation, getWorldLocation, getWorldRotationDegrees, getZOrder, getZOrderManager, isVisible, removeItemListener, setInteractionEnabled, setItemListeners, setParentItem, setRelativeLocation, setRelativeRotation, setRelativeScale, setVisible, setWorldLocation, setZOrderaddItem, deRegisterChildrenChangedListener, getChildItems, getChildrenCount, hasChildren, registerChildrenChangedListener, removeAllItems, removeItemvoid destroy()
boolean isRepeated()
void pause()
void setBackgroundColour(com.jme3.math.ColorRGBA backgroundColour)
backgroundColour - the new background colourvoid setBorderColour(com.jme3.math.ColorRGBA borderColour)
borderColour - the new border colourvoid setDeceleration(float deceleration)
deceleration - the new decelerationvoid setLocalResource(java.io.File file,
boolean autostart,
boolean repeat,
IStage stage)
file - the fileautostart - the autostartrepeat - the repeatstage - the stagevoid setLocalResource(java.lang.String localPath,
boolean autostart,
boolean repeat,
IStage stage)
localPath - the local pathautostart - the autostartrepeat - the repeatstage - the stagevoid setPosition(float pos)
pos - the new positionvoid setRemoteResource(java.lang.String remotePath,
boolean autostart,
boolean repeat,
IStage stage)
remotePath - the remote pathautostart - the autostartrepeat - the repeatstage - the stagevoid setRepeated(boolean repeated)
repeated - the new repeatedvoid setScaleLimits(float minScale,
float maxScale)
minScale - the min scalemaxScale - the max scalevoid setSize(float width,
float height)
width - the widthheight - the height