An implementation of the IStripeStyleRenderer interface that can render TemplateStripeStyle instances.
Type Details
- yfiles module
- view-table
- yfiles-umd modules
- view-table, view
- Legacy UMD name
- yfiles.styles.TemplateStripeStyleRenderer
See Also
Properties
Gets the layout of the stripe this renderer is currently configured for.
Remarks
Stripe.Layout
.Gets or sets the currently configured stripe.
Gets or sets the currently configured style.
Methods
Prepares this instance for subsequent calls after the style and stripe have been initialized.
Remarks
Upon invocation the style and stripe properties have been populated by the getVisualCreator or getContext methods.
This is an empty implementation. Subclasses might have to override this method.
Creates the visual by delegating to createTemplate and then initializing the control with the context.
Parameters
A map of options to pass to the method.
- context - IRenderContext
- The context for the creation.
Returns
- ↪Visual
- The control that is used for rendering the stripe.
See Also
Implements
Configures the style
and stripe
parameters, does not call configure and returns this
.
Remarks
this
or an instance that depends on a correctly configured this
.Parameters
A map of options to pass to the method.
- stripe - IStripe
- The stripe to query the context for. The value will be stored in the stripe property.
- style - IStripeStyle
- The style to associate with the stripe. The value will be stored in the style property.
Returns
- ↪ILookup
this
See Also
Implements
Gets the context by delegating to contextLookup.
Configures the style
and stripe
parameters, calls configure and returns this
.
Parameters
A map of options to pass to the method.
- stripe - IStripe
- The stripe to retrieve the IVisualCreator for. The value will be stored in the stripe property.
- style - IStripeStyle
- The style to associate with the stripe. The value will be stored in the style property.
Returns
- ↪IVisualCreator
this
See Also
Implements
Implementation of the lookup method.
Remarks
type
.Type Parameters
- T: any
Parameters
A map of options to pass to the method.
- type - Class<T>
- The type to query an instance for.
Returns
- ↪T
- The implementation or
null
.
See Also
Implements
Updates the component correspondingly.
Parameters
A map of options to pass to the method.
- context - IRenderContext
- The context for the creation.
- oldVisual - Visual
- The currently rendered visual.
Returns
- ↪Visual
- The control that is used for rendering the stripe.