|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wirefusion.player.CoreBase
com.wirefusion.player.Core
public final class Core
The "core" object in the player.
| Constructor Summary | |
|---|---|
Core()
|
|
| Method Summary | |
|---|---|
Display |
getDisplay()
Returns the Display object, used for displaying the presentation. |
double |
getFps()
Returns the current number of frames per second with which the presentation is played (fps). |
int |
getFrameNumber()
Returns the current frame count. |
java.awt.Point |
getMousePosition()
Returns the current position of the mouse cursor. |
long |
getPlayerTime()
The "player" time. |
java.lang.Object |
getProperty(java.lang.String key)
Returns the system property indicated by the specified key. |
java.net.URL |
getResourceFolderUrl()
The URL to the resource folder. |
long |
getSystemTime()
The computer time at which the rendering process of the current frame started. |
void |
setPreferredFps(double fps)
Sets the peferred number of frames per second with which the presentation will be played. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Sets the system property indicated by the specified key. |
| Methods inherited from class com.wirefusion.player.CoreBase |
|---|
keyPressed, send, setMousePos, start, stop, updateBounds |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Constructor Detail |
|---|
public Core()
| Method Detail |
|---|
public void setPreferredFps(double fps)
fps - number of frames per secondpublic int getFrameNumber()
public double getFps()
public void setProperty(java.lang.String key,
java.lang.Object value)
key - the name of the variable.value - the variable.public java.lang.Object getProperty(java.lang.String key)
key - the name of the property.
public java.awt.Point getMousePosition()
public Display getDisplay()
public long getSystemTime()
public long getPlayerTime()
public java.net.URL getResourceFolderUrl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||