|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEVideoPlayer
public class JMEVideoPlayer
The Class JMEVideoPlayer.
Constructor Summary | |
---|---|
JMEVideoPlayer(ContentItem item)
Instantiates a new JME video player. |
Method Summary | |
---|---|
void |
contentSystemChanged(ContentSystem system)
Content system changed. |
java.lang.Object |
getMediaImplementationObject()
Gets the media implementation object. |
com.jme.scene.Spatial |
getSpatial()
Gets the spatial. |
float |
getVideoHeight()
Gets the video height. |
double |
getVideoTime()
Gets the video time. |
float |
getVideoWidth()
Gets the video width. |
void |
init()
Inits the. |
void |
setAutoFitSize(boolean isEnabled)
Sets the auto fit size. |
void |
setBackGround(Background backGround)
Sets the back ground. |
void |
setBorder(Border border)
Sets the border. |
void |
setHeight(int height)
Sets the height. |
void |
setPixelsPerUnit(float ppu)
Sets the pixels per unit. |
void |
setPlaying(boolean b)
Sets the playing. |
void |
setVideoTime(double seconds)
Sets the video time. |
void |
setVideoURL(java.net.URL url)
Sets the video url. |
void |
setWidth(int width)
Sets the width. |
void |
update(float interpolation)
Update. |
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem |
---|
cursorChanged, cursorClicked, cursorPressed, cursorReleased |
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem |
---|
contains, getImplementationObject, getLocalLocation, hasCollision, setAngle, setBoundaryEnabled, setId, setLocation, setManipulate, setScale, setScale, setVisible, setVisible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
---|
addMultitouchListener, contains, getImplementationObject, hasCollision, setAngle, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update |
Constructor Detail |
---|
public JMEVideoPlayer(ContentItem item)
item
- the itemMethod Detail |
---|
public void contentSystemChanged(ContentSystem system)
system
- the systempublic java.lang.Object getMediaImplementationObject()
IVideoPlayerImplementation
getMediaImplementationObject
in interface IVideoPlayerImplementation
public com.jme.scene.Spatial getSpatial()
JMEContentItemImplementation
getSpatial
in interface JMEContentItemImplementation
public float getVideoHeight()
IVideoPlayerImplementation
getVideoHeight
in interface IVideoPlayerImplementation
public double getVideoTime()
IVideoPlayerImplementation
getVideoTime
in interface IVideoPlayerImplementation
public float getVideoWidth()
IVideoPlayerImplementation
getVideoWidth
in interface IVideoPlayerImplementation
public void init()
IContentItemImplementation
init
in interface IContentItemImplementation
init
in class JMEContentItem
public void setAutoFitSize(boolean isEnabled)
IQuadContentItemImplementation
setAutoFitSize
in interface IQuadContentItemImplementation
setAutoFitSize
in class JMEQuadContentItem
isEnabled
- the new auto fit sizepublic void setBackGround(Background backGround)
IContentItemImplementation
setBackGround
in interface IContentItemImplementation
setBackGround
in class JMEOrthoContentItem
backGround
- the new back groundpublic void setBorder(Border border)
IContentItemImplementation
setBorder
in interface IContentItemImplementation
setBorder
in class JMEOrthoContentItem
border
- the new borderpublic void setHeight(int height)
IQuadContentItemImplementation
setHeight
in interface IQuadContentItemImplementation
setHeight
in class JMEQuadContentItem
height
- the new heightpublic void setPixelsPerUnit(float ppu)
IVideoPlayerImplementation
setPixelsPerUnit
in interface IVideoPlayerImplementation
ppu
- the new pixels per unitpublic void setPlaying(boolean b)
IVideoPlayerImplementation
setPlaying
in interface IVideoPlayerImplementation
b
- the new playingpublic void setVideoTime(double seconds)
IVideoPlayerImplementation
setVideoTime
in interface IVideoPlayerImplementation
seconds
- the new video timepublic void setVideoURL(java.net.URL url)
IVideoPlayerImplementation
setVideoURL
in interface IVideoPlayerImplementation
url
- the new video urlpublic void setWidth(int width)
IQuadContentItemImplementation
setWidth
in interface IQuadContentItemImplementation
setWidth
in class JMEQuadContentItem
width
- the new widthpublic void update(float interpolation)
IContentItemImplementation
update
in interface IContentItemImplementation
update
in interface UpdateableJMEContentItemImplementation
update
in class JMEOrthoContentItem
interpolation
- the interpolation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |