|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EventHistory
Interface for service that keeps a history of SciJava events.
| Method Summary | |
|---|---|
void |
addListener(EventHistoryListener l)
Adds an event history listener. |
void |
clear()
Clears the recorded event history. |
boolean |
isActive()
Gets whether event history tracking is currently active. |
void |
removeListener(EventHistoryListener l)
Removes an event history listener. |
void |
setActive(boolean active)
Activates or deactivates event history tracking. |
String |
toHTML(Set<Class<? extends SciJavaEvent>> filtered,
Set<Class<? extends SciJavaEvent>> highlighted)
Gets the recorded event history as an HTML string. |
| Methods inherited from interface org.scijava.service.Service |
|---|
initialize, registerEventHandlers |
| Methods inherited from interface org.scijava.Contextual |
|---|
context, getContext, setContext |
| Methods inherited from interface org.scijava.Prioritized |
|---|
getPriority, setPriority |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.scijava.plugin.HasPluginInfo |
|---|
getInfo, setInfo |
| Methods inherited from interface org.scijava.Disposable |
|---|
dispose |
| Method Detail |
|---|
void setActive(boolean active)
boolean isActive()
void clear()
String toHTML(Set<Class<? extends SciJavaEvent>> filtered,
Set<Class<? extends SciJavaEvent>> highlighted)
filtered - Set of event types to filter out from the history.highlighted - Set of event types to highlight in the history.
void addListener(EventHistoryListener l)
void removeListener(EventHistoryListener l)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||