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.styles |
Contains interfaces and default implementations for graph element styles.
|
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 |
IContextLookupChainLink
An interface for instances that can be used to chain lookup operations.
|
Modifier and Type | Class and Description |
---|---|
class |
LookupChain
An implementation of a chain of
IContextLookupChainLink s. |
Modifier and Type | Field and Description |
---|---|
static IContextLookup |
IContextLookup.EMPTY_CONTEXT_LOOKUP
An
ILookupContext instance that always returns null . |
Modifier and Type | Method and Description |
---|---|
static IContextLookup |
DefaultGraph.getDefaultBendLookup()
Gets an
IContextLookup that provides the default implementations returned by an IBend 's lookup. |
static IContextLookup |
Table.getDefaultColumnLookup()
Gets an
IContextLookup that provides the default implementations returned by an IColumn 's lookup. |
static IContextLookup |
DefaultGraph.getDefaultEdgeLookup()
Gets an
IContextLookup that provides the default implementations returned by an IEdge 's lookup. |
static IContextLookup |
DefaultGraph.getDefaultLabelLookup()
Gets an
IContextLookup that provides the default implementations returned by an ILabel 's lookup. |
static IContextLookup |
DefaultGraph.getDefaultNodeLookup()
Gets an
IContextLookup that provides the default implementations returned by an INode 's lookup. |
static IContextLookup |
DefaultGraph.getDefaultPortLookup()
Gets an
IContextLookup that provides the default implementations returned by an IPort 's lookup. |
static IContextLookup |
Table.getDefaultRowLookup()
Gets an
IContextLookup that provides the default implementations returned by an IRow 's lookup. |
static IContextLookup |
Table.getDefaultStripeLookup()
Gets an
IContextLookup that provides the default implementations returned by an IStripe 's lookup. |
Modifier and Type | Method and Description |
---|---|
static IContextLookupChainLink |
IContextLookupChainLink.createContextLookupChainLink(IContextLookup callback)
Creates a lookup chain link that is backed by the given callback.
|
static <T> T |
IContextLookup.lookup(Class<T> tType,
Object context,
IContextLookup lookup)
Utility method that helps keeping code more clean when using
IContextLookup lookup(Object, Class)
calls. |
static <T> T |
IContextLookup.lookup(Class<T> tType,
Object context,
IContextLookup lookup,
T fallback)
Utility method that helps keeping code more clean when using
IContextLookup lookup(Object, Class)
calls. |
void |
IContextLookupChainLink.setNext(IContextLookup next)
This method is called by the framework to register the fallback lookup implementation that should be used during a call
to
lookup(Object, Class) . |
Modifier and Type | Method and Description |
---|---|
IContextLookup |
AbstractTemplateStyle.getContextLookup()
Gets an implementation of
IContextLookup that can be used to satisfy queries that are made to the implementation
which is returned by calls to INodeStyleRenderer.getContext(com.yworks.yfiles.graph.INode, com.yworks.yfiles.graph.styles.INodeStyle)
that are made on the style renderer that is associated with this style instance. |
protected IContextLookup |
TemplateNodeStyleRenderer.getContextLookup(TemplateNodeStyle style)
Gets the context by delegating to
ContextLookup . |
protected IContextLookup |
TemplateStripeStyleRenderer.getContextLookup(TemplateStripeStyle style)
Gets the context by delegating to
ContextLookup . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTemplateStyle.setContextLookup(IContextLookup value)
Sets an implementation of
IContextLookup that can be used to satisfy queries that are made to the implementation
which is returned by calls to INodeStyleRenderer.getContext(com.yworks.yfiles.graph.INode, com.yworks.yfiles.graph.styles.INodeStyle)
that are made on the style renderer that is associated with this style instance. |
Modifier and Type | Method and Description |
---|---|
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
IContextLookup lookupCallback)
Factory method that creates an
IInputModeContext that uses the provided parent mode and lookup decoration. |
static IInputModeContext |
IInputModeContext.create(IInputMode parent,
IInputModeContext parentContext,
IContextLookup lookupCallback)
Factory method that creates an
IInputModeContext that uses the provided parent mode, parent context, and lookup
decoration. |