story.scheherazade.virgil
Class VisibleStates
java.lang.Object
story.scheherazade.virgil.VisibleStates
- All Implemented Interfaces:
- RenderableObject
public class VisibleStates
- extends java.lang.Object
- implements RenderableObject
A repository of StateTimeSets representing the visible states in
the viewers of various timelines.
Constructor Summary |
VisibleStates()
|
VisibleStates(java.io.BufferedReader reader)
Parse in a VisibleStates from a BufferedReader that should
contain nothing but a textual serialization of the
VisibleStates as produced by the render() function. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisibleStates
public VisibleStates()
VisibleStates
public VisibleStates(java.io.BufferedReader reader)
throws Scheherexception
- Parse in a VisibleStates from a BufferedReader that should
contain nothing but a textual serialization of the
VisibleStates as produced by the render() function.
- Throws:
Scheherexception
replaceWith
public void replaceWith(VisibleStates newStates)
setStates
public void setStates(TimelineID timeline,
StateTimeSet visibleStates)
throws Scheherexception
- Throws:
Scheherexception
timelinesSet
public TimelineIDSet timelinesSet()
throws Scheherexception
- Throws:
Scheherexception
containsStatesFor
public boolean containsStatesFor(TimelineID timeline)
getStates
public StateTimeSet getStates(TimelineID timeline)
throws Scheherexception
- Throws:
Scheherexception
numSetTimelines
public int numSetTimelines()
getVisibleTransitionStartingAt
public TransitionTime getVisibleTransitionStartingAt(TimelineID timeline,
StateTime time)
throws Scheherexception
- Throws:
Scheherexception
getVisibleTransitions
public java.util.Vector<TransitionTime> getVisibleTransitions(TimelineID timeline)
throws Scheherexception
- Throws:
Scheherexception
getVisibleTransitions
public static java.util.Vector<TransitionTime> getVisibleTransitions(StateTimeSet visibleStates)
throws Scheherexception
- Throws:
Scheherexception
makeCopy
public VisibleStates makeCopy()
render
public java.lang.StringBuffer render()
- Serialize the VisibleStates in a manner that corresponds to the
parsing routine in the constructor.
- Specified by:
render
in interface RenderableObject
Copyright © 2011 David K. Elson. All Rights Reserved.