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. |
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. |
Modifier and Type | Method and Description |
---|---|
IBoundsProvider |
IArrow.getBoundsProvider(IEdge edge,
boolean atSource,
PointD anchor,
PointD directionVector)
Gets an
IBoundsProvider implementation that can yield this arrow's bounds if painted at the given location using
the given direction for the given edge. |
IBoundsProvider |
Arrow.getBoundsProvider(IEdge edge,
boolean atSource,
PointD anchor,
PointD directionVector) |
IBoundsProvider |
VoidEdgeStyleRenderer.getBoundsProvider(IEdge edge,
IEdgeStyle style)
Yields the
EMPTY that will return empty bounds. |
IBoundsProvider |
PathBasedEdgeStyleRenderer.getBoundsProvider(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters, calls PathBasedEdgeStyleRenderer.configure() and returns this . |
IBoundsProvider |
IEdgeStyleRenderer.getBoundsProvider(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IBoundsProvider interface that can handle the provided edge and its associated
style. |
IBoundsProvider |
VoidLabelStyleRenderer.getBoundsProvider(ILabel label,
ILabelStyle style)
Yields the
EMPTY that will return empty bounds. |
IBoundsProvider |
TemplateLabelStyleRenderer.getBoundsProvider(ILabel label,
ILabelStyle style)
Configures the
Style and Label properties, calls TemplateLabelStyleRenderer.configure() and
returns this . |
IBoundsProvider |
IconLabelStyleRenderer.getBoundsProvider(ILabel label,
ILabelStyle style)
Configures the
style and label parameters, calls IconLabelStyleRenderer.configure() and returns this . |
IBoundsProvider |
ILabelStyleRenderer.getBoundsProvider(ILabel label,
ILabelStyle style)
Gets an implementation of the
IBoundsProvider interface that can handle the provided label and its associated
style. |
IBoundsProvider |
DefaultLabelStyleRenderer.getBoundsProvider(ILabel label,
ILabelStyle style)
Configures the
style and label parameters, calls DefaultLabelStyleRenderer.configure() and returns this . |
IBoundsProvider |
VoidNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Yields the
EMPTY that will return empty bounds. |
IBoundsProvider |
TemplateNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Provides a
bounds calculation implementation for the given style and node. |
IBoundsProvider |
TableNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style) |
IBoundsProvider |
ShinyPlateNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShinyPlateNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
ShapeNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShapeNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
PanelNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls PanelNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
MemoryImageNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls MemoryImageNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
ImageNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ImageNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
INodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Gets an implementation of the
IBoundsProvider interface that can handle the provided node and its associated
style. |
IBoundsProvider |
GeneralPathNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls GeneralPathNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
CollapsibleNodeStyleDecoratorRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls CollapsibleNodeStyleDecoratorRenderer.configure() and returns this . |
IBoundsProvider |
BevelNodeStyleRenderer.getBoundsProvider(INode node,
INodeStyle style)
Configures the
style and node parameters, calls BevelNodeStyleRenderer.configure() and returns this . |
IBoundsProvider |
VoidPortStyleRenderer.getBoundsProvider(IPort port,
IPortStyle style)
Yields the
EMPTY that will return empty bounds. |
IBoundsProvider |
TemplatePortStyleRenderer.getBoundsProvider(IPort port,
IPortStyle style)
Configures the
style and port parameters, calls TemplatePortStyleRenderer.configure() and returns this . |
IBoundsProvider |
IPortStyleRenderer.getBoundsProvider(IPort port,
IPortStyle style)
Gets an implementation of the
IBoundsProvider interface that can handle the provided port 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 . |
Modifier and Type | Field and Description |
---|---|
static IBoundsProvider |
IBoundsProvider.EMPTY
An implementation that returns an
IBoundsProvider that yields an "Empty" bounds. |
static IBoundsProvider |
IBoundsProvider.UNBOUNDED
An implementation that returns an
IBoundsProvider that yields "infinite" bounds. |
Modifier and Type | Method and Description |
---|---|
static IBoundsProvider |
IBoundsProvider.fromRectangle(IRectangle bounds)
Creates an instance that returns the given model as the bounds.
|
IBoundsProvider |
ICanvasObjectDescriptor.getBoundsProvider(Object forUserObject)
Returns an implementation of
IBoundsProvider that can determine the visible bounds of the rendering of the user
object. |
IBoundsProvider |
DefaultPortCandidateDescriptor.getBoundsProvider(Object forUserObject) |