|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.monad.homerun.view.Snapshot
public class Snapshot
A Snapshot is a collection of Scene data recorded at a particular time. Snapshots are used as data sources for captured - as opposed to live - Scene displays.
Constructor Summary | |
---|---|
Snapshot(Scene scene)
|
Method Summary | |
---|---|
void |
addStatus(java.lang.String domain,
java.lang.String objectName,
java.lang.String modelName,
ModelStatus stat)
Adds a status value to the snapshot |
long |
getCaptureTime()
Returns the time the snaphot was captured as millisecond system time |
java.lang.String |
getSceneName()
Returns the name of the scene whose snapshot this is |
long |
getSceneTime()
Returns the last modification time of the scene at the time the snaphot was captured as millisecond system time. |
ModelStatus |
getStatus(java.lang.String domain,
java.lang.String objectName,
java.lang.String modelName)
Retrieves the status of an individual component |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Snapshot(Scene scene)
Method Detail |
---|
public void addStatus(java.lang.String domain, java.lang.String objectName, java.lang.String modelName, ModelStatus stat)
domain
- domain of the componentobjectName
- object name of componentmodelName
- model namestat
- status objectpublic ModelStatus getStatus(java.lang.String domain, java.lang.String objectName, java.lang.String modelName)
domain
- objectName
- modelName
-
public java.lang.String getSceneName()
public long getSceneTime()
public long getCaptureTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |