| Package | com.yworks.support |
| Class | public class LookupChain |
| 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.
Parameterslink: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.
Parametersitem: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.
Parameterslink:IContextLookupChainLink — The link to remove.
|