|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Notifier
Method Summary | |
---|---|
void |
addNotificationListener(NotificationListener l)
Adds the specified notification listener to receive notification events from the class that implements this interface. |
void |
addNotificationListeners(NotificationListener[] l)
Adds the specified notification listeners to receive notification events from the class that implements this interface. |
void |
callback(int callbackSignal)
Call the notifier and signal that it can stop loading data (or whatever it is doing). |
void |
fireEvent(int type,
Object message,
Object details)
|
void |
fireEvent(NotificationEvent event)
|
NotificationListener[] |
getNotificationListeners()
Returns an array of all the NotificationListeners added to the class that implements this interface. |
void |
removeNotificationListener(NotificationListener l)
Removes the specified notification listener so that it no longer receives notification events from the class that implements this interface. |
void |
removeNotificationListeners(NotificationListener[] l)
Removes the specified notification listeners so that they no longer receive notification events from the class that implements this interface. |
Field Detail |
---|
static final int DATA_TYPES_START
static final int DATA_TYPES_COUNT
static final int DATA_TYPE_LOADING
static final int DATA_TYPE_LOADED
static final int DATA_TYPES_END
static final int SERVICE_TYPES_START
static final int SERVICE_TYPES_COUNT
static final int SERVICE_TYPE_LOADING
static final int SERVICE_TYPE_LOADED
static final int SERVICE_TYPES_END
static final int NAMESPACES_START
static final int NAMESPACES_COUNT
static final int NAMESPACE_LOADING
static final int NAMESPACE_LOADED
static final int NAMESPACES_END
static final int AUTHORITIES_START
static final int AUTHORITIES_COUNT
static final int AUTHORITY_LOADING
static final int AUTHORITY_LOADED
static final int AUTHORITIES_END
static final int DATA_TYPES_RESET
static final int SERVICE_TYPES_RESET
static final int NAMESPACES_RESET
static final int AUTHORITIES_RESET
static final int DATA_TYPES_CANCELLED
static final int SERVICE_TYPES_CANCELLED
static final int NAMESPACES_CANCELLED
static final int AUTHORITIES_CANCELLED
static final int DATA_TYPES_UPDATED
static final int SERVICE_TYPES_UPDATED
static final int NAMESPACES_UPDATED
static final int AUTHORITIES_UPDATED
static final int SIGNAL_CANCEL_DATA_TYPES
static final int SIGNAL_CANCEL_SERVICE_TYPES
static final int SIGNAL_CANCEL_SERVICES
static final int SIGNAL_CANCEL_NAMESPACES
Method Detail |
---|
void addNotificationListener(NotificationListener l)
l
- notification listener to be addedvoid addNotificationListeners(NotificationListener[] l)
l
- notification listeners to be addedvoid removeNotificationListener(NotificationListener l)
l
- notification listener to be removedvoid removeNotificationListeners(NotificationListener[] l)
l
- notification listeners to be removedNotificationListener[] getNotificationListeners()
void callback(int callbackSignal)
callbackSignal
- identifies what to stop doing (some usual
values of this signal are defined elsewhere in this interface
with names starting by SIGNAL_)void fireEvent(int type, Object message, Object details)
void fireEvent(NotificationEvent event)
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |