Package com.iizix.gyro
Class HistoryRequest
- java.lang.Object
- com.iizix.gyro.HistoryRequest
public class HistoryRequest extends java.lang.ObjectClass 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
Constructors Constructor Description HistoryRequest()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisHistoryEntryRequested()Returns the flag for history entry requested.voidrequestHistoryEntry()Requests a history event from the focus engine.booleanresetHistoryEventRequest()Gets and resets the history event adding.
Method Detail
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.