Package com.iizix.gyro
Class HistoryRequest
java.lang.Object
com.iizix.gyro.HistoryRequest
Class used to handle history requests across time. The history is the application history logic to perform backward and forward operations.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the flag for history entry requested.void
Requests a history event from the focus engine.boolean
Gets and resets the history event adding.
Constructor Details
HistoryRequest
public HistoryRequest()
Method Details
requestHistoryEntry
public void requestHistoryEntry()Requests a history event from the focus engine. This will force the focus engines to add a history event when appropriate.isHistoryEntryRequested
public boolean isHistoryEntryRequested()Returns the flag for history entry requested.- Returns:
- true if somebody has requested a history entry during the event's lifetime.
resetHistoryEventRequest
public boolean resetHistoryEventRequest()Gets and resets the history event adding.- Returns:
- The history event request flag before it was reset.