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. |
Modifier and Type | Method and Description |
---|---|
IHitTestable |
VoidEdgeStyleRenderer.getHitTestable(IEdge edge,
IEdgeStyle style)
Yields the
NEVER that will always report misses. |
IHitTestable |
PathBasedEdgeStyleRenderer.getHitTestable(IEdge edge,
IEdgeStyle style)
Configures the
style and edge parameters and returns this . |
IHitTestable |
IEdgeStyleRenderer.getHitTestable(IEdge edge,
IEdgeStyle style)
Gets an implementation of the
IHitTestable interface that can handle the provided edge and its associated
style. |
IHitTestable |
VoidLabelStyleRenderer.getHitTestable(ILabel label,
ILabelStyle style)
Yields the
NEVER that will always report misses. |
IHitTestable |
TemplateLabelStyleRenderer.getHitTestable(ILabel label,
ILabelStyle style)
Configures the
Style and Label properties, calls TemplateLabelStyleRenderer.configure() and
returns this . |
IHitTestable |
IconLabelStyleRenderer.getHitTestable(ILabel label,
ILabelStyle style)
Configures the
style and label parameters, calls IconLabelStyleRenderer.configure() and returns this . |
IHitTestable |
ILabelStyleRenderer.getHitTestable(ILabel label,
ILabelStyle style)
Gets an implementation of the
IHitTestable interface that can handle the provided label and its associated
style. |
IHitTestable |
DefaultLabelStyleRenderer.getHitTestable(ILabel label,
ILabelStyle style)
Configures the
style and label parameters, calls DefaultLabelStyleRenderer.configure() and returns this . |
IHitTestable |
VoidNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Yields the
NEVER that will always report misses. |
IHitTestable |
TemplateNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Provides a
hit testing implementation for the given style and node. |
IHitTestable |
TableNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style) |
IHitTestable |
ShinyPlateNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShinyPlateNodeStyleRenderer.configure() and returns this . |
IHitTestable |
ShapeNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ShapeNodeStyleRenderer.configure() and returns this . |
IHitTestable |
PanelNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls PanelNodeStyleRenderer.configure() and returns this . |
IHitTestable |
MemoryImageNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls MemoryImageNodeStyleRenderer.configure() and returns this . |
IHitTestable |
ImageNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls ImageNodeStyleRenderer.configure() and returns this . |
IHitTestable |
INodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Gets an implementation of the
IHitTestable interface that can handle the provided node and its associated
style. |
IHitTestable |
GeneralPathNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls GeneralPathNodeStyleRenderer.configure() and returns this . |
IHitTestable |
CollapsibleNodeStyleDecoratorRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls CollapsibleNodeStyleDecoratorRenderer.configure() and returns this . |
IHitTestable |
BevelNodeStyleRenderer.getHitTestable(INode node,
INodeStyle style)
Configures the
style and node parameters, calls BevelNodeStyleRenderer.configure() and returns this . |
IHitTestable |
VoidPortStyleRenderer.getHitTestable(IPort port,
IPortStyle style)
Yields the
NEVER that will always report misses. |
IHitTestable |
TemplatePortStyleRenderer.getHitTestable(IPort port,
IPortStyle style)
Configures the
style and port parameters, calls TemplatePortStyleRenderer.configure() and returns this . |
IHitTestable |
IPortStyleRenderer.getHitTestable(IPort port,
IPortStyle style)
Gets an implementation of the
IHitTestable 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 | Method and Description |
---|---|
IHitTestable |
ICanvasObjectDescriptor.getHitTestable(Object forUserObject)
Returns an implementation of
IHitTestable that can determine whether the rendering of the user object has been
hit at a given coordinate. |
IHitTestable |
DefaultPortCandidateDescriptor.getHitTestable(Object forUserObject) |
Modifier and Type | Field and Description |
---|---|
static IHitTestable |
IHitTestable.ALWAYS
An
IHitTestable that always returns true. |
static IHitTestable |
IHitTestable.NEVER
An
IHitTestable that always returns false. |
Modifier and Type | Method and Description |
---|---|
static IHitTestable |
IHitTestable.create(IHitTestableHandler handler)
Wrap a handler into an interface.
|
protected IHitTestable |
MoveLabelInputMode.createLabelHitTestable()
Creates the hit testable that will be used to determine whether this mode may be activated.
|
IHitTestable |
CreateEdgeInputMode.getBeginHitTestable()
Gets a
IHitTestable that determines, whether it is valid to start an edge creation gesture here. |
IHitTestable |
CreateBendInputMode.getBeginHitTestable()
Gets the
IHitTestable that determines where bends may be created. |
IHitTestable |
CreateEdgeInputMode.getEndHitTestable()
Gets a
IHitTestable that determines, whether it is valid to finish an edge creation gesture here. |
IHitTestable |
IStripeHitTestHelper.getFarBorderHitTestable()
Return a
IHitTestable that should report hits on the far border region of the stripe. |
IHitTestable |
MoveInputMode.getHitTestable()
Gets the
IHitTestable that will be used by this mode to determine where the user may start dragging. |
IHitTestable |
IStripeHitTestHelper.getLeadingHeaderHitTestable()
Return a
IHitTestable that should report hits on the leading header region of the stripe. |
IHitTestable |
IStripeHitTestHelper.getNearBorderHitTestable()
Return a
IHitTestable that should report hits on the near border region of the stripe. |
IHitTestable |
IStripeHitTestHelper.getStripeHitTestable()
Return a
IHitTestable that should report hits on the whole stripe. |
IHitTestable |
IStripeHitTestHelper.getTrailingHeaderHitTestable()
Return a
IHitTestable that should report hits on the trailing header region of the stripe. |
IHitTestable |
CreateEdgeInputMode.getValidBendHitTestable()
Gets a
IHitTestable that determines, whether it is valid to create a bend here. |
IHitTestable |
ClickInputMode.getValidClickHitTestable()
Gets a hit test that determines where this mode should recognize clicks.
|
IHitTestable |
DropInputMode.getValidDropHitTestable()
Gets the
IHitTestable that determines whether the given location is a valid drop location. |
IHitTestable |
MouseHoverInputMode.getValidHoverLocationHitTestable()
Gets an
IHitTestable that determines where the mouse may hover and a tool tip can be
shown . |
IHitTestable |
AbstractContextMenuInputMode.getValidMenuLocationHitTestable()
Gets an
IHitTestable that determines whether it is valid to open a context menu at the queried position. |
IHitTestable |
TapInputMode.getValidTapHitTestable()
Gets a hit test that determines where this mode should recognize taps.
|
Modifier and Type | Method and Description |
---|---|
void |
CreateEdgeInputMode.setBeginHitTestable(IHitTestable value)
Sets a
IHitTestable that determines, whether it is valid to start an edge creation gesture here. |
void |
CreateBendInputMode.setBeginHitTestable(IHitTestable value)
Sets the
IHitTestable that determines where bends may be created. |
void |
CreateEdgeInputMode.setEndHitTestable(IHitTestable value)
Sets a
IHitTestable that determines, whether it is valid to finish an edge creation gesture here. |
void |
MoveInputMode.setHitTestable(IHitTestable value)
Sets the
IHitTestable that will be used by this mode to determine where the user may start dragging. |
void |
CreateEdgeInputMode.setValidBendHitTestable(IHitTestable value)
Sets a
IHitTestable that determines, whether it is valid to create a bend here. |
void |
ClickInputMode.setValidClickHitTestable(IHitTestable value)
Sets a hit test that determines where this mode should recognize clicks.
|
void |
DropInputMode.setValidDropHitTestable(IHitTestable value)
Sets the
IHitTestable that determines whether the given location is a valid drop location. |
void |
MouseHoverInputMode.setValidHoverLocationHitTestable(IHitTestable value)
Sets an
IHitTestable that determines where the mouse may hover and a tool tip can be
shown . |
void |
AbstractContextMenuInputMode.setValidMenuLocationHitTestable(IHitTestable value)
Sets an
IHitTestable that determines whether it is valid to open a context menu at the queried position. |
void |
TapInputMode.setValidTapHitTestable(IHitTestable value)
Sets a hit test that determines where this mode should recognize taps.
|