| Package | com.yworks.support |
| Class | public class LookupChain |
| Inheritance | LookupChain flash.events.EventDispatcher |
| Implements | IContextLookup |
IContextLookupChainLinks.
| Method | Defined By | ||
|---|---|---|---|
add(link:IContextLookupChainLink):void
Adds the given link to the end of the chain. | LookupChain | ||
lookupForItem(item:Object, type:Class):Object
Performs the actual lookup operation. | LookupChain | ||
remove(link:IContextLookupChainLink):void
Removes the link that has previously been added to this instance from this chain. | LookupChain | ||
| add | () | method |
public function add(link:IContextLookupChainLink):voidAdds the given link to the end of the chain.
Parameters
link:IContextLookupChainLink — The link to add.
|
See also
| lookupForItem | () | method |
public function lookupForItem(item:Object, type:Class):ObjectPerforms the actual lookup operation.
This call will traverse the chain to satisfy the query.
Parameters
item:Object — The item to use as the context.
| |
type:Class — The type of the query.
|
Object — The result of the query.
|
| remove | () | method |
public function remove(link:IContextLookupChainLink):voidRemoves the link that has previously been added to this instance from this chain.
Parameters
link:IContextLookupChainLink — The link to remove.
|