documentationfor yFiles for HTML 3.0.0.3

Method Return Values

addGenericLookup (function(TDecoratedType, Constructor, IContextLookup):any)in ContextLookupAdds a generic callback as a chain link to the lookup.
addConstant (function(TDecoratedType):boolean, TInterface)in LookupDecoratorSets the lookup of all items of type TDecoratedType which match a predicate to return the given TInterface implementation if TInterface is queried on an item's lookup.
addConstant (TInterface)in LookupDecoratorSets the lookup of all items of type TDecoratedType to return the given TInterface implementation if TInterface is queried on an item's lookup.
addFactory (function(TDecoratedType):boolean, function(TDecoratedType):TInterface)in LookupDecoratorSets the lookup of items matching a predicate with a factory that creates a TInterface instance if TInterface is queried during the lookup.
addFactory (function(TDecoratedType):TInterface)in LookupDecoratorSets the lookup of all TDecoratedType items, so that factory is used to create a TInterface instance if TInterface is queried during the lookup.
addWrapperFactory (function(TDecoratedType):boolean, function(TDecoratedType, TInterface):TInterface)in LookupDecoratorSets the lookup of items matching a predicate with a factory callback that wraps the underlying implementation if TInterface is queried during the lookup.
addWrapperFactory (function(TDecoratedType, TInterface):TInterface)in LookupDecoratorSets the lookup of all items with a factory callback that wraps the underlying implementation if TInterface is queried during the lookup.
hide (function(TDecoratedType):boolean?)in LookupDecoratorSets the lookup of all TDecoratedType items matching a predicate to return null if TInterface is queried during the lookup.
addGenericLookup (function(IBend, Constructor, IContextLookup):any)in BendDecoratorAdds a generic callback as a chain link to the lookup.
addGenericLookup (function(IEdge, Constructor, IContextLookup):any)in EdgeDecoratorAdds a generic callback as a chain link to the lookup.
addGenericLookup (function(ILabel, Constructor, IContextLookup):any)in LabelDecoratorAdds a generic callback as a chain link to the lookup.
addGenericLookup (function(INode, Constructor, IContextLookup):any)in NodeDecoratorAdds a generic callback as a chain link to the lookup.
addGenericLookup (function(IPort, Constructor, IContextLookup):any)in PortDecoratorAdds a generic callback as a chain link to the lookup.
addGenericLookup (function(TStripe, Constructor, IContextLookup):any)in StripeDecoratorAdds a generic callback as a chain link to the lookup.
addGenericLookup (function(ILabel, Constructor, IContextLookup):any)in StripeLabelDecoratorAdds a generic callback as a chain link to the lookup.
addGenericLookup (function(IInputModeContext, Constructor, IContextLookup):any)in InputModeContextAdds a generic callback as a chain link to the lookup.
addGenericInputModeContextLookup (function(IInputModeContext, Constructor, IContextLookup):any)in CanvasComponentAdds a generic callback as a chain link to the lookup.

Method Parameters

addLookup (IContextLookupChainLink)in ContextLookupAdds an IContextLookupChainLink to this instance's managed chain of links.
removeLookup (IContextLookupChainLink)in ContextLookupRemoves an IContextLookupChainLink from this instance's managed chain of links.
addLookup (Constructor, IContextLookupChainLink)in ILookupDecoratorAdds a lookup chain element to the chain of lookups for a given type.
removeLookup (Constructor, IContextLookupChainLink)in ILookupDecoratorRemoves a previously registered lookup chain element from the chain of lookups for a given type.
add (IContextLookupChainLink)in BendDecoratorAdds an IContextLookupChainLink.
remove (IContextLookupChainLink)in BendDecoratorRemoves an IContextLookupChainLink that has been added by one of the various decorators for IBends.
add (IContextLookupChainLink)in EdgeDecoratorAdds an IContextLookupChainLink.
remove (IContextLookupChainLink)in EdgeDecoratorRemoves an IContextLookupChainLink that has been added by one of the various decorators for edges.
addLookup (IContextLookupChainLink)in GraphAdds the chain element to the lookup for this instance.
removeLookup (IContextLookupChainLink)in GraphRemoves a previously added lookup chain element from the lookup of this.
add (IContextLookupChainLink)in LabelDecoratorAdds an IContextLookupChainLink.
remove (IContextLookupChainLink)in LabelDecoratorRemoves an IContextLookupChainLink that has been added by one of the various decorators for labels.
add (IContextLookupChainLink)in NodeDecoratorAdds an IContextLookupChainLink.
remove (IContextLookupChainLink)in NodeDecoratorRemoves an IContextLookupChainLink that has been added by one of the various decorators for nodes.
add (IContextLookupChainLink)in PortDecoratorAdds an IContextLookupChainLink.
remove (IContextLookupChainLink)in PortDecoratorRemoves an IContextLookupChainLink that has been added by one of the various decorators for ports.
add (IContextLookupChainLink)in StripeDecoratorAdds an IContextLookupChainLink.
remove (IContextLookupChainLink)in StripeDecoratorRemoves an IContextLookupChainLink that has been added by one of the various decorators for stripes.
add (IContextLookupChainLink)in StripeLabelDecoratorAdds an IContextLookupChainLink.
remove (IContextLookupChainLink)in StripeLabelDecoratorRemoves an IContextLookupChainLink that has been added by one of the various decorators for stripe labels.