Interface InteractionLogManager
-
- All Known Implementing Classes:
ImagePanel
,ObjectAnnotationPanel
public interface InteractionLogManager
Interface for classes that manage interaction logs.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addInteractionLog(InteractionEvent e)
Adds the interaction event to the log.void
clearInteractionLog()
Clears the interaction log.List<InteractionEvent>
getInteractionLog()
Returns the interaction log.boolean
hasInteractionLog()
Checks whether there have been any interactions recorded.
-
-
-
Method Detail
-
clearInteractionLog
void clearInteractionLog()
Clears the interaction log.
-
addInteractionLog
void addInteractionLog(InteractionEvent e)
Adds the interaction event to the log.- Parameters:
e
- the event to add
-
hasInteractionLog
boolean hasInteractionLog()
Checks whether there have been any interactions recorded.- Returns:
- true if interactions are available
-
getInteractionLog
List<InteractionEvent> getInteractionLog()
Returns the interaction log.- Returns:
- the log, null if nothing recorded
-
-