public interface PatchObservable<T>
| Modifier and Type | Method and Description |
|---|---|
void |
addPatchListener(PatchListener<T> listener)
Adds the specified
PatchListener to the set of listeners. |
void |
changed()
Marks this
PatchObservable as having been changed |
int |
countPatchListeners()
Returns the number of currently registered
PatchListeners |
void |
notifyPatched(ClientDocument<T> patchedDocument)
Notify all listeners that the
ClientDocument has been patched. |
void |
removePatchListener(PatchListener<T> listener)
Remove the specified
PatchListener from the set of listeners. |
void |
removePatchListeners()
Remove all
PatchListeners. |
void addPatchListener(PatchListener<T> listener)
PatchListener to the set of listeners.listener - the PatchListener to be added.void removePatchListener(PatchListener<T> listener)
PatchListener from the set of listeners.listener - the PatchListener to be removed.void removePatchListeners()
PatchListeners.void notifyPatched(ClientDocument<T> patchedDocument)
ClientDocument has been patched.patchedDocument - the ClientDocument that has been patched.void changed()
PatchObservable as having been changedint countPatchListeners()
PatchListenersint the number of listeners currently registered.Copyright © 2015 JBoss by Red Hat. All Rights Reserved.