public final class ElementListObserver extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ElementListObserver.Observer
Implement this interface to receive notifications on element lists.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addObserver(ElementListObserver.Observer observer)
Adds a new Observer to the list.
|
static boolean |
isObservationActive() |
static void |
observe(List elementList,
String category,
String id)
Notifies all registered observers about the element list.
|
static void |
removeObserver(ElementListObserver.Observer observer)
Removes an Observer from the list.
|
public static void addObserver(ElementListObserver.Observer observer)
observer - the observer implementationpublic static void removeObserver(ElementListObserver.Observer observer)
observer - the observer to removepublic static void observe(List elementList, String category, String id)
elementList - the Knuth element listcategory - the category for the element list (example: main, static-content, table-cell)id - ID for the element list (may be null)public static boolean isObservationActive()
Copyright © 2023 Apache Software Foundation. All rights reserved.