documentationfor yFiles for HTML 2.6

Usages of ILabelStyle

Properties

labelStylein DefaultFolderNodeConverterGets or sets the ILabelStyle to use for the first label of the collapsed group nodes.
portLabelStylein DefaultFolderNodeConverterGets or sets the ILabelStyle to use for the first label of the ports of the collapsed group nodes.
labelStylein FoldingEdgeConverterBaseGets or sets the ILabelStyle to use for the first label of the folding edge.
portLabelStylein FoldingEdgeConverterBaseGets or sets the ILabelStyle to use for the first label at the source or target port of the folding edge.
stylein FoldingLabelStateGets or sets the style of this label.
stylein ILabelGets the style that is responsible for the visual representation of this node in a CanvasComponent.
stylein ILabelDefaultsGets or sets the style to use for labels.
stylein LabelDefaults
stylein SimpleLabelGets or sets the style that is responsible for the visual representation of this node in a CanvasComponent.
stylein LabelEditingEventArgsGets or sets the style of the label to add.
wrappedin IconLabelStyleGets or sets the style that renders the text of the label.
wrappedin IndicatorLabelStyleDecoratorGets the wrapped label style.
labelStylein NodeStyleLabelStyleAdapterGets the ILabelStyle that is used for rendering the foreground of the label.
labelStylein GraphFocusIndicatorManagerGets or sets the style to use for the label focus rendering.
labelStylein GraphHighlightIndicatorManagerGets or sets the style to use for the label highlight rendering.
labelStylein GraphSelectionIndicatorManagerGets or sets the style to use for the label selection rendering.
labelStylein LabelStyleDecorationInstallerGets or sets the style to use for the rendering.

Method Return Values

getStyle (TDataItem)in LabelCreatorObtains an ILabelStyle instance or null by resolving the styleProvider.
getUpdatedStyle (IGraph, ILabel, TDataItem)in LabelCreatorResolves the styleProvider and then applies the style bindings.
createLabelStyle (IFoldingView, ILabel, ILabel)in DefaultFolderNodeConverterCreates the ILabelStyle for use in initializeFolderNodeLabels.
createLabelStyle (IFoldingView, ILabel, ILabel)in FoldingEdgeConverterBaseCreates the ILabelStyle for use in initializeFoldingEdgeLabels.
copyLabelStyle (IGraph, ILabel)in GraphCopierCopies an ILabelStyle instance.
getStyleInstance (ILabelOwner)in ILabelDefaultsFactory method that returns a style instance for use with newly created labels.
createLabelStyle (IStripe)in ITableCreates an instance of the default label style for the given stripe.
getStyleInstance (ILabelOwner)in LabelDefaults
getLabelStyle (IInputModeContext, ILabelOwner)in EditLabelHelperDetermines the style to use for the label, depending on the owner.
getWrappedStyle ()in IconLabelStyleRendererRetrieves the wrapped from the style.

Method Parameters

addLabelCore (IGraph, ILabelOwner, string, ILabelModelParameter, ILabelStyle, Size, Object)in LabelCreatorCalled from addLabel and performs the actual label creation in the graph.
DefaultFolderNodeConverter ()in DefaultFolderNodeConverterInitializes a new instance of this class with default values.
DefaultFoldingEdgeConverter ()in DefaultFoldingEdgeConverterInitializes a new instance of this class with default values.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?)in DefaultGraph
createUndoUnitForLabelStyleChange (ILabel, ILabelStyle)in DefaultGraphCreates the undo unit for changing the style of the given label.
onChangingLabelStyle (ILabel, ILabelStyle)in DefaultGraphCalled before a label style is being changed.
onLabelStyleChanged (ILabel, ILabelStyle)in DefaultGraphCalled after a label style has changed.
setStyle (ILabel, ILabelStyle)in DefaultGraphAssigns the given style instance by reference to the label.
addLabel (string, ILabelModelParameter, ILabelStyle, Size, Object)in FolderNodeState
addLabel (string, ILabelModelParameter, ILabelStyle, Size, Object)in FoldingEdgeState
addLabel (string, ILabelModelParameter, ILabelStyle, Size, Object)in FoldingLabelOwnerStateAdds a FoldingLabelState to this state.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?)in GraphWrapperBase
onLabelStyleChanged (ItemChangedEventArgs<ILabel,ILabelStyle>)in GraphWrapperBaseRaises the LabelStyleChanged event
setStyle (ILabel, ILabelStyle)in GraphWrapperBase
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?)in IGraphAdd a label to the given node or edge using the text as the initial label text and label model parameter, style and tag.
calculateLabelPreferredSize (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Object?)in IGraphCalculates the preferred size of a label with the given properties.
setStyle (ILabel, ILabelStyle)in IGraphAssigns the given style instance by reference to the label.
addLabel (IStripe, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?)in ITableAdd a label to the given owner using the text as the initial label text and label model parameter and style.
calculateLabelPreferredSize (IStripe, ILabelStyle, ILabelModelParameter, string, Object)in ITableCalculates the preferred size of a label with the given properties.
setStyle (ILabel, ILabelStyle)in ITableAssigns the given style instance by reference to the label.
LabelDefaults ()in LabelDefaultsInitializes a new instance of the LabelDefaults class using a trivial parameter.
MergingFoldingEdgeConverter ()in MergingFoldingEdgeConverterInitializes a new instance of the MergingFoldingEdgeConverter class.
SimpleLabel (ILabelOwner?, string?, ILabelModelParameter?, )in SimpleLabelCreates an instance of the SimpleLabel class with default lookup, an instance of VoidLabelStyle and the given parameter, text, and owner.
addLabel (IStripe, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?)in Table
setStyle (ILabel, ILabelStyle)in TableAssigns the given style instance by reference to the label.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?)in GraphEditorInputModeAdds a label to the given labelOwner after the textEditorInputMode has successfully finished editing after addLabel.
getBoundsProvider (ILabel, ILabelStyle)in DefaultLabelStyleRendererConfigures the style and label parameters, calls configure and returns this.
getContext (ILabel, ILabelStyle)in DefaultLabelStyleRendererConfigures the style and label parameters, does not call configure and returns this.
getHitTestable (ILabel, ILabelStyle)in DefaultLabelStyleRendererConfigures the style and label parameters, calls configure and returns this.
getMarqueeTestable (ILabel, ILabelStyle)in DefaultLabelStyleRendererConfigures the style and label parameters, calls configure and returns this.
getPreferredSize (ILabel, ILabelStyle)in DefaultLabelStyleRenderer
getVisibilityTestable (ILabel, ILabelStyle)in DefaultLabelStyleRendererConfigures the style and label parameters, does not call configure and returns this.
getVisualCreator (ILabel, ILabelStyle)in DefaultLabelStyleRendererConfigures the style and label parameters, calls configure and returns this.
getBoundsProvider (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IBoundsProvider interface that can handle the provided label and its associated style.
getContext (ILabel, ILabelStyle)in ILabelStyleRendererGets a temporary context instance that can be used to query additional information for the label's style.
getHitTestable (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IHitTestable interface that can handle the provided label and its associated style.
getMarqueeTestable (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IMarqueeTestable interface that can handle the provided label and its associated style.
getPreferredSize (ILabel, ILabelStyle)in ILabelStyleRendererCalculates the preferred size of a given label using the associated style.
getVisibilityTestable (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IVisibilityTestable interface that can handle the provided label and its associated style.
getVisualCreator (ILabel, ILabelStyle)in ILabelStyleRendererGets an implementation of the IVisualCreator interface that can handle the provided label and its associated style.
IconLabelStyle (string?, ILabelStyleRenderer?, )in IconLabelStyleCreates a new instance using the provided icon and renderer.
getBoundsProvider (ILabel, ILabelStyle)in IconLabelStyleRendererConfigures the style and label parameters, calls configure and returns this.
getContext (ILabel, ILabelStyle)in IconLabelStyleRendererConfigures the style and label parameters, does not call configure and returns this.
getHitTestable (ILabel, ILabelStyle)in IconLabelStyleRendererConfigures the style and label parameters, calls configure and returns this.
getMarqueeTestable (ILabel, ILabelStyle)in IconLabelStyleRendererConfigures the style and label parameters, calls configure and returns this.
getPreferredSize (ILabel, ILabelStyle)in IconLabelStyleRenderer
getVisibilityTestable (ILabel, ILabelStyle)in IconLabelStyleRendererConfigures the style and label parameters, does not call configure and returns this.
getVisualCreator (ILabel, ILabelStyle)in IconLabelStyleRendererConfigures the style and label parameters, calls configure and returns this.
IndicatorLabelStyleDecorator (ILabelStyle?, )in IndicatorLabelStyleDecoratorCreates a new instance wrapping the provided style.
NodeStyleLabelStyleAdapter (INodeStyle?, ILabelStyle?, )in NodeStyleLabelStyleAdapterCreates a label style that uses the provided node style to render the background and the label style to render the foreground of this style.
getBoundsProvider (ILabel, ILabelStyle)in TemplateLabelStyleRendererConfigures the style and label properties, calls configure and returns this.
getContext (ILabel, ILabelStyle)in TemplateLabelStyleRendererConfigures the style and label properties, does not call configure and returns this.
getHitTestable (ILabel, ILabelStyle)in TemplateLabelStyleRendererConfigures the style and label properties, calls configure and returns this.
getMarqueeTestable (ILabel, ILabelStyle)in TemplateLabelStyleRendererConfigures the style and label properties, calls configure and returns this.
getPreferredSize (ILabel, ILabelStyle)in TemplateLabelStyleRendererCalculates the preferred size for the given label and style.
getPreferredSizeWithContext (IRenderContext, ILabel, ILabelStyle)in TemplateLabelStyleRendererCalculates the preferred size for the given label and style.
getVisibilityTestable (ILabel, ILabelStyle)in TemplateLabelStyleRendererConfigures the style and label properties, does not call configure and returns this.
getVisualCreator (ILabel, ILabelStyle)in TemplateLabelStyleRendererConfigures the style and label properties, calls configure and returns this.
getBoundsProvider (ILabel, ILabelStyle)in VoidLabelStyleRendererYields the EMPTY that will return empty bounds.
getContext (ILabel, ILabelStyle)in VoidLabelStyleRendererYields a lookup that will only return NEVER if an ILassoTestable is queried.
getHitTestable (ILabel, ILabelStyle)in VoidLabelStyleRendererYields the NEVER that will always report misses.
getMarqueeTestable (ILabel, ILabelStyle)in VoidLabelStyleRendererYields the NEVER that will always report misses.
getPreferredSize (ILabel, ILabelStyle)in VoidLabelStyleRendererYields EMPTY.
getVisibilityTestable (ILabel, ILabelStyle)in VoidLabelStyleRendererYields the NEVER that will always claim invisibility.
getVisualCreator (ILabel, ILabelStyle)in VoidLabelStyleRendererYields the INSTANCE that will do nothing.
GraphFocusIndicatorManager ()in GraphFocusIndicatorManagerCreates a new instance.
GraphHighlightIndicatorManager ()in GraphHighlightIndicatorManagerCreates a new instance.
GraphSelectionIndicatorManager ()in GraphSelectionIndicatorManagerCreates a new instance that for all selected items in the model dynamically installs a selection indicator visualization.
LabelStyleDecorationInstaller ()in LabelStyleDecorationInstallerCreate a new instance of this class.

Implementing Types

DefaultLabelStyleA basic label style which renders the label's text and optionally a background and border.
IconLabelStyleA label style that wraps another ILabelStyle and draws an icon in addition to the text.
IndicatorLabelStyleDecoratorAllows to scale the visualization of an ILabelStyle depending on the zoom level.
LabelStyleBaseAn abstract base class that makes it possible to easily implement a custom ILabelStyle.
NodeStyleLabelStyleAdapterA label style decorator that uses a node style instance to render the background and a label style instance to render the foreground of a label.
TemplateLabelStyleBaseBase class for label styles that use a SVG snippet as template for the visualization of ILabels.
VoidLabelStyleA void implementation of a label style that does nothing and behaves like an invisible style.