story.scheherazade.virgil
Class VirgilHistoryFrame

java.lang.Object
  extended by story.scheherazade.virgil.VirgilHistoryFrame

public class VirgilHistoryFrame
extends java.lang.Object

A VirgilHistory frame object encapsulates a particular state of the Virgil interface -- by pointing to a particular state of the StoryListener it is portraying.


Constructor Summary
VirgilHistoryFrame(HistoryFrameID HFID, VirgilCommand command, VisibleStates visibleStates, HistoryFrameID storyListenerFrame, ViewableTime viewedTime)
           
 
Method Summary
 VirgilCommand getCommand()
          Retrieve the most recently issued VirgilCommand.
 HistoryFrameID getID()
          Retrieve the ID of the HistoryFrame
 HistoryFrameID getStoryListenerFrame()
          Retrieve the HistoryFrameID of the StoryListener undo/redo stack to which this interface frame corresponds.
 ViewableTime getViewedTime()
           
 VisibleStates getVisibleStates()
          Retrieve the VisibleStates active during this frame.
 java.lang.StringBuffer render()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirgilHistoryFrame

public VirgilHistoryFrame(HistoryFrameID HFID,
                          VirgilCommand command,
                          VisibleStates visibleStates,
                          HistoryFrameID storyListenerFrame,
                          ViewableTime viewedTime)
                   throws Scheherexception
Throws:
Scheherexception
Method Detail

getID

public HistoryFrameID getID()
Retrieve the ID of the HistoryFrame


getCommand

public VirgilCommand getCommand()
Retrieve the most recently issued VirgilCommand.


getVisibleStates

public VisibleStates getVisibleStates()
Retrieve the VisibleStates active during this frame.


getStoryListenerFrame

public HistoryFrameID getStoryListenerFrame()
Retrieve the HistoryFrameID of the StoryListener undo/redo stack to which this interface frame corresponds.


getViewedTime

public ViewableTime getViewedTime()

render

public java.lang.StringBuffer render()
                              throws Scheherexception
Throws:
Scheherexception


Copyright © 2011 David K. Elson. All Rights Reserved.