Interface used by IStripeStyle implementations that can be used to query the actual IVisualCreator implementation for a stripe and an associated style.
Inheritance Hierarchy
IStripeStyleRenderer
Remarks
Implementations of this interface should be designed to be sharable between multiple style instances and should therefore not contain style specific state.
Type Details
- yfiles module
- view-table
- yfiles-umd modules
- view-table, view
- Legacy UMD name
- yfiles.styles.IStripeStyleRenderer
See Also
Methods
Gets a temporary context instance that can be used to query additional information for the stripe's style.
Remarks
Implementations may return EMPTY if they don't support this, but may not return
null
.Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- stripe - IStripe
- The stripe to provide a context instance for.
- style - IStripeStyle
- The style to use for the context.
Returns
- ↪ILookup
- An non-
null
lookup implementation.
See Also
Gets an implementation of the IVisualCreator interface that can handle the provided stripe and its associated style.
Remarks
This method may return a flyweight implementation, but never
null
.Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- stripe - IStripe
- The stripe to provide an instance for
- style - IStripeStyle
- The style to use for the creation of the visual
Returns
- ↪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
null
but should yield a void implementation instead.