public static class ContextMenuListenersHook.MyListener extends java.lang.Object implements HashStructureHookListener
| Constructor and Description |
|---|
ContextMenuListenersHook.MyListener(java.lang.String siteId) |
| Modifier and Type | Method and Description |
|---|---|
void |
elementVisited(HashStructureHookEvent e)
When a new top-level element has been visted by the HashStructureHook it will call elementVisited() passing a HashStructureHook event that contains a read-only HashStructure that consists of the data from the new element, as well as the combined HashStructure that contains the merged data (new and old).
|
void |
listenerAttached(HashStructureHookEvent e)
Called when the listener instance is attached so that the listener can observe the existing contents of the HashStructureHook's HashStructure.
|
public ContextMenuListenersHook.MyListener(java.lang.String siteId)
public void listenerAttached(HashStructureHookEvent e)
HashStructureHookListenerlistenerAttached in interface HashStructureHookListenerpublic void elementVisited(HashStructureHookEvent e)
HashStructureHookListenerelementVisited in interface HashStructureHookListener