Modifier and Type | Method and Description |
---|---|
static void |
addErrorListener(MetaErrorListener value)
Add new fireError listener for global fireError events.
|
static void |
clear()
Remove all listeners.
|
static void |
fireError(String text,
Throwable error)
Send notifications to all listeners.
|
static boolean |
hasListeners()
Check that there are registered listeners.
|
static void |
removeErrorListener(MetaErrorListener value)
Remove listener.
|
public static void clear()
public static void addErrorListener(MetaErrorListener value)
value
- listener to be addedpublic static void removeErrorListener(MetaErrorListener value)
value
- listener to be removedpublic static boolean hasListeners()
Copyright © 2011–2020 Igor Maznitsa. All rights reserved.