Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Interface and Description |
---|---|
interface |
IColumn
Interface that describes a column in a
ITable instance. |
interface |
IEdge
The interface used to model edges in an
IGraph implementation. |
interface |
INode
The interface for node entities in an
IGraph . |
interface |
IRow
Interface that describes a row in a
ITable instance. |
interface |
IStripe
This interface defines a child element of a table or a table element container.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleEdge
A simple mutable implementation of the
IEdge interface that can be used stand-alone. |
class |
SimpleNode
A simple mutable implementation of the
INode interface that can be used stand-alone. |
Modifier and Type | Method and Description |
---|---|
ILabelOwner |
SimpleLabel.getOwner() |
ILabelOwner |
LabelEventArgs.getOwner()
Gets the owner of the label that owned the label before the event happened.
|
ILabelOwner |
ILabel.getOwner()
Gets the owner of this label.
|
protected ILabelOwner |
GraphClipboard.getTarget(ILabel originalLabel)
Provides an
ILabelOwner where the given originalLabel can be added to. |
Modifier and Type | Method and Description |
---|---|
protected ILabel |
GraphCopier.addLabel(IGraph sourceGraph,
IGraph targetGraph,
ILabelOwner targetOwner,
ILabel sourceLabel)
Callback method that adds a label to the target item in the targetGraph as a copy of the source label.
|
default ILabel |
IGraph.addLabel(ILabelOwner owner,
String text)
Add a label to the given item using the text as the initial label text and label model parameter, style and tag.
|
default ILabel |
IGraph.addLabel(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter)
Add a label to the given item using the text as the initial label text and label model parameter, style and tag.
|
default ILabel |
IGraph.addLabel(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter,
ILabelStyle style)
Add a label to the given item using the text as the initial label text and label model parameter, style and tag.
|
default ILabel |
IGraph.addLabel(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter,
ILabelStyle style,
SizeD preferredSize)
Add a label to the given item using the text as the initial label text and label model parameter, style and tag.
|
ILabel |
IGraph.addLabel(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter,
ILabelStyle style,
SizeD preferredSize,
Object tag)
Add a label to the given item using the text as the initial label text and label model parameter, style and tag.
|
ILabel |
DefaultGraph.addLabel(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter,
ILabelStyle style,
SizeD preferredSize,
Object tag) |
ILabel |
AbstractGraphWrapper.addLabel(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter,
ILabelStyle style,
SizeD preferredSize,
Object tag) |
default SizeD |
IGraph.calculateLabelPreferredSize(ILabelOwner owner,
String text)
Calculates the preferred size of a label with the given properties.
|
default SizeD |
IGraph.calculateLabelPreferredSize(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter)
Calculates the preferred size of a label with the given properties.
|
default SizeD |
IGraph.calculateLabelPreferredSize(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter,
ILabelStyle style)
Calculates the preferred size of a label with the given properties.
|
default SizeD |
IGraph.calculateLabelPreferredSize(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter,
ILabelStyle style,
Object tag)
Calculates the preferred size of a label with the given properties.
|
default ILabelModelParameter |
IGraph.createDefaultLabelLayoutParameter(ILabelOwner owner)
Creates the label layout parameter for a given
ILabelOwner . |
default ILabelDefaults |
IGraph.getLabelDefaults(ILabelOwner owner)
|
protected ILabelModelParameter |
GraphClipboard.getLabelLayoutParameter(GraphCopier copier,
IGraph graph,
ILabel label,
ILabelOwner newOwner)
|
ILabelModelParameter |
LabelDefaults.getLayoutParameterInstance(ILabelOwner owner) |
ILabelModelParameter |
ILabelDefaults.getLayoutParameterInstance(ILabelOwner owner)
Factory method that returns a label model parameter instance for use with newly created labels.
|
ILabelStyle |
LabelDefaults.getStyleInstance(ILabelOwner owner) |
ILabelStyle |
ILabelDefaults.getStyleInstance(ILabelOwner owner)
Factory method that returns a style instance for use with newly created labels.
|
protected void |
DefaultGraph.onEdgeLabelRemoved(ILabelOwner owner,
ILabel label)
Called after a label has been removed from its edge.
|
protected void |
Table.onLabelRemoved(ILabelOwner owner,
ILabel label)
Called after a label has been removed from its stripe.
|
protected void |
DefaultGraph.onNodeLabelRemoved(ILabelOwner owner,
ILabel label)
Called after a label has been removed from its node.
|
void |
SimpleLabel.setOwner(ILabelOwner value)
Sets the owner of this label.
|
Constructor and Description |
---|
LabelEventArgs(ILabel label,
ILabelOwner owner)
Initializes a new instance of the
LabelEventArgs class. |
SimpleLabel(ILabelOwner owner,
String text,
ILabelModelParameter layoutParameter)
Creates an instance of the
SimpleLabel class with default lookup ,
an instance of VoidLabelStyle and the given parameter , text, and owner. |
Modifier and Type | Method and Description |
---|---|
ILabelOwner |
LabelEditingEventArgs.getOwner()
Gets the owner of the label.
|
Modifier and Type | Method and Description |
---|---|
Future<ILabel> |
TableEditorInputMode.addLabel(ILabelOwner owner)
Adds a new label to the given stripe interactively.
|
Future<ILabel> |
GraphEditorInputMode.addLabel(ILabelOwner owner)
Adds a new label to the given item interactively.
|
Future<ILabel> |
GraphEditorInputMode.createLabel(ILabelOwner owner)
Interactively creates a new label for the provided label owner.
|
protected ILabelModelParameter |
EditLabelHelper.getLabelParameter(IInputModeContext context,
ILabelOwner owner)
Determines the label model parameter to use for the label, depending on the
owner . |
protected ILabelStyle |
EditLabelHelper.getLabelStyle(IInputModeContext context,
ILabelOwner owner)
Determines the style to use for the label, depending on the
owner . |
void |
LabelEditingEventArgs.setOwner(ILabelOwner value)
Sets the owner of the label.
|
Constructor and Description |
---|
LabelEditingEventArgs(IInputModeContext context,
ILabelOwner owner,
ILabel label)
Initializes a new instance of the
LabelEditingEventArgs class with the given context, owner, and label. |