Package | Description |
---|---|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
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 |
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 |
---|---|
IVisualCreator |
IArrow.getVisualCreator(IEdge edge,
boolean atSource,
PointD anchor,
PointD direction)
Gets an
IVisualCreator implementation that will paint this arrow at the given location using the given direction
for the given edge. |
IVisualCreator |
Arrow.getVisualCreator(IEdge edge,
boolean atSource,
PointD anchor,
PointD direction) |
IVisualCreator |
VoidEdgeStyleRenderer.getVisualCreator(IEdge edge,
IEdgeStyle style)
Yields the
VoidVisualCreator.INSTANCE that will do nothing. |
IVisualCreator |
PathBasedEdgeStyleRenderer.getVisualCreator(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, calls PathBasedEdgeStyleRenderer.configure() and returns this . |
IVisualCreator |
IEdgeStyleRenderer.getVisualCreator(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IVisualCreator interface that can handle the provided edge and its associated
style. |
IVisualCreator |
VoidLabelStyleRenderer.getVisualCreator(ILabel label,
ILabelStyle style)
Yields the
VoidVisualCreator.INSTANCE that will do nothing. |
IVisualCreator |
TemplateLabelStyleRenderer.getVisualCreator(ILabel label,
ILabelStyle style)
Configures the
Style and Label properties, calls TemplateLabelStyleRenderer.configure() and
returns this . |
IVisualCreator |
IconLabelStyleRenderer.getVisualCreator(ILabel label,
ILabelStyle style)
Configures the
style and label parameters, calls IconLabelStyleRenderer.configure() and returns this . |
IVisualCreator |
ILabelStyleRenderer.getVisualCreator(ILabel label,
ILabelStyle style)
Gets an implementation of the
IVisualCreator interface that can handle the provided label and its associated
style. |
IVisualCreator |
DefaultLabelStyleRenderer.getVisualCreator(ILabel label,
ILabelStyle style)
Configures the
style and label parameters, calls DefaultLabelStyleRenderer.configure() and returns this . |
IVisualCreator |
VoidNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Yields the
VoidVisualCreator.INSTANCE that will do nothing. |
IVisualCreator |
TemplateNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls TemplateNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
TableNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style) |
IVisualCreator |
ShinyPlateNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShinyPlateNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
ShapeNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShapeNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
PanelNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls PanelNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
MemoryImageNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls MemoryImageNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
ImageNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ImageNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
INodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Gets an implementation of the
IVisualCreator interface that can handle the provided node and its associated
style. |
IVisualCreator |
GeneralPathNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls GeneralPathNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
CollapsibleNodeStyleDecoratorRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls CollapsibleNodeStyleDecoratorRenderer.configure() and returns this . |
IVisualCreator |
BevelNodeStyleRenderer.getVisualCreator(INode node,
INodeStyle style)
Configures the
style and node parameters, calls BevelNodeStyleRenderer.configure() and returns this . |
IVisualCreator |
VoidPortStyleRenderer.getVisualCreator(IPort port,
IPortStyle style)
Yields the
VoidVisualCreator.INSTANCE that will do nothing. |
IVisualCreator |
TemplatePortStyleRenderer.getVisualCreator(IPort port,
IPortStyle style)
Configures the
style and port parameters, calls TemplatePortStyleRenderer.configure() and returns this . |
IVisualCreator |
IPortStyleRenderer.getVisualCreator(IPort port,
IPortStyle style)
Gets an implementation of the
IVisualCreator interface that can handle the provided port and its associated
style. |
IVisualCreator |
VoidStripeStyleRenderer.getVisualCreator(IStripe stripe,
IStripeStyle style)
Yields the
VoidVisualCreator.INSTANCE that will do nothing. |
IVisualCreator |
TemplateStripeStyleRenderer.getVisualCreator(IStripe stripe,
IStripeStyle style)
Configures the
style and stripe parameters, calls TemplateStripeStyleRenderer.configure() and returns this . |
IVisualCreator |
IStripeStyleRenderer.getVisualCreator(IStripe stripe,
IStripeStyle style)
Gets an implementation of the
IVisualCreator interface that can handle the provided stripe and its associated
style. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultPortCandidateDescriptor
A simple
ICanvasObjectDescriptor that can be used to draw IPortCandidate instances in a
CanvasControl . |
class |
GridVisualCreator
Renders a grid using various different
styles . |
class |
OverviewGraphVisualCreator
An
IVisualCreator for use in a CanvasControl that renders a IGraph instance in a sloppy overview
style. |
class |
VoidVisualCreator
A void/null implementation of the
IVisualCreator interface that does nothing. |
Modifier and Type | Method and Description |
---|---|
protected IVisualCreator |
OverviewGraphVisualCreator.getEdgeVisualCreator(IRenderContext context,
IEdge edge)
Obtains the
IVisualCreator for the given edge. |
protected IVisualCreator |
OverviewGraphVisualCreator.getGroupNodeVisualCreator(IRenderContext context,
INode node)
Obtains the
IVisualCreator for the given group node. |
protected IVisualCreator |
OverviewGraphVisualCreator.getNodeVisualCreator(IRenderContext context,
INode node)
Obtains the
IVisualCreator for the given node. |
IVisualCreator |
CanvasControl.getVisualCreator(ICanvasObject canvasObject)
Convenience method that retrieves the
IVisualCreator for a given ICanvasObject . |
IVisualCreator |
ICanvasObjectDescriptor.getVisualCreator(Object forUserObject)
Returns an implementation of
IVisualCreator that will create the Node tree for the user
object. |
IVisualCreator |
DefaultPortCandidateDescriptor.getVisualCreator(Object forUserObject) |
Modifier and Type | Method and Description |
---|---|
protected IVisualCreator |
PortRelocationHandle.createDummyEdgeVisualCreator(SimpleEdge dummy)
Factory method that creates a dummy paintable for the dummy edge during the drag operation.
|
abstract IVisualCreator |
SnapResult.getVisualCreator()
Returns a
IVisualCreator instance that can be used to create a Node for this result. |
IVisualCreator |
IStripeInputVisualizationHelper.getVisualCreator(IInputModeContext context,
INode tableNode,
StripeVisualizationType type)
Return an
IVisualCreator that is used to visualize the input operation specified by type . |
IVisualCreator |
DefaultStripeInputVisualizationHelper.getVisualCreator(IInputModeContext context,
INode tableNode,
StripeVisualizationType type)
Return an
IVisualCreator that is used to visualize the input operation specified by type . |
Modifier and Type | Method and Description |
---|---|
static SnapResult |
SnapResult.createPointSnapResult(PointD location,
double weight,
Object tag,
IVisualCreator visualCreator,
SnapTypes snapType)
Factory method that creates a
SnapResult that snaps to a given location. |