documentationfor yFiles for HTML 3.0.0.3

Usages of ILabelOwner

Properties

ownerin ILabelGets the owner of this label.
ownerin LabelEventArgsGets the owner of the label that owned the label before the event happened.
ownerin SimpleLabelGets or sets the owner of this label.
isValidLabelOwnerPredicatein LabelDropInputModeGets or sets the predicate for testing whether an existing label owner in the graph can be used as owner for the currently dragged label.
ownerin LabelEditingEventArgsGets or sets the owner of the label.

Method Return Values

getTargetLabeledItem (ClipboardOperationContext, ILabel)in GraphClipboardProvides an ILabelOwner where the given sourceLabel can be added to.

Method Parameters

addLabel (IGraph, ILabelOwner, TDataItem)in LabelCreatorAdds a label on the given ILabelOwner with the values of the bindings resolved against the dataItem.
addLabelCore (IGraph, ILabelOwner, string, ILabelModelParameter, ILabelStyle, Size, ILabel['tag'])in LabelCreatorCalled from addLabel and performs the actual label creation in the graph.
addLabel (ClipboardOperationContext, ILabelOwner, ILabel)in ClipboardGraphCopierAdds a label to the targetOwner in the targetGraph as a copy of the sourceLabel.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, ILabel['tag']?)in Graph
onEdgeLabelRemoved (ILabelOwner, ILabel)in GraphCalled after an edge label has been removed from its edge.
onNodeLabelRemoved (ILabelOwner, ILabel)in GraphCalled after a label has been removed from its node.
onPortLabelRemoved (ILabelOwner, ILabel)in GraphCalled after a port label has been removed from its port.
getLabelLayoutParameter (ClipboardGraphCopier, IGraph, ILabel, ILabelOwner)in GraphClipboardGets an ILabelModelParameter for the given sourceLabel to be placed at the given newTargetOwner.
addLabel (IGraph, IGraph, ILabelOwner, ILabel)in GraphCopierAdds a label to the targetOwner in the targetGraph as a copy of the sourceLabel.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, ILabel['tag']?)in GraphWrapperBase
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, ILabel['tag']?)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?, ILabel['tag']?)in IGraphCalculates the preferred size of a label with the given properties.
clearLabels (ILabelOwner)in IGraphRemoves all labels from the given ILabelOwner, which can be an INode, IEdge, or IPort.
createDefaultLabelLayoutParameter (ILabelOwner)in IGraphCreates the label layout parameter for a given ILabelOwner.
getLabelDefaults (ILabelOwner)in IGraphGets the ILabelDefaults for a given ILabelOwner in the context of the graph.
getLayoutParameterInstance (ILabelOwner)in ILabelDefaultsFactory method that returns a label model parameter instance for use with newly created labels.
getStyleInstance (ILabelOwner)in ILabelDefaultsFactory method that returns a style instance for use with newly created labels.
getLayoutParameterInstance (ILabelOwner)in LabelDefaults
getStyleInstance (ILabelOwner)in LabelDefaults
LabelEventArgs (ILabel, ILabelOwner)in LabelEventArgsInitializes a new instance of the LabelEventArgs class.
SimpleLabel (ILabelOwner?, string?, ILabelModelParameter?, )in SimpleLabelCreates an instance of the SimpleLabel class with default lookup, VOID_LABEL_STYLE as style, and the given parameter, text, and owner.
onLabelRemoved (ILabelOwner, ILabel)in TableCalled after a label has been removed from its stripe.
getDefaults (IInputModeContext, ILabelOwner)in EditLabelHelperObtains the defaults for the label owner.
getLabelParameter (IInputModeContext, ILabelOwner)in EditLabelHelperDetermines the label model parameter to use for the label, depending on the owner.
getLabelStyle (IInputModeContext, ILabelOwner)in EditLabelHelperDetermines the style to use for the label, depending on the owner.
onLabelPasting (IInputModeContext, LabelEditingEventArgs, ILabelOwner, ILabel)in EditLabelHelperInvoked from initialize to initialize the helper for adding labels during paste from the GraphClipboard.
startLabelAddition (ILabelOwner, boolean?, string?)in EditLabelInputModeInteractively creates a new label for the provided label owner.
startLabelAddition (ILabelOwner)in GraphEditorInputModeAdds a new label to the given item interactively.
create ()in ILabelOwnerGridConstraintProvider
LabelDropInputMode (string, )in LabelDropInputModeInitializes a new instance of the LabelDropInputMode class for the given data type.
createLabel (IInputModeContext, IGraph, ILabel, ILabelOwner, ILabelModelParameter)in LabelDropInputModeCreates the label in the graph after it's been dropped.
getNewLabelModelParameter (ILabelOwner, ILabel, Point)in LabelDropInputModeDetermines the ILabelModelParameter the label should have if it was dropped at dragLocation over owner.
isValidLabelOwner (ILabelOwner, ILabel)in LabelDropInputModeDetermines whether the specified label can be added to the given label owner.
LabelEditingEventArgs (IInputModeContext, ILabelOwner, ILabel)in LabelEditingEventArgsInitializes a new instance of the LabelEditingEventArgs class with the given context, owner, and label.

Implementing Types

IEdgeThe interface used to model edges in an IGraph implementation.
INodeThe interface for node entities in an IGraph.
IPortThe interface used in an IGraph implementation for IEdges to connect to.
IStripeThis interface defines a child element of a table or a table element container.
ILabelOwnerGridConstraintProviderThis is a flagging interface for instances of IGridConstraintProvider<T> that can snap coordinates of ILabelOwners to a grid.