documentationfor yFiles for HTML 2.6

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 (ILabel)in GraphClipboardProvides an ILabelOwner where the given clipboardLabel 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, Object)in LabelCreatorCalled from addLabel and performs the actual label creation in the graph.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?)in DefaultGraph
onEdgeLabelRemoved (ILabelOwner, ILabel)in DefaultGraphCalled after an edge label has been removed from its edge.
onNodeLabelRemoved (ILabelOwner, ILabel)in DefaultGraphCalled after a label has been removed from its node.
onPortLabelRemoved (ILabelOwner, ILabel)in DefaultGraphCalled after a port label has been removed from its port.
getLabelLayoutParameter (GraphCopier, IGraph, ILabel, ILabelOwner)in GraphClipboardGets a ILabelModelParameter for the given label to be placed at the given newOwner.
addLabel (IGraph, IGraph, ILabelOwner, ILabel)in GraphCopierAdds a label to the target item in the targetGraph as a copy of the source label.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?)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.
createDefaultLabelLayoutParameter (ILabelOwner)in IGraphCreates the label layout parameter for a given ILabelOwner.
getLabelDefaults (ILabelOwner)in IGraphGets the label defaults 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, an instance of VoidLabelStyle and the given parameter, text, and owner.
onLabelRemoved (ILabelOwner, ILabel)in TableCalled after a label has been removed from its stripe.
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.
addLabel (ILabelOwner)in GraphEditorInputModeAdds a new label to the given item interactively.
addLabel (ILabelOwner, string, ILabelModelParameter?, ILabelStyle?, Size?, Object?)in GraphEditorInputModeAdds a label to the given labelOwner after the textEditorInputMode has successfully finished editing after addLabel.
createLabel (ILabelOwner)in GraphEditorInputModeInteractively creates a new label for the provided label owner.
create ()in ILabelOwnerGridConstraintProviderCreates an implementation of the interface ILabelOwnerGridConstraintProvider from the given definition.
LabelDropInputMode (string, )in LabelDropInputModeConstructs a new instance of class DropInputMode for the expected data type.
LabelDropInputMode (string, )in LabelDropInputModeConstructs a new instance of class DropInputMode for the expected data type.
LabelDropInputMode ()in LabelDropInputModeConstructs a new instance of class LabelDropInputMode for the type ILabel.
createLabel (IInputModeContext, IGraph, ILabel, ILabelOwner, ILabelModelParameter)in LabelDropInputModeCreates the label in the graph after it's been dropped.
getNewLabelModelParameter (ILabelOwner, ILabel, Point)in LabelDropInputModeDetermine the ILabelModelParameter the label should have if it were dropped at draggedLocation over owner.
isValidLabelOwner (ILabelOwner, ILabel)in LabelDropInputModeDefault backing method for isValidLabelOwnerPredicate
LabelEditingEventArgs (IInputModeContext, ILabelOwner, ILabel)in LabelEditingEventArgsInitializes a new instance of the LabelEditingEventArgs class with the given context, owner, and label.
addLabel (ILabelOwner)in TableEditorInputModeAdds a new label to the given stripe interactively.

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.
ILabelOwnerHitTesterThis is a flagging interface for instances of IHitTester<T> that enumerate over a collection of ILabelOwner.