Package | Description |
---|---|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
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 | Class and Description |
---|---|
class |
DefaultPortCandidateDescriptor
A simple
ICanvasObjectDescriptor that can be used to draw IPortCandidate instances in a
CanvasControl . |
Modifier and Type | Field and Description |
---|---|
static ICanvasObjectDescriptor |
ICanvasObjectDescriptor.ALWAYS_DIRTY_INSTANCE
An implementation that tries to cast the user object to the required interface.
|
static ICanvasObjectDescriptor |
ICanvasObjectDescriptor.ALWAYS_DIRTY_LOOKUP
An implementation that tries to lookup the instance from the user object if it is an
ILookup . |
static ICanvasObjectDescriptor |
GraphModelManager.DEFAULT_EDGE_DESCRIPTOR
The immutable instance of the default
ICanvasObjectDescriptor for IEdge s which simply defers to the
edge's IEdgeStyle . |
static ICanvasObjectDescriptor |
GraphModelManager.DEFAULT_LABEL_DESCRIPTOR
The immutable instance of the default
ICanvasObjectDescriptor for ILabel s which simply defers to the
label's ILabelStyle . |
static ICanvasObjectDescriptor |
GraphModelManager.DEFAULT_NODE_DESCRIPTOR
The immutable instance of the default
ICanvasObjectDescriptor for INode s which simply defers to the
node's INodeStyle . |
static ICanvasObjectDescriptor |
GraphModelManager.DEFAULT_PORT_DESCRIPTOR
The immutable instance of the default
ICanvasObjectDescriptor for IPort s which simply defers to the
port's IPortStyle . |
static ICanvasObjectDescriptor |
ICanvasObjectDescriptor.DYNAMIC_DIRTY_INSTANCE
An implementation that tries to cast the user object to the required interface.
|
static ICanvasObjectDescriptor |
ICanvasObjectDescriptor.DYNAMIC_DIRTY_LOOKUP
An implementation that tries to lookup the instance from the user object if it is an
ILookup . |
static ICanvasObjectDescriptor |
ICanvasObjectDescriptor.VISUAL
An implementation that will cast the
UserObject to VISUAL and use that to
insert into the scene graph. |
static ICanvasObjectDescriptor |
ICanvasObjectDescriptor.VOID
An implementation that returns an
ICanvasObjectDescriptor that does nothing. |
Modifier and Type | Method and Description |
---|---|
ICanvasObjectDescriptor |
ItemModelManager.getDescriptor()
Gets the canvas object descriptor used by
ItemModelManager.install(Object) when an item is added
to an canvas object group. |
ICanvasObjectDescriptor |
ICanvasObject.getDescriptor()
Gets the descriptor instance that interprets the
UserObject during rendering, hit testing, and
bounds calculation. |
protected ICanvasObjectDescriptor |
ItemModelManager.getDescriptor(T item)
Returns the
ICanvasObjectDescriptor used to ItemModelManager.install(Object) the item in the canvas. |
ICanvasObjectDescriptor |
GraphModelManager.getEdgeDescriptor()
Gets the
ICanvasObjectDescriptor instance used for installing an IEdge into the canvas. |
ICanvasObjectDescriptor |
GraphModelManager.getEdgeLabelDescriptor()
Gets the
ICanvasObjectDescriptor instance used for installing an ILabel of an IEdge into the
canvas. |
ICanvasObjectDescriptor |
GraphModelManager.getNodeDescriptor()
Gets the
ICanvasObjectDescriptor instance used for installing an INode into the canvas. |
ICanvasObjectDescriptor |
GraphModelManager.getNodeLabelDescriptor()
Gets the
ICanvasObjectDescriptor instance used for installing an ILabel of an INode into the
canvas. |
ICanvasObjectDescriptor |
GraphModelManager.getPortDescriptor()
Gets the
ICanvasObjectDescriptor instance used for installing an IPort into the canvas. |
Modifier and Type | Method and Description |
---|---|
ICanvasObject |
ICanvasObjectGroup.addChild(Object userObject,
ICanvasObjectDescriptor descriptor)
Adds a child element to the scene graph as a child of this group.
|
void |
ItemModelManager.setDescriptor(ICanvasObjectDescriptor value)
Sets the canvas object descriptor used by
ItemModelManager.install(Object) when an item is added
to an canvas object group. |
void |
ICanvasObject.setDescriptor(ICanvasObjectDescriptor value)
Sets the descriptor instance that interprets the
UserObject during rendering, hit testing, and
bounds calculation. |
void |
GraphModelManager.setEdgeDescriptor(ICanvasObjectDescriptor value)
Sets the
ICanvasObjectDescriptor instance used for installing an IEdge into the canvas. |
void |
GraphModelManager.setEdgeLabelDescriptor(ICanvasObjectDescriptor value)
Sets the
ICanvasObjectDescriptor instance used for installing an ILabel of an IEdge into the
canvas. |
void |
GraphModelManager.setNodeDescriptor(ICanvasObjectDescriptor value)
Sets the
ICanvasObjectDescriptor instance used for installing an INode into the canvas. |
void |
GraphModelManager.setNodeLabelDescriptor(ICanvasObjectDescriptor value)
Sets the
ICanvasObjectDescriptor instance used for installing an ILabel of an INode into the
canvas. |
void |
GraphModelManager.setPortDescriptor(ICanvasObjectDescriptor value)
Sets the
ICanvasObjectDescriptor instance used for installing an IPort into the canvas. |
Modifier and Type | Method and Description |
---|---|
protected ICanvasObjectDescriptor |
LabelPositionHandler.createCandidateDescriptor(IInputModeContext context,
boolean highlight)
Creates an
ICanvasObjectDescriptor to display the given candidate position. |
protected ICanvasObjectDescriptor |
PortRelocationHandle.createCurrentPortCandidateDescriptor()
Factory method that creates the
ICanvasObjectDescriptor that will be used to paint the "current"
IPortCandidate . |
protected ICanvasObjectDescriptor |
PortRelocationHandle.createPortCandidateDescriptor()
Factory method that creates the
ICanvasObjectDescriptor that will be used to paint the IPortCandidate s. |
ICanvasObjectDescriptor |
SnapContext.createSnapResultCanvasObjectDescriptor()
Helper method used by
SnapContext.createSnapResultsModelManager(CanvasControl) to create the ICanvasObjectDescriptor
for the SnapResult type. |
ICanvasObjectDescriptor |
CreateEdgeInputMode.getCandidateDescriptor()
Gets the
ICanvasObjectDescriptor that is used for visualizing the
IPortCandidate s in the canvas during the edit. |
ICanvasObjectDescriptor |
CreateEdgeInputMode.getClosestCandidateDescriptor()
Gets the
ICanvasObjectDescriptor that is used for visualizing the closest IPortCandidate in the canvas
during the edit. |
Modifier and Type | Method and Description |
---|---|
void |
CreateEdgeInputMode.setCandidateDescriptor(ICanvasObjectDescriptor value)
Sets the
ICanvasObjectDescriptor that is used for visualizing the
IPortCandidate s in the canvas during the edit. |
void |
CreateEdgeInputMode.setClosestCandidateDescriptor(ICanvasObjectDescriptor value)
Sets the
ICanvasObjectDescriptor that is used for visualizing the closest IPortCandidate in the canvas
during the edit. |