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.graph.labelmodels |
Contains interfaces and default implementations for label layout models.
|
com.yworks.yfiles.graph.portlocationmodels |
Contains interfaces and default implementations for port location models.
|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
com.yworks.yfiles.graphml |
Definitions, default implementations, and support classes for GraphML I/O support.
|
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 | Interface and Description |
---|---|
interface |
IBend
|
interface |
IColumn
Interface that describes a column in a
ITable instance. |
interface |
IEdge
The interface used to model edges in an
IGraph implementation. |
interface |
IFoldingView
Interface that is used for manipulating a
managed view
of an IGraph that supports folding operations like expanding and collapsing
of nodes. |
interface |
IGraph
Central interface that models a graph which can be displayed in a
canvas or
GraphControl . |
interface |
IGraphClipboardContext
The interface for the context that is passed by the
GraphClipboard implementation to the IClipboardHelper
methods and IClipboardIdProvider . |
interface |
ILabel
The interface used in an
IGraph implementation for labels. |
interface |
ILabelOwner
|
interface |
IModelItem
Base interface for items that can be used in a
CanvasControl . |
interface |
INode
The interface for node entities in an
IGraph . |
interface |
IPort
|
interface |
IPortOwner
|
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.
|
interface |
ITable
Central interface which provides support for tabular data presentation.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraphWrapper
An abstract
IGraph implementation that delegates all of its work to an existing implementation. |
class |
DefaultGraph
Central implementation of the
IGraph interface. |
class |
FilteredGraphWrapper
|
class |
SimpleBend
A simple mutable implementation of the
IBend interface that can be used stand-alone. |
class |
SimpleEdge
A simple mutable implementation of the
IEdge interface that can be used stand-alone. |
class |
SimpleLabel
A simple mutable implementation of the
ILabel interface that can be used stand-alone. |
class |
SimpleNode
A simple mutable implementation of the
INode interface that can be used stand-alone. |
class |
SimplePort
A simple mutable implementation of the
IPort interface that can be used stand-alone. |
class |
Table
Default implementation of the
ITable interface. |
Modifier and Type | Field and Description |
---|---|
static ILookup |
ILookup.EMPTY
An
ILookup instance that always returns null . |
Modifier and Type | Method and Description |
---|---|
static ILookup |
ILookup.createDictionaryLookup(HashMap<Class,Object> backingDictionary)
Creates a simple mutable
ILookup implementation that is backed by a dictionary. |
static ILookup |
ILookup.createDynamic(Object subject)
Creates a dynamic lookup implementation that for each type that the given subject can be assigned to yields that
subject.
|
static <T> ILookup |
ILookup.createSingle(Class<T> tType,
T subject)
Creates a simple lookup implementation that yields
subject if type is queried. |
static ILookup |
ILookup.createSingle(Object subject,
Class type)
Creates a simple lookup implementation that yields
subject if type is queried. |
static ILookup |
ILookup.createWrapped(ILookup basicLookup,
ILookup additionalLookup)
Creates a lookup implementation that wraps an existing
ILookup instance using an additional lookup
implementations. |
ILookup |
DefaultGraph.getLookup()
Returns the lookup implementation that is used for
DefaultGraph.lookup(Class) calls. |
ILookup |
AbstractGraphWrapper.getLookup()
Gets the lookup instance to use in
AbstractGraphWrapper.lookup(Class) . |
ILookup |
SimplePort.getLookupImplementation()
Gets the
ILookup implementation used for calls to SimplePort.lookup(Class) on this instance. |
ILookup |
SimpleNode.getLookupImplementation()
Gets the
ILookup implementation used for calls to SimpleNode.lookup(Class) on this instance. |
ILookup |
SimpleLabel.getLookupImplementation()
Gets the
ILookup implementation used for calls to SimpleLabel.lookup(Class) on this instance. |
ILookup |
SimpleEdge.getLookupImplementation()
Gets the
ILookup implementation used for calls to SimpleEdge.lookup(Class) on this instance. |
ILookup |
SimpleBend.getLookupImplementation()
Gets the
ILookup implementation used for calls to SimpleBend.lookup(Class) on this instance. |
Modifier and Type | Method and Description |
---|---|
static IContextLookupChainLink |
IContextLookupChainLink.createAddingLookupChainLink(ILookup lookup)
Factory method for a lookup chain element that adds an
ILookup layer to a lookup chain. |
static ILookup |
ILookup.createWrapped(ILookup basicLookup,
ILookup additionalLookup)
Creates a lookup implementation that wraps an existing
ILookup instance using an additional lookup
implementations. |
static <T> T |
ILookup.lookup(Class<T> tType,
ILookup lookup)
|
static <T> T |
ILookup.lookup(Class<T> tType,
ILookup lookup,
T fallback)
Utility method that helps keeping code more clean when using
ILookup lookup(Class) calls. |
void |
AbstractGraphWrapper.setLookup(ILookup lookup)
Sets the lookup instance to use in
AbstractGraphWrapper.lookup(Class) . |
void |
SimplePort.setLookupImplementation(ILookup value)
Sets the
ILookup implementation used for calls to SimplePort.lookup(Class) on this instance. |
void |
SimpleNode.setLookupImplementation(ILookup value)
Sets the
ILookup implementation used for calls to SimpleNode.lookup(Class) on this instance. |
void |
SimpleLabel.setLookupImplementation(ILookup value)
Sets the
ILookup implementation used for calls to SimpleLabel.lookup(Class) on this instance. |
void |
SimpleEdge.setLookupImplementation(ILookup value)
Sets the
ILookup implementation used for calls to SimpleEdge.lookup(Class) on this instance. |
void |
SimpleBend.setLookupImplementation(ILookup value)
Sets the
ILookup implementation used for calls to SimpleBend.lookup(Class) on this instance. |
protected void |
DefaultGraph.setLookupImplementation(ILookup lookup)
Sets the lookup implementation that will be used for
DefaultGraph.lookup(Class) calls. |
Modifier and Type | Interface and Description |
---|---|
interface |
ILabelModel
Defines the geometry of
ILabel instances with respect to specific ILabelModelParameter s. |
Modifier and Type | Class and Description |
---|---|
class |
CompositeLabelModel
An implementation of
ILabelModel that can be used to create custom label models out of existing ILabelModel
instances. |
class |
DescriptorWrapperLabelModel
A label model that wraps an existing label model and decorates it with a
descriptor . |
class |
EdgePathLabelModel
An edge label model that allows placement of labels along the edge path at a set of continuous positions at specified
sides of the edge path . |
class |
EdgeSegmentLabelModel
An edge label model that allows placement of labels relative to an edge segment at a set of continuous positions at
specified
sides of the edge path . |
class |
ExteriorLabelModel
A label model for node labels that lie outside of the node's
Layout
bounds. |
class |
FreeEdgeLabelModel
An edge label model that can be used to describe any position and orientation of a label.
|
class |
FreeLabelModel
A label model that can be used to describe any position and orientation of a label.
|
class |
FreeNodeLabelModel
This node label model can be used to specify any position and orientation of a label.
|
class |
GenericLabelModel
An implementation of
ILabelModel that can be used to create custom label models out of existing ILabelModelParameter
instances. |
class |
InteriorLabelModel
A label model for node labels that lie inside of the node's
Layout bounds. |
class |
InteriorStretchLabelModel
A label model for node labels that lie inside of the node's
Layout bounds and have been
stretched to fit the node's size. |
class |
NinePositionsEdgeLabelModel
An edge label model that knows nine different label positions.
|
class |
SandwichLabelModel
A node label model that knows only two possible positions.
|
class |
SmartEdgeLabelModel
An edge label model that allows the placement at any position.
|
class |
StretchStripeLabelModel
A label model for labels that is especially tailored to be used as a model for the four default positions where the
label of a stripe may lie.
|
class |
StripeLabelModel
A label model for labels that is especially tailored to be used as a model for the four default positions where the
label of a stripe may lie.
|
Modifier and Type | Method and Description |
---|---|
ILookup |
StripeLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
StretchStripeLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
SmartEdgeLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
SandwichLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
NinePositionsEdgeLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
InteriorStretchLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
InteriorLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
ILabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter)
Provides a
lookup context for the given combination of label and parameter. |
ILookup |
GenericLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
FreeNodeLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter)
Returns an empty context.
|
ILookup |
FreeLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
FreeEdgeLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
ExteriorLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
EdgeSegmentLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter)
Returns an empty context.
|
ILookup |
EdgePathLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter)
Returns an empty context.
|
ILookup |
DescriptorWrapperLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
ILookup |
CompositeLabelModel.getContext(ILabel label,
ILabelModelParameter layoutParameter) |
Modifier and Type | Interface and Description |
---|---|
interface |
IPortLocationModel
Defines the geometry of
IPort instances with respect to specific IPortLocationModelParameter s. |
Modifier and Type | Class and Description |
---|---|
class |
BendAnchoredPortLocationModel
An implementation of the
IPortLocationModel that can create IPortLocationModelParameter s that describe
the location of ports that are attached to the bends of IEdge s. |
class |
FreeNodePortLocationModel
A straightforward implementation of an
IPortLocationModel for IPort s at INode s that determine
the location dynamically using the Layout . |
class |
GenericPortLocationModel
An implementation of
IPortLocationModel that can be used to create custom port location models out of existing IPortLocationModelParameter
instances. |
class |
SegmentRatioPortLocationModel
A port location model that places the port on a certain edge segment at a specified ratio.
|
Modifier and Type | Method and Description |
---|---|
ILookup |
SegmentRatioPortLocationModel.getContext(IPort port,
IPortLocationModelParameter locationParameter) |
ILookup |
IPortLocationModel.getContext(IPort port,
IPortLocationModelParameter locationParameter)
Provides a
lookup context for the given combination of port and parameter. |
ILookup |
GenericPortLocationModel.getContext(IPort port,
IPortLocationModelParameter locationParameter) |
ILookup |
FreeNodePortLocationModel.getContext(IPort port,
IPortLocationModelParameter locationParameter) |
ILookup |
BendAnchoredPortLocationModel.getContext(IPort port,
IPortLocationModelParameter locationParameter) |
Modifier and Type | Class and Description |
---|---|
class |
ArcEdgeStyleRenderer
Default renderer implementation for
ArcEdgeStyle . |
class |
BevelNodeStyleRenderer
A
INodeStyle renderer implementation that draws a rounded rectangle with a bevel
border in a 'shiny plate' fashion. |
class |
CollapsibleNodeStyleDecoratorRenderer
INodeStyleRenderer implementation that can be used in conjunction with CollapsibleNodeStyleDecorator
instances. |
class |
DefaultLabelStyleRenderer
A simple
ILabelStyleRenderer implementation that can handle DefaultLabelStyle instances. |
class |
GeneralPathNodeStyleRenderer
An
INodeStyleRenderer implementation that can handle GeneralPathNodeStyle instances. |
class |
IconLabelStyleRenderer
An
ILabelStyleRenderer that can handle IconLabelStyle instances. |
class |
ImageNodeStyleRenderer
A style renderer implementation that can be used together with
ImageNodeStyle instances. |
class |
MemoryImageNodeStyleRenderer
A style renderer implementation that can be used together with
MemoryImageNodeStyle instances. |
class |
PanelNodeStyleRenderer
A
INodeStyle renderer implementation that draws a simple floating panel with a slight
gradient, a thin border and a simple drop shadow. |
class |
PathBasedEdgeStyleRenderer<TStyle extends IEdgeStyle>
An abstract base class for
IEdgeStyleRenderer implementations that are based on the calculation of a
GeneralPath . |
class |
PolylineEdgeStyleRenderer
An
IEdgeStyleRenderer that will render PolylineEdgeStyle instances. |
class |
ShapeNodeStyleRenderer
Default renderer implementation that can be used for
ShapeNodeStyle instances. |
class |
ShinyPlateNodeStyleRenderer
A
INodeStyle renderer implementation that draws a simple floating shinyPlate with a
slight gradient, a thin border and a simple drop shadow. |
class |
TableNodeStyleRenderer
Default renderer implementation that can be used for
TableNodeStyle instances. |
class |
TemplateLabelStyleRenderer
An implementation of the
ILabelStyleRenderer interface that can render TemplateLabelStyle instances. |
class |
TemplateNodeStyleRenderer
An implementation of the
INodeStyleRenderer interface that can render TemplateNodeStyle instances. |
class |
TemplatePortStyleRenderer
An implementation of the
IPortStyleRenderer interface that can render TemplatePortStyle instances. |
class |
TemplateStripeStyleRenderer
An implementation of the
IStripeStyleRenderer interface that can render TemplateStripeStyle instances. |
Modifier and Type | Method and Description |
---|---|
ILookup |
VoidEdgeStyleRenderer.getContext(IEdge edge,
IEdgeStyle style)
Yields the
EMPTY that will not yield anything. |
ILookup |
PathBasedEdgeStyleRenderer.getContext(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, does not call PathBasedEdgeStyleRenderer.configure() and returns
this . |
ILookup |
IEdgeStyleRenderer.getContext(IEdge edge,
IEdgeStyle style)
Gets a temporary context instance that can be used to query additional information for the edge's style.
|
ILookup |
VoidLabelStyleRenderer.getContext(ILabel label,
ILabelStyle style)
Yields the
EMPTY that will not yield anything. |
ILookup |
TemplateLabelStyleRenderer.getContext(ILabel label,
ILabelStyle style)
Configures the
Style and Label properties, does not call TemplateLabelStyleRenderer.configure()
and returns this . |
ILookup |
IconLabelStyleRenderer.getContext(ILabel label,
ILabelStyle style)
Configures the
style and label parameters, does not call IconLabelStyleRenderer.configure() and returns
this . |
ILookup |
ILabelStyleRenderer.getContext(ILabel label,
ILabelStyle style)
Gets a temporary context instance that can be used to query additional information for the label's style.
|
ILookup |
DefaultLabelStyleRenderer.getContext(ILabel label,
ILabelStyle style)
Configures the
style and label parameters, does not call DefaultLabelStyleRenderer.configure() and returns
this . |
ILookup |
VoidNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Yields the
EMPTY that will not yield anything. |
ILookup |
TemplateNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call TemplateNodeStyleRenderer.configure() and returns
this . |
ILookup |
TableNodeStyleRenderer.getContext(INode node,
INodeStyle style) |
ILookup |
ShinyPlateNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call ShinyPlateNodeStyleRenderer.configure() and returns
this . |
ILookup |
ShapeNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call ShapeNodeStyleRenderer.configure() and returns
this . |
ILookup |
PanelNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call PanelNodeStyleRenderer.configure() and returns
this . |
ILookup |
MemoryImageNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call MemoryImageNodeStyleRenderer.configure() and returns
this . |
ILookup |
ImageNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call ImageNodeStyleRenderer.configure() and returns
this . |
ILookup |
INodeStyleRenderer.getContext(INode node,
INodeStyle style)
Gets a temporary context instance that can be used to query additional information for the node's style.
|
ILookup |
GeneralPathNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call GeneralPathNodeStyleRenderer.configure() and returns
this . |
ILookup |
CollapsibleNodeStyleDecoratorRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call CollapsibleNodeStyleDecoratorRenderer.configure() and returns
this . |
ILookup |
BevelNodeStyleRenderer.getContext(INode node,
INodeStyle style)
Configures the
style and node parameters, does not call BevelNodeStyleRenderer.configure() and returns
this . |
ILookup |
VoidPortStyleRenderer.getContext(IPort port,
IPortStyle style)
Yields the
EMPTY that will not yield anything. |
ILookup |
TemplatePortStyleRenderer.getContext(IPort port,
IPortStyle style)
Configures the
style and port parameters, does not call TemplatePortStyleRenderer.configure() and returns
this . |
ILookup |
IPortStyleRenderer.getContext(IPort port,
IPortStyle style)
Gets a temporary context instance that can be used to query additional information for the port's style.
|
ILookup |
VoidStripeStyleRenderer.getContext(IStripe stripe,
IStripeStyle style)
Yields the
EMPTY that will not yield anything. |
ILookup |
TemplateStripeStyleRenderer.getContext(IStripe stripe,
IStripeStyle style)
Configures the
style and stripe parameters, does not call TemplateStripeStyleRenderer.configure() and returns
this . |
ILookup |
IStripeStyleRenderer.getContext(IStripe stripe,
IStripeStyle style)
Gets a temporary context instance that can be used to query additional information for the stripe's style.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IParseContext
Interface that defines the context of a GraphML parsing context.
|
interface |
IValueSerializerContext
Support interface used by
ValueSerializer . |
interface |
IWriteContext
Interface that provides the context of a GraphML write process.
|
Modifier and Type | Class and Description |
---|---|
class |
ChildParseContext
An implementation of
IParseContext that delegates most calls to a ParentContext , but
adds the capability to locally add ChildParseContext.lookup(Class) results and
deserialization properties . |
class |
ChildWriteContext
An
IWriteContext implementation for use in the context of GraphMLWriter that wraps a given instance and
delegates most of the calls to it but allows for modifying lookup and
serialization properties . |
class |
DefaultValueSerializerContext
Special implementation of
IValueSerializerContext that should be used in a GraphML context. |
class |
GraphMLParseValueSerializerContext
Special implementation of
IValueSerializerContext that should be used in a GraphML parse context. |
class |
GraphMLWriteValueSerializerContext
Special implementation of
IValueSerializerContext that should be used in a GraphML write context. |
Modifier and Type | Method and Description |
---|---|
abstract Object |
MarkupExtension.provideValue(ILookup serviceProvider)
Returns an object that is set as the value of the target property for this markup extension.
|
Modifier and Type | Class and Description |
---|---|
class |
FocusIndicatorManager<T extends ILookup>
A
ModelManager implementation that manages the visual decoration of the focused element in a canvas. |
class |
HighlightIndicatorManager<T extends ILookup>
A
ModelManager implementation that manages the visual decorations of highlighted elements in a canvas. |
class |
SelectionIndicatorManager<T extends ILookup>
A
ModelManager implementation that manages the visual decorations of selected elements in a canvas. |
Modifier and Type | Interface and Description |
---|---|
interface |
ICanvasContext
This interface describes the context for many operations performed on items in a
CanvasControl . |
interface |
IRenderContext
An interface that describes the current context for rendering routines.
|
Modifier and Type | Class and Description |
---|---|
class |
CanvasControl
The
CanvasControl can be used to efficiently display all kinds of data. |
class |
GraphControl
A control for displaying and editing an
IGraph . |
class |
GraphOverviewControl
Convenience control implementation that shows an overview of an
IGraph contained in another
GraphControl . |
Modifier and Type | Interface and Description |
---|---|
interface |
IInputModeContext
The interface for the context object that is passed to
IInputMode instances during IInputMode.install(IInputModeContext, ConcurrencyController)
and IInputMode.uninstall(IInputModeContext) and IDragHandler implementations like IPositionHandler
and IHandle to provide additional context for the implementations. |
Modifier and Type | Method and Description |
---|---|
static IInputModeContext |
IInputModeContext.create(CanvasControl canvas,
IInputMode parent,
ILookup lookup)
Factory method that creates an
IInputModeContext that uses the provided values. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
IInputModeContext parentContext,
ILookup lookup)
Factory method that creates an
IInputModeContext that uses the provided parent mode, parent context, and lookup
decoration. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
ILookup lookup)
Factory method that creates an
IInputModeContext that uses the provided parent mode and lookup decoration. |