Interface used by IStripeStyle implementations that can be used to query the actual IVisualCreator implementation for a stripe and an associated style.
Inheritance Hierarchy
Remarks
Implementations of this interface should be designed to be shareable between multiple style instances and should therefore not contain style-specific state.
See Also
API
- IStripeStyle, IStripe
Members
No filters for this type
Methods
Gets a temporary context instance that can be used to query additional information for the stripe's style.
Gets a temporary context instance that can be used to query additional information for the stripe's style.
Implementations may return EMPTY if they don't support this, but may not return
null.abstract
Parameters
- stripe: IStripe
- The stripe to provide a context instance for.
- style: IStripeStyle
- The style to use for the context.
Return Value
- ILookup
- A non-
nulllookup implementation.
See Also
API
- ILookup
Gets an implementation of the IVisualCreator interface that can handle the provided stripe and its associated style.
Gets an implementation of the IVisualCreator interface that can handle the provided stripe and its associated style.
This method may return a flyweight implementation, but never
null.abstract
Parameters
- stripe: IStripe
- The stripe to provide an instance for
- style: IStripeStyle
- The style to use for the creation of the visual
Return Value
- IVisualCreator
- An implementation that may be used to subsequently create or update the visual for the stripe. Clients should not cache this instance and must always call this method immediately before using the value returned. This enables the use of the flyweight design pattern for implementations. This method may not return
nullbut should yield a void implementation instead.