|
Transfer version 1.1 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
transfer.com.collections.AbstractBaseObservable
public class AbstractBaseObservable
An abstract base for an observable pattern
| Constructor Summary | |
|---|---|
private |
init()
Constructor |
| Method Summary | |
|---|---|
void |
addObserver(any observer, [string key='[runtime expression]'])
Adds an observer |
private void |
fireActionMethod(any object, any event)
virtual: fires the action method |
void |
fireEvent(any event)
Fires off the event to all the Observers |
private any |
getCollection()
|
private any |
getSystem()
|
void |
removeObserver(any observer)
Removes an observer from the collection |
void |
removeObserverByKey(any key)
If you have the identity key, you can remove it |
private void |
setCollection(any Collection)
|
private void |
setSystem(any System)
|
private any |
throw(string type, string message, [string detail=''])
Throws an Exception |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
private init()
| Method Detail |
|---|
public void addObserver(any observer, [string key='[runtime expression]'])
observer - The observer to be addedkey - the key to add it underprivate void fireActionMethod(any object, any event)
object - the object to fire againstevent - The event object to firepublic void fireEvent(any event)
event - The event object to fireprivate any getCollection()
private any getSystem()
public void removeObserver(any observer)
observer - The observer to be removed (may be the soft reference)public void removeObserverByKey(any key)
key - The key to remove byprivate void setCollection(any Collection)
Collectionprivate void setSystem(any System)
Systemprivate any throw(string type, string message, [string detail=''])
type - The type of exceptionmessage - The message to accompany the exceptiondetail - The detail message for the exception
|
Transfer version 1.1 | ||||
| FRAMES | |||||