story.dbcore.admin
Class SCHHistoryFrame

java.lang.Object
  extended by story.dbcore.admin.SCHHistoryFrame

public class SCHHistoryFrame
extends java.lang.Object

A History frame object encapsulates a particular state of the story graph by storing the corresponding Bookmark. Used for implementing undo and redo.


Constructor Summary
SCHHistoryFrame(HistoryFrameID HFID, StoryPoint point, Bookmark bookmark)
           
 
Method Summary
 Bookmark getBookmark()
          Retrieve the bookmark that allows Narrative to reconstruct this frame.
 HistoryFrameID getID()
          Retrieve the ID of the HistoryFrame
 StoryPoint getPoint()
          Retrieve the most recently issued StoryPoint.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCHHistoryFrame

public SCHHistoryFrame(HistoryFrameID HFID,
                       StoryPoint point,
                       Bookmark bookmark)
Method Detail

getID

public HistoryFrameID getID()
Retrieve the ID of the HistoryFrame


getPoint

public StoryPoint getPoint()
Retrieve the most recently issued StoryPoint.


getBookmark

public Bookmark getBookmark()
Retrieve the bookmark that allows Narrative to reconstruct this frame.



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