C

StripeLabelDecorator

Helps in decorating the lookup method of ILabel instances by providing access to decorators for the most common types.
Inheritance Hierarchy

Remarks

Predefined LookupDecorator<TDecoratedType, TInterface> are made available through properties like e.g. highlightRenderer. Note that the list of possible decorations that are available using this class is not exhaustive in any way. This is merely a way to provide access to those interfaces that are more commonly being decorated by the developer.

Typically, a configured instance of this class is available through stripeLabels on the TableDecorator which is returned by decorator on an ITable.

This decorator can be used to conveniently decorate the lookup of ILabels in an ITable. It serves as a factory for predefined LookupDecorator<TDecoratedType, TInterface> instances that are specifically useful for the ILabel type.

See Also

API

TableDecorator, LookupDecorator

Members

Show:

Constructors

Initializes a new instance of the StripeLabelDecorator class.

Parameters

decorator: ILookupDecorator
The decorator to use.

Properties

Gets a LookupDecorator<TDecoratedType, TInterface> that decorates the IEditLabelHelper type for the ILabels this instance has been created for.
Custom IEditLabelHelper implementations can be used to change or customize interactive label editing. This interface is mainly used by the TableEditorInputMode which uses the callbacks from the implementation to determine whether the label can be edited, as well as to customize the TextEditorInputMode appearance for the upcoming edit. This is a convenient alternative to the direct usage of the ILookupDecorator that is provided by the ITable's lookup.
readonlyfinal

Property Value

A decorator that can be used to modify the queries for IEditLabelHelper instances on ILabels.
Gets a LookupDecorator<TDecoratedType, TInterface> that decorates the IFocusRenderer<ILabel> type for the type of items this instance has been created for.
Custom IFocusRenderer<ILabel> implementations can be used to change the way the focus of an item is represented in a GraphComponent. This interface is mainly used by the FocusIndicatorManager<T> in the GraphComponent. This is a convenient alternative to the direct usage of the ILookupDecorator that is provided by the ITable's lookup.
readonlyfinal

Property Value

A decorator that can be used to modify the queries for IFocusRenderer<ILabel> instances on items that implement the TModelItem interface this instance uses as the generic type parameter.
Gets a LookupDecorator<TDecoratedType, TInterface> that decorates the IHighlightRenderer<ILabel> type for the type of items this instance has been created for.
Custom IHighlightRenderer<ILabel> implementations can be used to change the way the highlighting of an item is represented in a CanvasComponent. This interface is mainly used by the HighlightIndicatorManager<T> in the GraphComponent. This is a convenient alternative to the direct usage of the ILookupDecorator that is provided by the ITable's lookup.
readonlyfinal

Property Value

A decorator that can be used to modify the queries for IHighlightRenderer<ILabel> instances on items that implement the TModelItem interface this instance uses as the generic type parameter.
Gets a LookupDecorator<TDecoratedType, TInterface> that decorates the IStripeLabelInputRenderer type for the ILabels this instance has been created for.

Custom IStripeLabelInputRenderer implementations can be used to change the way the look of a label is represented during the default interactions in a CanvasComponent. This interface is mainly used by the TableEditorInputMode. This is a convenient alternative to the direct usage of the ILookupDecorator that is provided by the ITable's lookup.

Implementations of IStripeLabelInputRenderer will be passed a StripeLabelInputRenderTag as render tag.

readonlyfinal

Property Value

A decorator that can be used to modify the queries for IStripeLabelInputRenderer instances on ILabels.
Gets a LookupDecorator<TDecoratedType, TInterface> that decorates the ILabelModelParameterFinder type for the ILabels this instance has been created for.
Custom ILabelModelParameterFinder implementations can be used to change the way ILabels can be dragged interactively by the user. It helps in determining the right ILabelModelParameter for a given location that has been chosen by the user. This is a convenient alternative to the direct usage of the ILookupDecorator that is provided by the ITable's lookup.
readonlyfinal

Property Value

A decorator that can be used to modify the queries for ILabelModelParameterFinder instances on ILabels.
Gets a LookupDecorator<TDecoratedType, TInterface> that decorates the ILabelModelParameterProvider type for the ILabels this instance has been created for.
Custom ILabelModelParameterProvider implementations can be used to change the set of possible ILabelModelParameters that the user can assign to a label interactively by dragging it in a GraphComponent. This is a convenient alternative to the direct usage of the ILookupDecorator that is provided by the ITable's lookup.
readonlyfinal

Property Value

A decorator that can be used to modify the queries for ILabelModelParameterProvider instances on ILabels.
Gets a LookupDecorator<TDecoratedType, TInterface> that decorates the ISelectionRenderer<ILabel> type for the type of items this instance has been created for.
Custom ISelectionRenderer<ILabel> implementations can be used to change the way the selection of an item is represented in a CanvasComponent. This interface is mainly used by the SelectionIndicatorManager<T> in the GraphComponent. This is a convenient alternative to the direct usage of the ILookupDecorator that is provided by the ITable's lookup.
readonlyfinal

Property Value

A decorator that can be used to modify the queries for ISelectionRenderer<ILabel> instances on items that implement the TModelItem interface this instance uses as the generic type parameter.

Methods

Note that the various decorators for stripe labels provide a more convenient way to add chain links to the lookup.
final

Parameters

link: IContextLookupChainLink
The lookup chain link to add.
Creates a LookupDecorator<TDecoratedType, TInterface> for ILabels that can be used to decorate TInterface types of the labels.
final

Parameters

interfaceType: Constructor<TInterface>
The type of the interface that should be decorated of the instances' lookup.

Return Value

LookupDecorator<ILabel, TInterface>
A new LookupDecorator<TDecoratedType, TInterface> for the specified interface.
Removes an IContextLookupChainLink that has been added by one of the various decorators for stripe labels.
final

Parameters

link: IContextLookupChainLink
The lookup chain link to remove.