This interface allows to change the visualization for different input gestures.
Inheritance Hierarchy
IStripeInputVisualizationHelper
Remarks
A stripe should provide an implementation of this interface in its lookup which is queried by the various table related input modes.
Type Details
- yfiles module
- view-table
- yfiles-umd modules
- view-table, view
- Legacy UMD name
- yfiles.input.IStripeInputVisualizationHelper
Methods
getVisualCreator
(context: IInputModeContext, tableNode: INode, type: StripeVisualizationType) : IVisualCreatorReturn an IVisualCreator that is used to visualize the input operation specified by type
.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IInputModeContext
- The input mode context which provides further information.
- tableNode - INode
- The node where the stripe's owner is currently bound to.
- type - StripeVisualizationType
- The actual visualization type
Returns
- ↪IVisualCreator
- A IVisualCreator instance that renders a representation for the current operation.
Static Methods
create
(getVisualCreator: function(IInputModeContext, INode, StripeVisualizationType):IVisualCreator) : IStripeInputVisualizationHelperCreates an implementation of the interface IStripeInputVisualizationHelper by using the given function as implementation for its getVisualCreator method.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- getVisualCreator - function(IInputModeContext, INode, StripeVisualizationType):IVisualCreator
- A function for IStripeInputVisualizationHelper's single abstract method getVisualCreator.
Returns
- ↪IStripeInputVisualizationHelper
- An instance of the IStripeInputVisualizationHelper interface based on the given function.