|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.QuadContentItem
synergynetframework.appsystem.contentsystem.items.VideoPlayer
public class VideoPlayer
The Class VideoPlayer.
Field Summary | |
---|---|
double |
videoTime
The video time. |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
VideoPlayer(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new video player. |
Method Summary | |
---|---|
int |
getHeight()
Gets the height. |
java.lang.Object |
getMediaImplementationObject()
Gets the media implementation object. |
float |
getPixelsPerUnit()
Gets the pixels per unit. |
float |
getVideoHeight()
Gets the video height. |
double |
getVideoTime()
Gets the video time. |
java.net.URL |
getVideoURL()
Gets the video url. |
float |
getVideoWidth()
Gets the video width. |
int |
getWidth()
Gets the width. |
boolean |
isPlaying()
Checks if is playing. |
void |
play()
Play. |
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 |
stop()
Stop. |
void |
update(float tpf)
Update. |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.QuadContentItem |
---|
addSizeChangeListener, clone, isAutoFitSize, removeSizeChangeListener, setAutoFit, setAutoFitSize, setHeight, setWidth |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
addMultitouchListener, canManipulate, contains, generateUniqueName, getAngle, getBackGround, getBackgroundColour, getBorder, getBorderColour, getBorderSize, getContentSystem, getId, getImplementationObject, getLocalLocation, getName, getNote, getResource, getScale, hasCollision, init, initImplementationObjet, isBoundaryEnabled, isVisible, setAngle, setBackGround, setBackgroundColour, setBorder, setBorderColour, setBorderSize, setBoundaryEnabled, setContentSystem, setId, setLocalLocation, setLocalLocation, setLocalLocation, setManipulate, setNote, setResource, setScale, setScale, setVisible, setVisible, update |
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.IQuadContentItemImplementation |
---|
setAutoFitSize, setHeight, setWidth |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update |
Field Detail |
---|
public double videoTime
Constructor Detail |
---|
public VideoPlayer(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public int getHeight()
QuadContentItem
getHeight
in class QuadContentItem
public java.lang.Object getMediaImplementationObject()
IVideoPlayerImplementation
getMediaImplementationObject
in interface IVideoPlayerImplementation
public float getPixelsPerUnit()
public float getVideoHeight()
IVideoPlayerImplementation
getVideoHeight
in interface IVideoPlayerImplementation
public double getVideoTime()
IVideoPlayerImplementation
getVideoTime
in interface IVideoPlayerImplementation
public java.net.URL getVideoURL()
public float getVideoWidth()
IVideoPlayerImplementation
getVideoWidth
in interface IVideoPlayerImplementation
public int getWidth()
QuadContentItem
getWidth
in class QuadContentItem
public boolean isPlaying()
public void play()
public 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 stop()
public void update(float tpf)
IContentItemImplementation
update
in interface IContentItemImplementation
update
in class ContentItem
tpf
- the interpolation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |