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.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 | Method and Description |
---|---|
GraphItemTypes |
GraphClipboard.getCopyItems()
Gets the type of items that can be copied and pasted at all using the clipboard.
|
GraphItemTypes |
GraphClipboard.getDependentCopyItems()
Gets the type of items that depend on other elements but should automatically be copied implicitly to the clipboard if
all elements that it depends on are explicitly selected for copying.
|
GraphItemTypes |
GraphClipboard.getIndependentCopyItems()
Gets the type of items that can be copied and pasted independently of their owning element.
|
InsetsD |
Table.getInsets() |
InsetsD |
StripeDefaults.getInsets()
Gets the default insets for a stripe.
|
InsetsD |
ITable.getInsets()
Gets the insets for this table.
|
double |
StripeDefaults.getMinimumSize()
Gets the default minimum stripe size.
|
GraphClipboard.ParentNodeDetectionModes |
GraphClipboard.getParentNodeDetection()
Gets whether or not nodes should be automatically put into a group node and if so how this group will be determined.
|
PointD |
Table.getRelativeLocation() |
PointD |
ITable.getRelativeLocation()
Gets the relative location of the upper left corner of the table.
|
double |
StripeDefaults.getSize()
Gets the default stripe size.
|
boolean |
PortDefaults.isAutoCleanupEnabled() |
boolean |
PortDefaults.isLocationParameterInstanceSharingEnabled() |
boolean |
StripeDefaults.isStyleInstanceSharingEnabled() |
boolean |
PortDefaults.isStyleInstanceSharingEnabled() |
boolean |
NodeDefaults.isStyleInstanceSharingEnabled() |
boolean |
EdgeDefaults.isStyleInstanceSharingEnabled() |
boolean |
DefaultGraph.isUndoEngineEnabled()
Gets whether or not the
UndoEngine used for this instance should be enabled. |
void |
PortDefaults.setAutoCleanupEnabled(boolean value) |
void |
GraphClipboard.setCopyItems(GraphItemTypes value)
Sets the type of items that can be copied and pasted at all using the clipboard.
|
void |
GraphClipboard.setDependentCopyItems(GraphItemTypes value)
Sets the type of items that depend on other elements but should automatically be copied implicitly to the clipboard if
all elements that it depends on are explicitly selected for copying.
|
void |
GraphClipboard.setIndependentCopyItems(GraphItemTypes value)
Sets the type of items that can be copied and pasted independently of their owning element.
|
void |
Table.setInsets(InsetsD value) |
void |
StripeDefaults.setInsets(InsetsD value)
Sets the default insets for a stripe.
|
void |
ITable.setInsets(InsetsD value)
Sets the insets for this table.
|
void |
PortDefaults.setLocationParameterInstanceSharingEnabled(boolean value) |
void |
StripeDefaults.setMinimumSize(double value)
Sets the default minimum stripe size.
|
void |
GraphClipboard.setParentNodeDetection(GraphClipboard.ParentNodeDetectionModes value)
Sets whether or not nodes should be automatically put into a group node and if so how this group will be determined.
|
void |
Table.setRelativeLocation(PointD value) |
void |
ITable.setRelativeLocation(PointD value)
Sets the relative location of the upper left corner of the table.
|
void |
StripeDefaults.setSize(double value)
Sets the default stripe size.
|
void |
StripeDefaults.setStyleInstanceSharingEnabled(boolean value) |
void |
PortDefaults.setStyleInstanceSharingEnabled(boolean value) |
void |
NodeDefaults.setStyleInstanceSharingEnabled(boolean value) |
void |
EdgeDefaults.setStyleInstanceSharingEnabled(boolean value) |
void |
DefaultGraph.setUndoEngineEnabled(boolean value)
Sets whether or not the
UndoEngine used for this instance should be enabled. |
Modifier and Type | Method and Description |
---|---|
double |
SmartEdgeLabelModel.getAngle()
Gets the rotation angle of all labels with this model.
|
double |
NinePositionsEdgeLabelModel.getAngle()
Gets the angle for the rotation of the labels.
|
double |
EdgeSegmentLabelModel.getAngle()
Gets the rotation angle of all labels with this model in radians.
|
double |
EdgePathLabelModel.getAngle()
Gets the rotation angle of all labels with this model in radians.
|
double |
NinePositionsEdgeLabelModel.getDistance()
Gets the distance of the labels above or below the edge.
|
double |
EdgeSegmentLabelModel.getDistance()
Gets the distance between the label box and the edge path.
|
double |
EdgePathLabelModel.getDistance()
Gets the distance between the label box and the edge path.
|
double |
LabelCandidateDescriptor.getEdgeOverlapPenalty() |
InsetsD |
StretchStripeLabelModel.getInsets()
Gets the insets to use within the stripe's
Layout . |
InsetsD |
InteriorStretchLabelModel.getInsets()
Gets the insets to use within the node's
Layout . |
InsetsD |
InteriorLabelModel.getInsets()
Gets the insets to use within the node's
Layout . |
InsetsD |
ExteriorLabelModel.getInsets()
Gets the insets to use by this model.
|
double |
LabelCandidateDescriptor.getNodeOverlapPenalty() |
double |
EdgeSegmentLabelModel.getOffset()
Gets the offset of the label box and the edge path relative to the default placement.
|
double |
EdgePathLabelModel.getOffset()
Gets pr sets the offset of the label box and the edge path relative to the default placement.
|
double |
LabelCandidateDescriptor.getProfit() |
double |
StripeLabelModel.getRatio()
Gets the ratio how far the label should be positioned from the border in the header area.
|
EdgeSides |
EdgeSegmentLabelModel.getSideOfEdge()
Gets the side placement specifiers for edge labels.
|
EdgeSides |
EdgePathLabelModel.getSideOfEdge()
Gets the side placement specifiers for edge labels.
|
double |
SandwichLabelModel.getYOffset()
|
boolean |
SmartEdgeLabelModel.isAutoRotationEnabled()
Gets whether or not edge labels are automatically rotated according to the angle of the corresponding reference edge
segment.
|
boolean |
EdgeSegmentLabelModel.isAutoRotationEnabled()
Gets whether edge labels are automatically rotated according to the angle of the corresponding reference edge segment.
|
boolean |
EdgePathLabelModel.isAutoRotationEnabled()
Gets whether edge labels are automatically rotated according to the angle of the corresponding reference edge segment.
|
boolean |
FreeEdgeLabelModel.isRelativeAngleEnabled()
Gets a property that indicates whether the angle used by the
parameter
should be interpreted relative to the edge's orientation or as an absolute angle in the coordinate system. |
boolean |
StripeLabelModel.isUsingActualInsetsEnabled()
Gets a value indicating whether to use the
actual insets or the normal Insets
of a stripe for centering the label inside the stripe header area. |
boolean |
StretchStripeLabelModel.isUsingActualInsetsEnabled()
Gets whether or not to use the
actual insets or the normal Insets
of a stripe for centering the label inside the stripe header area. |
void |
SmartEdgeLabelModel.setAngle(double value)
Sets the rotation angle of all labels with this model.
|
void |
NinePositionsEdgeLabelModel.setAngle(double value)
Sets the angle for the rotation of the labels.
|
void |
EdgeSegmentLabelModel.setAngle(double value)
Sets the rotation angle of all labels with this model in radians.
|
void |
EdgePathLabelModel.setAngle(double value)
Sets the rotation angle of all labels with this model in radians.
|
void |
SmartEdgeLabelModel.setAutoRotationEnabled(boolean value)
Sets whether or not edge labels are automatically rotated according to the angle of the corresponding reference edge
segment.
|
void |
EdgeSegmentLabelModel.setAutoRotationEnabled(boolean value)
Sets whether edge labels are automatically rotated according to the angle of the corresponding reference edge segment.
|
void |
EdgePathLabelModel.setAutoRotationEnabled(boolean value)
Sets whether edge labels are automatically rotated according to the angle of the corresponding reference edge segment.
|
void |
NinePositionsEdgeLabelModel.setDistance(double value)
Sets the distance of the labels above or below the edge.
|
void |
EdgeSegmentLabelModel.setDistance(double value)
Sets the distance between the label box and the edge path.
|
void |
EdgePathLabelModel.setDistance(double value)
Sets the distance between the label box and the edge path.
|
void |
LabelCandidateDescriptor.setEdgeOverlapPenalty(double value)
Sets a penalty value that is used by labeling algorithms to judge the severity if this candidate overlaps with an edge
path.
|
void |
StretchStripeLabelModel.setInsets(InsetsD value)
Sets the insets to use within the stripe's
Layout . |
void |
InteriorStretchLabelModel.setInsets(InsetsD value)
Sets the insets to use within the node's
Layout . |
void |
InteriorLabelModel.setInsets(InsetsD value)
Sets the insets to use within the node's
Layout . |
void |
ExteriorLabelModel.setInsets(InsetsD value)
Sets the insets to use by this model.
|
void |
LabelCandidateDescriptor.setNodeOverlapPenalty(double value)
Sets a penalty value that is used by labeling algorithms to judge the severity if this label candidate overlaps with a
node's bounds.
|
void |
EdgeSegmentLabelModel.setOffset(double value)
Sets the offset of the label box and the edge path relative to the default placement.
|
void |
EdgePathLabelModel.setOffset(double value)
Sets pr sets the offset of the label box and the edge path relative to the default placement.
|
void |
LabelCandidateDescriptor.setProfit(double value)
Sets a profit value that is used by labeling algorithms to judge how good this label candidate is.
|
void |
StripeLabelModel.setRatio(double value)
Sets the ratio how far the label should be positioned from the border in the header area.
|
void |
FreeEdgeLabelModel.setRelativeAngleEnabled(boolean value)
Sets a property that indicates whether the angle used by the
parameter
should be interpreted relative to the edge's orientation or as an absolute angle in the coordinate system. |
void |
EdgeSegmentLabelModel.setSideOfEdge(EdgeSides value)
Sets the side placement specifiers for edge labels.
|
void |
EdgePathLabelModel.setSideOfEdge(EdgeSides value)
Sets the side placement specifiers for edge labels.
|
void |
StripeLabelModel.setUsingActualInsetsEnabled(boolean value)
Sets a value indicating whether to use the
actual insets or the normal Insets
of a stripe for centering the label inside the stripe header area. |
void |
StretchStripeLabelModel.setUsingActualInsetsEnabled(boolean value)
Sets whether or not to use the
actual insets or the normal Insets
of a stripe for centering the label inside the stripe header area. |
void |
SandwichLabelModel.setYOffset(double value)
|
Modifier and Type | Method and Description |
---|---|
Paint |
DefaultLabelStyle.getBackgroundPaint()
Gets the brush to use for the background box of the label.
|
Pen |
DefaultLabelStyle.getBackgroundPen()
Gets the pen to use for the background box of the label.
|
INodeStyle |
TableNodeStyle.getBackgroundStyle()
Gets the style that is used to draw the background of the table.
|
ILabelModelParameter |
CollapsibleNodeStyleDecorator.getButtonPlacement()
Gets an
ILabelModelParameter that determines the placement of the button for toggling the expanded state. |
Color |
PanelNodeStyle.getColor()
Gets the base color to use.
|
Color |
BevelNodeStyle.getColor()
Gets the base color to use.
|
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. |
double |
Arrow.getCropLength()
Gets the cropping length associated with this instance.
|
NodeOrientation |
DefaultLabelStyle.getFlowDirection()
Gets the flow direction.
|
Font |
DefaultLabelStyle.getFont()
Gets the typeface to use for the label.
|
FontSmoothingType |
DefaultLabelStyle.getFontSmoothingType()
Returns the smoothing type for the Font that is used for the text.
|
double |
ArcEdgeStyle.getHeight()
Gets the "height" of the arc.
|
InsetsD |
MemoryIconLabelStyle.getInnerStyleInsets()
Gets the insets that should be applied for the
layout of the inner style
rendering. |
InsetsD |
TemplateNodeStyle.getInsets()
Gets the insets the
INodeInsetsProvider implementation for INode should
yield for this instance. |
InsetsD |
ShinyPlateNodeStyle.getInsets()
Gets the instance to use that provides the insets for this style.
|
InsetsD |
PanelNodeStyle.getInsets()
Gets the instance to use that provides the insets for this style.
|
InsetsD |
DefaultLabelStyle.getInsets()
Gets the insets for this label.
|
InsetsD |
CollapsibleNodeStyleDecorator.getInsets()
Gets the insets to use for the
INodeInsetsProvider that will be reported by the
CollapsibleNodeStyleDecoratorRenderer 's ILookup . |
Color |
PanelNodeStyle.getLabelInsetsColor()
Gets the base color to use for drawing the label insets background.
|
InsetsD |
NodeStyleLabelStyleAdapter.getLabelStyleInsets()
Gets the insets to apply for the
LabelStyle as margins. |
double |
DefaultLabelStyle.getLineSpacing()
Returns the value for the lineSpacing property of the JavaFX text.
|
SizeD |
TemplateNodeStyle.getMinimumSize()
Gets the minimum size an
INodeSizeConstraintProvider implementation for INode
should yield. |
GeneralPath |
TemplatePortStyle.getNormalizedOutline()
Gets the normalized outline of a port that will be displayed using the
created control . |
GeneralPath |
TemplateNodeStyle.getNormalizedOutline()
Gets the normalized outline of a node that will be displayed using the
created control . |
GeneralPath |
TemplateLabelStyle.getNormalizedOutline()
Gets the normalized outline of a label that will be displayed using the
created control . |
GeneralPath |
MemoryImageNodeStyle.getNormalizedOutline()
Gets the normalized outline of the image that will be displayed.
|
GeneralPath |
ImageNodeStyle.getNormalizedOutline()
Gets the
Shape of the outline of the image that will be displayed. |
Paint |
ShapeNodeStyle.getPaint()
Gets the
Paint for this style. |
Paint |
GeneralPathNodeStyle.getPaint()
Gets the
Paint that is used to draw the shape. |
Paint |
Arrow.getPaint()
Gets the
Paint of the fill of this arrow. |
Pen |
ShinyPlateNodeStyle.getPen()
Gets the pen to use for the outline.
|
Pen |
ShapeNodeStyle.getPen()
Gets the
Pen for this style. |
Pen |
PolylineEdgeStyle.getPen()
Gets the
Pen for the line. |
Pen |
GeneralPathNodeStyle.getPen()
Gets the
Pen that is used to draw the shape. |
Pen |
Arrow.getPen()
Gets the
Pen of the outline of this arrow. |
Pen |
ArcEdgeStyle.getPen()
Gets the
Pen that is used to draw the arc. |
double |
ShinyPlateNodeStyle.getRadius()
Gets the corner radius of the rounded rectangle.
|
SizeD |
TemplatePortStyle.getRenderSize()
Gets the
SizeD of a port that will be displayed using the
created control . |
SizeD |
NodeStylePortStyleAdapter.getRenderSize()
Gets the
MutableSize of the port that will be displayed using
NodeStyle . |
double |
Arrow.getScale()
Gets the scale factor of this arrow.
|
ShapeNodeShape |
ShapeNodeStyle.getShape()
Gets the shape for this style.
|
double |
PolylineEdgeStyle.getSmoothingLength()
Gets the smoothing length used for creating smooth bends.
|
IArrow |
PolylineEdgeStyle.getSourceArrow()
Gets the visual arrow at the source end of edges that use this style.
|
IArrow |
ArcEdgeStyle.getSourceArrow()
Gets the visual arrow at the source end of edges that use this style.
|
String |
TemplateStripeStyle.getStyleResourceKey()
|
String |
TemplatePortStyle.getStyleResourceKey()
|
String |
TemplateNodeStyle.getStyleResourceKey()
|
String |
TemplateLabelStyle.getStyleResourceKey()
|
Object |
AbstractTemplateStyle.getStyleTag()
Gets the tag that is associated with this style instance.
|
TableRenderingOrder |
TableNodeStyle.getTableRenderingOrder()
Gets the order in which rows and columns are rendered.
|
IArrow |
PolylineEdgeStyle.getTargetArrow()
Gets the visual arrow at the target end of edges that use this style.
|
IArrow |
ArcEdgeStyle.getTargetArrow()
Gets the visual arrow at the target end of edges that use this style.
|
TextAlignment |
DefaultLabelStyle.getTextAlignment()
Gets the text alignment.
|
Paint |
DefaultLabelStyle.getTextPaint()
Gets the brush to use for the label's text.
|
TextWrapping |
DefaultLabelStyle.getTextWrapping()
Gets the text wrapping mode.
|
ArrowType |
Arrow.getType()
Gets the type of this arrow.
|
VPos |
DefaultLabelStyle.getVerticalTextAlignment()
Gets the vertical text alignment to use if the label is assigned more space than needed.
|
InsetsD |
IconLabelStyle.getWrappedInsets()
Gets the insets that should be applied for the
layout of the wrapped style
rendering. |
boolean |
TemplateLabelStyle.isAutoFlippingEnabled()
Gets a value indicating whether the rendering should automatically be flipped (rotated by 180 degrees) if otherwise it
would be rendered upside-down.
|
boolean |
NodeStyleLabelStyleAdapter.isAutoFlippingEnabled()
Gets a value indicating whether the label should be flipped 180 degrees automatically, if it would be oriented
downwards, otherwise.
|
boolean |
MemoryIconLabelStyle.isAutoFlippingEnabled()
|
boolean |
IconLabelStyle.isAutoFlippingEnabled()
|
boolean |
DefaultLabelStyle.isAutoFlippingEnabled()
Gets a value indicating whether the label should be flipped 180 degrees automatically, if it would be oriented
downwards, otherwise.
|
boolean |
ArcEdgeStyle.isFixedHeightEnabled()
Gets a value indicating whether this
ArcEdgeStyle interprets the Height value as an
absolute or relative value. |
boolean |
ArcEdgeStyle.isHeightHandleProviderEnabled()
Gets a value indicating whether the
ArcEdgeStyleRenderer should provide an IHandle
if queried for the IHandleProvider implementation that allows for adjusting the Height
of this instance. |
boolean |
BevelNodeStyleRenderer.isRadiusHandleProviderEnabled()
Gets a property that determines whether this instance should provide an
IHandle for editing the radius of the
shape. |
boolean |
ShinyPlateNodeStyle.isShadowDrawingEnabled()
Gets a value indicating whether to draw a drop shadow.
|
boolean |
BevelNodeStyle.isShadowDrawingEnabled()
Gets a value indicating whether to draw a drop shadow.
|
boolean |
DefaultLabelStyle.isStrikethrough()
Indicates whether or not each line of text should have a line through it.
|
boolean |
DefaultLabelStyle.isTextClippingEnabled()
Gets a value that determines whether text should be clipped.
|
boolean |
DefaultLabelStyle.isUnderline()
Indicates whether or not the text is underlined.
|
void |
TemplateLabelStyle.setAutoFlippingEnabled(boolean value)
Sets a value indicating whether the rendering should automatically be flipped (rotated by 180 degrees) if otherwise it
would be rendered upside-down.
|
void |
NodeStyleLabelStyleAdapter.setAutoFlippingEnabled(boolean value)
Sets a value indicating whether the label should be flipped 180 degrees automatically, if it would be oriented
downwards, otherwise.
|
void |
MemoryIconLabelStyle.setAutoFlippingEnabled(boolean value)
|
void |
IconLabelStyle.setAutoFlippingEnabled(boolean value)
|
void |
DefaultLabelStyle.setAutoFlippingEnabled(boolean value)
Sets a value indicating whether the label should be flipped 180 degrees automatically, if it would be oriented
downwards, otherwise.
|
void |
DefaultLabelStyle.setBackgroundPaint(Paint value)
Sets the brush to use for the background box of the label.
|
void |
DefaultLabelStyle.setBackgroundPen(Pen value)
Sets the pen to use for the background box of the label.
|
void |
TableNodeStyle.setBackgroundStyle(INodeStyle value)
Sets the style that is used to draw the background of the table.
|
void |
CollapsibleNodeStyleDecorator.setButtonPlacement(ILabelModelParameter value)
Sets an
ILabelModelParameter that determines the placement of the button for toggling the expanded state. |
void |
PanelNodeStyle.setColor(Color value)
Sets the base color to use.
|
void |
BevelNodeStyle.setColor(Color value)
Sets the base color to use.
|
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. |
void |
Arrow.setCropLength(double value)
Sets the cropping length associated with this instance.
|
void |
ArcEdgeStyle.setFixedHeightEnabled(boolean value)
Sets a value indicating whether this
ArcEdgeStyle interprets the Height value as an
absolute or relative value. |
void |
DefaultLabelStyle.setFlowDirection(NodeOrientation value)
Sets the flow direction.
|
void |
ArcEdgeStyle.setHeight(double value)
Sets the "height" of the arc.
|
void |
ArcEdgeStyle.setHeightHandleProviderEnabled(boolean value)
Sets a value indicating whether the
ArcEdgeStyleRenderer should provide an IHandle
if queried for the IHandleProvider implementation that allows for adjusting the Height
of this instance. |
void |
MemoryIconLabelStyle.setInnerStyleInsets(InsetsD value)
Sets the insets that should be applied for the
layout of the inner style
rendering. |
void |
TemplateNodeStyle.setInsets(InsetsD value)
Sets the insets the
INodeInsetsProvider implementation for INode should
yield for this instance. |
void |
ShinyPlateNodeStyle.setInsets(InsetsD value)
Sets the instance to use that provides the insets for this style.
|
void |
PanelNodeStyle.setInsets(InsetsD value)
Sets the instance to use that provides the insets for this style.
|
void |
DefaultLabelStyle.setInsets(InsetsD insets)
Sets the insets for this label.
|
void |
CollapsibleNodeStyleDecorator.setInsets(InsetsD value)
Sets the insets to use for the
INodeInsetsProvider that will be reported by the
CollapsibleNodeStyleDecoratorRenderer 's ILookup . |
void |
PanelNodeStyle.setLabelInsetsColor(Color value)
Sets the base color to use for drawing the label insets background.
|
void |
NodeStyleLabelStyleAdapter.setLabelStyleInsets(InsetsD value)
Sets the insets to apply for the
LabelStyle as margins. |
void |
TemplateNodeStyle.setMinimumSize(SizeD value)
Sets the minimum size an
INodeSizeConstraintProvider implementation for INode
should yield. |
void |
TemplatePortStyle.setNormalizedOutline(GeneralPath value)
Sets the normalized outline of a port that will be displayed using the
created control . |
void |
TemplateNodeStyle.setNormalizedOutline(GeneralPath value)
Sets the normalized outline of a node that will be displayed using the
created control . |
void |
TemplateLabelStyle.setNormalizedOutline(GeneralPath value)
Sets the normalized outline of a label that will be displayed using the
created control . |
void |
MemoryImageNodeStyle.setNormalizedOutline(GeneralPath value)
Sets the normalized outline of the image that will be displayed.
|
void |
ImageNodeStyle.setNormalizedOutline(GeneralPath value)
Sets the normalized outline of the image that will be displayed.
|
void |
ShapeNodeStyle.setPaint(Paint value)
Sets the
Paint for this style. |
void |
GeneralPathNodeStyle.setPaint(Paint value)
Sets the
Paint that is used to draw the shape. |
void |
Arrow.setPaint(Paint value)
Sets the
Paint of the fill of this arrow. |
void |
ShinyPlateNodeStyle.setPen(Pen value)
Sets the pen to use for the outline.
|
void |
ShapeNodeStyle.setPen(Pen value)
Sets the
Pen for this style. |
void |
PolylineEdgeStyle.setPen(Pen value)
Sets the
Pen for the line. |
void |
GeneralPathNodeStyle.setPen(Pen value)
Sets the
Pen that is used to draw the shape. |
void |
Arrow.setPen(Pen value)
Sets the
Pen of the outline of this arrow. |
void |
ArcEdgeStyle.setPen(Pen value)
Sets the
Pen that is used to draw the arc. |
void |
ShinyPlateNodeStyle.setRadius(double value)
Sets the corner radius of the rounded rectangle.
|
void |
BevelNodeStyleRenderer.setRadiusHandleProviderEnabled(boolean value)
Sets a property that determines whether this instance should provide an
IHandle for editing the radius of the
shape. |
void |
TemplatePortStyle.setRenderSize(SizeD value)
Sets the
SizeD of a port that will be displayed using the
created control . |
void |
NodeStylePortStyleAdapter.setRenderSize(SizeD value)
Sets the
MutableSize of the port that will be displayed using
NodeStyle . |
void |
Arrow.setScale(double value)
Sets the scale factor of this arrow.
|
void |
ShinyPlateNodeStyle.setShadowDrawingEnabled(boolean value)
Sets a value indicating whether to draw a drop shadow.
|
void |
BevelNodeStyle.setShadowDrawingEnabled(boolean value)
Sets a value indicating whether to draw a drop shadow.
|
void |
ShapeNodeStyle.setShape(ShapeNodeShape value)
Sets the shape for this style.
|
void |
PolylineEdgeStyle.setSmoothingLength(double value)
Sets the smoothing length used for creating smooth bends.
|
void |
PolylineEdgeStyle.setSourceArrow(IArrow value)
Sets the visual arrow at the source end of edges that use this style.
|
void |
ArcEdgeStyle.setSourceArrow(IArrow value)
Sets the visual arrow at the source end of edges that use this style.
|
void |
TemplateStripeStyle.setStyleResourceKey(String value)
|
void |
TemplatePortStyle.setStyleResourceKey(String value)
|
void |
TemplateNodeStyle.setStyleResourceKey(String value)
|
void |
TemplateLabelStyle.setStyleResourceKey(String value)
|
void |
AbstractTemplateStyle.setStyleTag(Object value)
Sets the tag that is associated with this style instance.
|
void |
TableNodeStyle.setTableRenderingOrder(TableRenderingOrder value)
Sets the order in which rows and columns are rendered.
|
void |
PolylineEdgeStyle.setTargetArrow(IArrow value)
Sets the visual arrow at the target end of edges that use this style.
|
void |
ArcEdgeStyle.setTargetArrow(IArrow value)
Sets the visual arrow at the target end of edges that use this style.
|
void |
DefaultLabelStyle.setTextAlignment(TextAlignment value)
Sets the text alignment.
|
void |
DefaultLabelStyle.setTextClippingEnabled(boolean value)
Sets a value that determines whether text should be clipped.
|
void |
DefaultLabelStyle.setTextPaint(Paint value)
Sets the brush to use for the label's text.
|
void |
DefaultLabelStyle.setTextWrapping(TextWrapping value)
Sets the text wrapping mode.
|
void |
Arrow.setType(ArrowType value)
Sets the type of this arrow.
|
void |
DefaultLabelStyle.setVerticalTextAlignment(VPos value)
Sets the vertical text alignment to use if the label is assigned more space than needed.
|
void |
IconLabelStyle.setWrappedInsets(InsetsD value)
Sets the insets that should be applied for the
layout of the wrapped style
rendering. |
Modifier and Type | Method and Description |
---|---|
GraphMLReferenceType |
QueryReferenceIdEventArgs.getReferenceType()
Determines the type of the reference being queried.
|
boolean |
AbstractOutputHandler.isKeyDefaultWritingEnabled()
Gets a value indicating whether to write the key default.
|
void |
AbstractOutputHandler.setKeyDefaultWritingEnabled(boolean value)
Sets a value indicating whether to write the key default.
|
void |
QueryReferenceIdEventArgs.setReferenceType(GraphMLReferenceType value)
Determines the type of the reference being queried.
|
Modifier and Type | Method and Description |
---|---|
InsetsD |
CanvasControl.getAutoDragInsets()
Gets the auto drag insets.
|
RectD |
CanvasControl.getContentRect()
Gets the Rectangle in world coordinates that holds the contents.
|
DashStyle |
Pen.getDashStyle()
Gets the dash style for the pen.
|
InsetsD |
CanvasControl.getFitContentViewMargins()
Gets the insets in view coordinates that should be used by the
CanvasControl.fitContent() operation. |
GridStyle |
GridVisualCreator.getGridStyle()
Gets the grid style that this implementation uses.
|
double |
CanvasControl.getHitTestRadius()
Specifies the radius of the area around the mouse in view coordinates in which a
IHitTestable
may lie to be considered a valid hit. |
ScrollPane.ScrollBarPolicy |
CanvasControl.getHorizontalScrollBarPolicy()
Specifies the visibility policy for the vertical scrollbar.
|
double |
GridInfo.getHorizontalSpacing()
Gets the horizontal spacing between grid points in the world coordinate system.
|
IInputMode |
CanvasControl.getInputMode()
Specifies the single
IInputMode instance that shall be installed for this canvas. |
StrokeLineCap |
Pen.getLineCap()
Gets the line cap for the end of the line.
|
StrokeLineJoin |
Pen.getLineJoin()
Gets the line join property.
|
double |
CanvasControl.getMaximumZoom()
Gets the maximum zoom level that is valid for
Zoom . |
double |
CanvasControl.getMinimumZoom()
Gets the minimum zoom factor for this canvas control.
|
double |
Pen.getMiterLimit()
Gets the miter limit.
|
MouseWheelBehaviors |
CanvasControl.getMouseWheelBehavior()
Determines the behavior of the mouse wheel.
|
double |
CanvasControl.getMouseWheelScrollFactor()
Gets a factor that controls how fast the viewport scrolls when the mouse wheel is turned.
|
double |
CanvasControl.getMouseWheelZoomFactor()
Gets the factor by which the zoom level changes when the mouse wheel is turned.
|
PointD |
GridInfo.getOrigin()
Gets the canonic origin of the grid.
|
Paint |
Pen.getPaint()
Gets the brush for the pen.
|
ScrollPane.ScrollBarPolicy |
ViewportAnimation.getScrollBarVisibility()
Gets the scroll bar visibility that will be used during the animation.
|
ShowFocusPolicy |
FocusIndicatorManager.getShowFocusPolicy()
Gets the show focus policy.
|
StrokeType |
Pen.getStrokeType()
Gets the line cap for the start of the line.
|
InsetsD |
ViewportAnimation.getTargetViewMargins()
Gets the margins in view coordinate dimensions to use at the target zoom level.
|
double |
Pen.getThickness()
Gets the thickness of the stroke.
|
ScrollPane.ScrollBarPolicy |
CanvasControl.getVerticalScrollBarPolicy()
Specifies the visibility policy for the vertical scrollbar.
|
double |
GridInfo.getVerticalSpacing()
Gets the vertical spacing between grid points in the world coordinate system.
|
PointD |
CanvasControl.getViewPoint()
Gets the current view point.
|
double |
GridVisualCreator.getVisibilityThreshold()
Gets the visibility threshold.
|
double |
CanvasControl.getZoom()
Gets the zoom factor for this
CanvasControl . |
boolean |
CanvasControl.isAutoDragEnabled()
Gets a property that causes the control to automatically pan the view when the mouse gets dragged outside of the bounds
of the control.
|
boolean |
CanvasControl.isEditable()
Property that sets the editable state of this canvas.
|
boolean |
GraphControl.isFileIOEnabled()
Gets a value indicating whether integrated handling of commands for
ICommand.OPEN /ICommand.SAVE /ICommand.SAVE_AS
is enabled. |
boolean |
ViewportLimiter.isHonoringBothDimensionsEnabled()
Gets a value indicating whether both dimensions of
Bounds need to be honored. |
boolean |
CanvasControl.isNavigationCommandsEnabled()
Gets a value indicating whether navigation related command bindings are enabled.
|
boolean |
CanvasControl.isScrollCommandAnimationEnabled()
Gets a value indicating whether
ICommand s for scrolling like for example
ICommand.SCROLL_PAGE_DOWN , the scrolling should be performed in animated fashion. |
boolean |
GridVisualCreator.isVisible()
Gets a value indicating whether this
GridVisualCreator is visible. |
boolean |
CanvasControl.isZoomAnimationEnabled()
Gets a value indicating whether zooming operations (e.g. turning the mouse wheel, executing
ICommand.ZOOM etc.) should be performed in animated fashion. |
void |
CanvasControl.setAutoDragEnabled(boolean value)
Sets a property that causes the control to automatically pan the view when the mouse gets dragged outside of the bounds
of the control.
|
void |
CanvasControl.setAutoDragInsets(InsetsD value)
Sets the auto drag insets.
|
void |
CanvasControl.setContentRect(RectD value)
Sets the Rectangle in world coordinates that holds the contents.
|
void |
Pen.setDashStyle(DashStyle value)
Sets the dash style for the pen.
|
void |
CanvasControl.setEditable(boolean value)
Property that sets the editable state of this canvas.
|
void |
GraphControl.setFileIOEnabled(boolean value)
Sets a value indicating whether integrated handling of commands for
ICommand.OPEN /ICommand.SAVE /ICommand.SAVE_AS
is enabled. |
void |
CanvasControl.setFitContentViewMargins(InsetsD value)
Sets the insets in view coordinates that should be used by the
CanvasControl.fitContent() operation. |
void |
GridVisualCreator.setGridStyle(GridStyle value)
Sets the grid style that this implementation uses.
|
void |
CanvasControl.setHitTestRadius(double value)
Specifies the radius of the area around the mouse in view coordinates in which a
IHitTestable
may lie to be considered a valid hit. |
void |
ViewportLimiter.setHonoringBothDimensionsEnabled(boolean value)
Sets a value indicating whether both dimensions of
Bounds need to be honored. |
void |
CanvasControl.setHorizontalScrollBarPolicy(ScrollPane.ScrollBarPolicy value)
Specifies the visibility policy for the vertical scrollbar.
|
void |
GridInfo.setHorizontalSpacing(double value)
Sets the horizontal spacing between grid points in the world coordinate system.
|
void |
CanvasControl.setInputMode(IInputMode value)
Sets the single
IInputMode instance that shall be installed for this canvas. |
void |
Pen.setLineCap(StrokeLineCap value)
Sets the line cap for the end of the line.
|
void |
Pen.setLineJoin(StrokeLineJoin value)
Sets the line join property.
|
void |
CanvasControl.setMaximumZoom(double value)
Sets the maximum zoom level that is valid for
Zoom . |
void |
CanvasControl.setMinimumZoom(double value)
Sets the minimum zoom factor for this
CanvasControl . |
void |
Pen.setMiterLimit(double value)
Sets the miter limit.
|
void |
CanvasControl.setMouseWheelBehavior(MouseWheelBehaviors value)
Determines the behavior of the mouse wheel.
|
void |
CanvasControl.setMouseWheelScrollFactor(double value)
Sets a factor that controls how fast the viewport scrolls when the mouse wheel is turned.
|
void |
CanvasControl.setMouseWheelZoomFactor(double value)
Sets the factor by which the zoom level changes when the mouse wheel is turned.
|
void |
CanvasControl.setNavigationCommandsEnabled(boolean value)
Sets a value indicating whether navigation related command bindings are enabled.
|
void |
GridInfo.setOrigin(PointD value)
Sets the canonic origin of the grid.
|
void |
Pen.setPaint(Paint value)
Sets the brush for the pen.
|
void |
ViewportAnimation.setScrollBarVisibility(ScrollPane.ScrollBarPolicy value)
Sets the scroll bar visibility that will be used during the animation.
|
void |
CanvasControl.setScrollCommandAnimationEnabled(boolean value)
Sets a value indicating whether
ICommand s for scrolling like for example
ICommand.SCROLL_PAGE_DOWN , the scrolling should be performed in animated fashion. |
void |
FocusIndicatorManager.setShowFocusPolicy(ShowFocusPolicy value)
Sets the show focus policy.
|
void |
Pen.setStrokeType(StrokeType value)
Sets the stroke type for the line.
|
void |
ViewportAnimation.setTargetViewMargins(InsetsD value)
Sets the margins in view coordinate dimensions to use at the target zoom level.
|
void |
Pen.setThickness(double value)
Sets the thickness of the stroke.
|
void |
CanvasControl.setVerticalScrollBarPolicy(ScrollPane.ScrollBarPolicy value)
Specifies the visibility policy for the vertical scrollbar.
|
void |
GridInfo.setVerticalSpacing(double value)
Sets the vertical spacing between grid points in the world coordinate system.
|
void |
CanvasControl.setViewPoint(PointD value)
Sets the current view point.
|
void |
GridVisualCreator.setVisibilityThreshold(double value)
Sets the visibility threshold.
|
void |
GridVisualCreator.setVisible(boolean value)
Sets a value indicating whether this
GridVisualCreator is visible. |
void |
CanvasControl.setZoom(double value)
Sets the zoom factor for this
CanvasControl . |
void |
CanvasControl.setZoomAnimationEnabled(boolean value)
Sets a value indicating whether zooming operations (e.g. turning the mouse wheel, executing
ICommand.ZOOM etc.) should be performed in animated fashion. |
Modifier and Type | Method and Description |
---|---|
MouseButtons |
ClickInputMode.getActiveButtons()
Determines for which button(s) mouse clicks should be processed.
|
AdjustContentRectPolicy |
GraphEditorInputMode.getAdjustContentRectPolicy()
Gets a property that determines whether this instance should automatically adjust the
ContentRect
if the graph changes. |
NodeAlignmentPolicy |
NavigationInputMode.getAutoGroupNodeAlignmentPolicy()
Gets the the location that should be kept fixed if toggling a group node state.
|
Object |
DefaultPortCandidate.getCandidateTag()
Gets the tag for this candidate.
|
StripeSubregionTypes |
TableEditorInputMode.getClickSelectableRegions()
Gets clicks on which
StripeSubregionTypes (s) should toggle a stripe selection state. |
Cursor |
MultiplexingInputMode.getDefaultCursor()
Gets the cursor to use whenever no child mode prefers a different cursor.
|
DoubleClickPolicy |
ClickInputMode.getDoubleClickPolicy()
Gets the click handling mode that determines the triggering behavior of
Clicked
and DoubleClicked . |
Duration |
MouseHoverInputMode.getDuration()
Gets the duration to show the tool tip.
|
double |
GraphSnapContext.getEdgeToEdgeDistance()
Gets the preferred distance between edges.
|
double |
GraphSnapContext.getGridSnapDistance()
Gets the GridSnapDistance.
|
GridSnapTypes |
GraphSnapContext.getGridSnapType()
Gets the type of the grid snapping that should be performed.
|
InertiaPolicies |
MoveViewportInputMode.getInertia()
Gets the mode that determines when to use inertia when dragging the viewport.
|
double |
MoveViewportInputMode.getInertiaFactor()
Gets the factor that determines how much the recent movement data is taken into account for the calculation of inertia
speed and direction.
|
SnapContext |
GraphEditorInputMode.getLabelSnapContext()
The
LabelSnapContext instance that handles interactive snapping of
ILabel s to their owner during drag operations like movements. |
IPortLocationModel |
DefaultPortCandidate.getModel()
The model that will be used by this instance to determine the new
LocationParameter if
the DefaultPortCandidate.getPortCandidateAt(IInputModeContext, PointD) is called and the Validity is set to
PortCandidateValidity.DYNAMIC . |
double |
CreateEdgeInputMode.getNodeBorderWidthRatio()
Defines the width of a node's border which is taken into account when deciding which way to route the first segment of
an orthogonal edge.
|
double |
GraphSnapContext.getNodeToEdgeDistance()
The preferred distance between node borders and edge segments.
|
double |
GraphSnapContext.getNodeToNodeDistance()
The preferred distance between node borders.
|
OrthogonalEdgeEditingPolicy |
GraphEditorInputMode.getOrthogonalBendRemovalEnabled()
Gets the policy that controls whether removing bends from an orthogonal edge will keep the edge orthogonal.
|
OrthogonalEdgeEditingPolicy |
CreateEdgeInputMode.getOrthogonalEdgeCreationEnabled()
Gets the the policy that controls whether edges will be create orthogonally.
|
OrthogonalEdgeEditingContext |
GraphEditorInputMode.getOrthogonalEdgeEditingContext()
Gets the orthogonal edge editing context.
|
double |
CreateEdgeInputMode.getOrthogonalSnapDistance()
Gets the distance in the view coordinate system that determines how far the mouse should be snapped to a horizontal or
vertical line.
|
PointD |
GraphEditorInputMode.getPasteDelta()
The offset for paste operation if clipboard operations are enabled.
|
GraphItemTypes |
GraphEditorInputMode.getPasteSelectableItems()
Determines which types of items should be selected after
GraphEditorInputMode.paste() or GraphEditorInputMode.duplicateSelection() . |
Object |
DefaultPortCandidate.getPortTag()
Gets the port tag to create the port with.
|
double |
CreateEdgeInputMode.getPreferredMinimalEdgeDistance()
Defines the preferred minimal distance of orthogonal edges.
|
GraphItemTypes |
NavigationInputMode.getSelectableItems()
Gets the types of the items that should be selectable by this instance.
|
SnapContext |
GraphEditorInputMode.getSnapContext()
The
SnapContext instance that handles interactive snapping of elements during drag operations like movements. |
double |
CreateEdgeInputMode.getSnapDistance()
Gets the distance in the view coordinate system that determines how far the mouse should be snapped to a port candidate
if
SnappingToTargetCandidateEnabled is enabled. |
double |
LabelSnapContext.getSnapLineExtension()
Gets the amount by which snap lines that are induced by existing edge segments are being extended.
|
double |
GraphSnapContext.getSnapLineExtension()
Gets the amount by which snap lines that are induced by existing edge segments and node borders are being extended.
|
IPortStyle |
DefaultPortCandidate.getStyle()
Gets the style to use for the newly created port.
|
TapHandlingPolicy |
TapInputMode.getTapHandlingPolicy()
Gets the tap handling policy that determines the triggering behavior of
Tapped
and DoubleTapped . |
PortCandidateValidity |
DefaultPortCandidate.getValidity()
Determines whether this candidate is a valid one depending on the context it has been obtained from.
|
boolean |
TableEditorInputMode.isAddLabelAllowed()
Gets whether the label editor will be automatically invoked if the Shift+F2 key is pressed.
|
boolean |
GraphEditorInputMode.isAdjustGroupNodeSizeAllowed()
Gets a value determining whether the
ICommand.ADJUST_GROUP_NODE_SIZE command should be handled. |
boolean |
TextEditorInputMode.isAutoCommittingOnFocusLostEnabled()
Gets a property that determines whether the text edited should be committed if the focus gets lost or the editing should
be canceled.
|
boolean |
TextEditorInputMode.isAutoFocusingCanvasOnEditorClosedEnabled()
Gets a property that determines whether this mode should try to
Node.requestFocus() the Canvas
once the editor is closed via a keyboard gesture. |
boolean |
OverviewInputMode.isAutoMouseWheelZoomEnabled()
Determines whether the mouse wheel can be used to perform zooming in the
ClientCanvas . |
boolean |
TableEditorInputMode.isAutoRemovingEmptyLabelsEnabled()
Gets a value indicating whether this mode should automatically
remove labels from the
table when a label text has been edited and the label text is empty. |
boolean |
GraphEditorInputMode.isAutoRemovingEmptyLabelsEnabled()
Gets a value indicating whether this mode should automatically
remove labels from the
graph when a label text has been edited and the label text is empty. |
boolean |
GraphEditorInputMode.isAutoSelectingSelfloopBendsEnabled()
Gets a property that determines whether clicking on a node should automatically select all bends of self loops adjacent
to that node.
|
boolean |
TextEditorInputMode.isAutoStartEditingEnabled()
Determines whether this mode should automatically fire up the editor once it gets installed.
|
boolean |
CreateBendInputMode.isBendReusingEnabled()
Gets a property that determines whether this mode should use an existing bend in
CreateBendInputMode.createBend(IEdge, PointD) if
there is one found at the given location. |
boolean |
CreateEdgeInputMode.isCancelingEditImplicitlyEnabled()
Gets whether after calls to
CreateEdgeInputMode.createEdge(IGraph, IPortCandidate, IPortCandidate) the current undo edit should be
canceled if the method returns null . |
boolean |
DropInputMode.isCapturingMouseInputDuringDragEnabled()
Gets a value indicating whether to capture mouse input during drag operations.
|
boolean |
GraphEditorInputMode.isClearSelectionAllowed()
Gets a value determining whether the
ICommand.DESELECT_ALL command should be handled. |
boolean |
LabelSnapContext.isCollectingAllEdgeDistanceSnapLinesEnabled()
Determines whether this instance should collect snap lines in parallel to the edge path of the label owner at the
distance of other edge labels in the graph.
|
boolean |
LabelSnapContext.isCollectingAllNodeDistanceSnapLinesEnabled()
Determines whether this instance should collect snap lines in parallel to the border of the label owner at the distance
of other node labels in the graph.
|
boolean |
LabelSnapContext.isCollectingEdgePathSnapLinesEnabled()
Determines whether this instance should collect snap lines on the edge path.
|
boolean |
GraphSnapContext.isCollectingEdgeSnapLinesEnabled()
Determines whether this instance should collect
fixed snap lines for edge segments. |
boolean |
LabelSnapContext.isCollectingInitialLocationSnapLinesEnabled()
Determines whether this instance should collect snap lines for the initial position of a label.
|
boolean |
GraphSnapContext.isCollectingNodePairCenterSnapLinesEnabled()
Determines whether this instance will try to align the centers of adjacent nodes so that their centers are equally far
away from each other.
|
boolean |
GraphSnapContext.isCollectingNodePairSegmentSnapLinesEnabled()
Gets a value indicating whether this instance will collect pairs of adjacent nodes and add snapping logic so that moved
edge segments will snap so that the distances to the adjacent nodes are equal.
|
boolean |
GraphSnapContext.isCollectingNodePairSnapLinesEnabled()
Gets a value indicating whether this instance will collect pairs of adjacent nodes and add snapping logic so that moved
nodes will snap so that the distances to the adjacent nodes are equal.
|
boolean |
LabelSnapContext.isCollectingNodeShapeSnapLinesEnabled()
Determines whether this instance should collect six snap lines, two through the center and four through the border sides
of the label owner.
|
boolean |
GraphSnapContext.isCollectingNodeSizesEnabled()
Determines whether this instance should collect the sizes of fixed nodes.
|
boolean |
GraphSnapContext.isCollectingNodeSnapLinesEnabled()
Determines whether this instance should collect
fixed snap lines for nodes. |
boolean |
LabelSnapContext.isCollectingOwnEdgeDistanceSnapLinesEnabled()
Determines whether this instance should collect two snap lines in parallel to the edge path of the label owner at the
initial distance of the edge label.
|
boolean |
LabelSnapContext.isCollectingOwnNodeDistanceSnapLinesEnabled()
Determines whether this instance should collect four snap lines in parallel to the owner's borders at the initial label
distance.
|
boolean |
GraphSnapContext.isCollectingPortSnapLinesEnabled()
Determines whether this instance should collect
fixed snap lines for ports. |
boolean |
LabelSnapContext.isCollectingSameOwnerEdgeDistanceSnapLinesEnabled()
Determines whether this instance should collect snap lines in parallel to the edge path of the label owner at the
distances of all edge labels of that owner.
|
boolean |
LabelSnapContext.isCollectingSameOwnerNodeDistanceSnapLinesEnabled()
Determines whether this instance should collect snap lines in parallel to the border of the label owner at the distance
of other node labels of that owner.
|
boolean |
PortRelocationHandle.isCyclicPortDependenciesAllowed()
Determines whether or not cyclic port dependencies are allowed.
|
boolean |
PortRelocationHandle.isDummyEdgeDisplayEnabled()
Gets a value indicating whether to show a dummy edge during the drag operation.
|
boolean |
GraphEditorInputMode.isDuplicateAllowed()
Gets a value determining whether the
ICommand.DUPLICATE command should be handled. |
boolean |
PortRelocationHandle.isEdgeToEdgeConnectionsAllowed()
Determines whether or not edges are allowed to connect to other edges.
|
boolean |
CreateEdgeInputMode.isEdgeToEdgeConnectionsAllowed()
Determines whether or not edges are allowed to connect to other edges.
|
boolean |
TableEditorInputMode.isEditLabelAllowed()
Gets whether the label editor will be automatically invoked if the F2 key is pressed.
|
boolean |
OrthogonalEdgeEditingContext.isEnabled()
Gets a value indicating whether orthogonal edge editing is enabled at all.
|
boolean |
NavigationInputMode.isExitGroupAllowed()
Gets a value that determines whether it is allowed to
exit the current group node via the
ICommand.EXIT_GROUP . |
boolean |
NavigationInputMode.isFittingContentAfterGroupActionsEnabled()
Gets a value that determines whether
CanvasControl.fitContent() or the ICommand.FIT_CONTENT should be
triggered after a group navigation action. |
boolean |
ClickInputMode.isFocusClickSwallowingEnabled()
Gets a property that determines whether clicks should be swallowed if they happen within a short amount of time after
the CanvasControl got focus.
|
boolean |
TapInputMode.isFocusTapSwallowingEnabled()
Gets a property that determines whether taps should be swallowed if they happen within a short amount of time after the
CanvasControl got focus. |
boolean |
CreateEdgeInputMode.isForcingSnapToCandidateEnabled()
Gets a property that determines whether the mouse should be forced to snap to the nearest valid port candidate if the
mouse hovers over a target node.
|
boolean |
GraphEditorInputMode.isGroupingOperationsAllowed()
Gets a value indicating whether grouping operations like
grouping selected nodes or moving nodes into group nodes
should be enabled. |
boolean |
GraphEditorInputMode.isGroupSelectionAllowed()
Gets a value determining whether the
ICommand.GROUP_SELECTION command should be handled. |
boolean |
GraphEditorInputMode.isHidingLabelDuringEditingEnabled()
Gets a property that determines whether the label should be hidden while it is edited.
|
boolean |
ClickInputMode.isLeftClick()
Deprecated.
|
boolean |
GraphEditorInputMode.isPasteAllowed()
Gets a value determining whether the
ICommand.PASTE command should be handled. |
boolean |
MoveViewportInputMode.isPinchZoomAllowed()
Gets a value indicating whether to allow the pinch zoom gesture.
|
boolean |
PortRelocationHandle.isPortCandidateResolvingEnabled()
Gets a value indicating whether a
dynamic port candidate should be resolved for
the current mouse location. |
boolean |
CreateEdgeInputMode.isPortCandidateShowingEnabled()
Determines whether or not to display possible port candidates during the creation of the edge.
|
boolean |
OrthogonalEdgeEditingContext.isPortMovingEnabled()
Gets a value indicating ports are allowed to be moved at all.
|
boolean |
GraphEditorInputMode.isReparentNodesAllowed()
Gets a value indicating whether moving nodes out of group nodes or into other group nodes is allowed.
|
boolean |
GraphEditorInputMode.isReparentToNonGroupNodesAllowed()
Gets a value indicating whether moving nodes into
non-group nodes is allowed to
convert them into group nodes. |
boolean |
TapInputMode.isRequestingMutexOnTapEnabled()
Whether to
request the mutex on a tap. |
boolean |
CreateEdgeInputMode.isResolvingSourcePortCandidatesEnabled()
Gets a value indicating whether
PortCandidateValidity.DYNAMIC ports that are part of the source port candidates
should be resolved for the current mouse location. |
boolean |
CreateEdgeInputMode.isResolvingTargetPortCandidatesEnabled()
Gets a value indicating whether
PortCandidateValidity.DYNAMIC ports that are part of the target port candidates
should be resolved for the current mouse location. |
boolean |
GraphEditorInputMode.isReverseEdgeAllowed()
Gets a value indicating whether the
ICommand.REVERSE_EDGE command should be handled. |
boolean |
CreateEdgeInputMode.isSelfloopsAllowed()
Determines whether or not to allow the creation of self loops.
|
boolean |
GraphEditorInputMode.isSmartPasteSelectionEnabled()
Determines whether nodes, edges, labels, and ports should only be selected after
GraphEditorInputMode.paste() or GraphEditorInputMode.duplicateSelection()
if they were selected when they were initially copied into the clipboard. |
boolean |
GraphSnapContext.isSnappingBendAdjacentSegmentsEnabled()
Whether this context will automatically snap the movements of bends so that the two adjacent segments become
horizontally or vertically oriented.
|
boolean |
GraphSnapContext.isSnappingBendsToSnapLinesEnabled()
Whether this context will automatically snap the bends to snap lines.
|
boolean |
LabelSnapContext.isSnappingEdgeLabelsEnabled()
Specifies whether this context will automatically snap the edge labels to snap lines.
|
boolean |
LabelSnapContext.isSnappingNodeLabelsEnabled()
Specifies whether this context will automatically snap the node labels to snap lines.
|
boolean |
GraphSnapContext.isSnappingNodesToSnapLinesEnabled()
Whether
INodeSnapResultProvider implementations should snap nodes to snap lines. |
boolean |
GraphSnapContext.isSnappingOrthogonalMovementEnabled()
Determines whether this context will automatically snap the movement in such a way that the overall move gesture is
constrained to the horizontal or vertical axis.
|
boolean |
GraphSnapContext.isSnappingPortAdjacentSegmentsEnabled()
Whether this context will automatically snap the movements of nodes so that the first and last segments of edges become
orthogonal.
|
boolean |
GraphSnapContext.isSnappingSegmentsToSnapLinesEnabled()
Determines whether this context will automatically snap orthogonal edge segments to snap lines.
|
boolean |
TableEditorInputMode.isSynchronizingWithGraphSelectionEnabled()
Gets a value indicating whether
StripeSelection should be synchronized with the GraphSelection
if this instance is installed as a child of a GraphEditorInputMode instance. |
boolean |
GraphEditorInputMode.isUndoOperationsAllowed()
Gets a value indicating whether undo operations, that is,
GraphEditorInputMode.undo() and GraphEditorInputMode.redo() should be enabled. |
boolean |
GraphEditorInputMode.isUngroupSelectionAllowed()
Gets a value determining whether the
ICommand.UNGROUP_SELECTION command should be handled. |
boolean |
NavigationInputMode.isUsingCurrentItemForCommandsEnabled()
Gets a value indicating whether to use the
CurrentItem as a fallback for the
commands if no item is provided in the parameter and the current selection is empty. |
boolean |
GraphEditorInputMode.isUsingCurrentItemForCommandsEnabled()
Gets a value indicating whether to use the
CurrentItem as a fallback for the
commands if no item is provided in the parameter and the current selection is empty. |
boolean |
CreateEdgeInputMode.isUsingHitItemsCandidatesOnlyEnabled()
Gets a property that determines whether this mode should use only the
target port candidates
of the node the mouse currently hovers over. |
void |
ClickInputMode.setActiveButtons(MouseButtons value)
Determines for which button(s) mouse clicks should be processed.
|
void |
TableEditorInputMode.setAddLabelAllowed(boolean value)
Sets whether the label editor will be automatically invoked if the Shift+F2 key is pressed.
|
void |
GraphEditorInputMode.setAdjustContentRectPolicy(AdjustContentRectPolicy value)
Sets a property that determines whether this instance should automatically adjust the
ContentRect
if the graph changes. |
void |
GraphEditorInputMode.setAdjustGroupNodeSizeAllowed(boolean value)
Sets a value determining whether the
ICommand.ADJUST_GROUP_NODE_SIZE command should be handled. |
void |
TextEditorInputMode.setAutoCommittingOnFocusLostEnabled(boolean value)
Sets a property that determines whether the text edited should be committed if the focus gets lost or the editing should
be canceled.
|
void |
TextEditorInputMode.setAutoFocusingCanvasOnEditorClosedEnabled(boolean value)
Sets a property that determines whether this mode should try to
Node.requestFocus() the Canvas
once the editor is closed via a keyboard gesture. |
void |
NavigationInputMode.setAutoGroupNodeAlignmentPolicy(NodeAlignmentPolicy value)
Sets the the location that should be kept fixed if toggling a group node state.
|
void |
OverviewInputMode.setAutoMouseWheelZoomEnabled(boolean value)
Determines whether the mouse wheel can be used to perform zooming in the
ClientCanvas . |
void |
TableEditorInputMode.setAutoRemovingEmptyLabelsEnabled(boolean value)
Sets a value indicating whether this mode should automatically
remove labels from the
table when a label text has been edited and the label text is empty. |
void |
GraphEditorInputMode.setAutoRemovingEmptyLabelsEnabled(boolean value)
Sets a value indicating whether this mode should automatically
remove labels from the
graph when a label text has been edited and the label text is empty. |
void |
GraphEditorInputMode.setAutoSelectingSelfloopBendsEnabled(boolean value)
Sets a property that determines whether clicking on a node should automatically select all bends of self loops adjacent
to that node.
|
void |
TextEditorInputMode.setAutoStartEditingEnabled(boolean value)
Determines whether this mode should automatically fire up the editor once it gets installed.
|
void |
CreateBendInputMode.setBendReusingEnabled(boolean value)
Sets a property that determines whether this mode should use an existing bend in
CreateBendInputMode.createBend(IEdge, PointD) if
there is one found at the given location. |
void |
CreateEdgeInputMode.setCancelingEditImplicitlyEnabled(boolean value)
Sets whether after calls to
CreateEdgeInputMode.createEdge(IGraph, IPortCandidate, IPortCandidate) the current undo edit should be
canceled if the method returns null . |
void |
DefaultPortCandidate.setCandidateTag(Object value)
Sets the tag for this candidate.
|
void |
DropInputMode.setCapturingMouseInputDuringDragEnabled(boolean value)
Sets a value indicating whether to capture mouse input during drag operations.
|
void |
GraphEditorInputMode.setClearSelectionAllowed(boolean value)
Sets a value determining whether the
ICommand.DESELECT_ALL command should be handled. |
void |
TableEditorInputMode.setClickSelectableRegions(StripeSubregionTypes value)
Sets clicks on which
StripeSubregionTypes (s) should toggle a stripe selection state. |
void |
LabelSnapContext.setCollectingAllEdgeDistanceSnapLinesEnabled(boolean value)
Determines whether this instance should collect snap lines in parallel to the edge path of the label owner at the
distance of other edge labels in the graph.
|
void |
LabelSnapContext.setCollectingAllNodeDistanceSnapLinesEnabled(boolean value)
Determines whether this instance should collect snap lines in parallel to the border of the label owner at the distance
of other node labels in the graph.
|
void |
LabelSnapContext.setCollectingEdgePathSnapLinesEnabled(boolean value)
Determines whether this instance should collect snap lines on the edge path.
|
void |
GraphSnapContext.setCollectingEdgeSnapLinesEnabled(boolean value)
Determines whether this instance should collect
fixed snap lines for edge segments. |
void |
LabelSnapContext.setCollectingInitialLocationSnapLinesEnabled(boolean value)
Determines whether this instance should collect snap lines for the initial position of a label.
|
void |
GraphSnapContext.setCollectingNodePairCenterSnapLinesEnabled(boolean value)
Determines whether this instance will try to align the centers of adjacent nodes so that their centers are equally far
away from each other.
|
void |
GraphSnapContext.setCollectingNodePairSegmentSnapLinesEnabled(boolean value)
Sets a value indicating whether this instance will collect pairs of adjacent nodes and add snapping logic so that moved
edge segments will snap so that the distances to the adjacent nodes are equal.
|
void |
GraphSnapContext.setCollectingNodePairSnapLinesEnabled(boolean value)
Sets a value indicating whether this instance will collect pairs of adjacent nodes and add snapping logic so that moved
nodes will snap so that the distances to the adjacent nodes are equal.
|
void |
LabelSnapContext.setCollectingNodeShapeSnapLinesEnabled(boolean value)
Determines whether this instance should collect six snap lines, two through the center and four through the border sides
of the label owner.
|
void |
GraphSnapContext.setCollectingNodeSizesEnabled(boolean value)
Determines whether this instance should collect the sizes of fixed nodes.
|
void |
GraphSnapContext.setCollectingNodeSnapLinesEnabled(boolean value)
Determines whether this instance should collect
fixed snap lines for nodes. |
void |
LabelSnapContext.setCollectingOwnEdgeDistanceSnapLinesEnabled(boolean value)
Determines whether this instance should collect two snap lines in parallel to the edge path of the label owner at the
initial distance of the edge label.
|
void |
LabelSnapContext.setCollectingOwnNodeDistanceSnapLinesEnabled(boolean value)
Determines whether this instance should collect four snap lines in parallel to the owner's borders at the initial label
distance.
|
void |
GraphSnapContext.setCollectingPortSnapLinesEnabled(boolean value)
Determines whether this instance should collect
fixed snap lines for ports. |
void |
LabelSnapContext.setCollectingSameOwnerEdgeDistanceSnapLinesEnabled(boolean value)
Determines whether this instance should collect snap lines in parallel to the edge path of the label owner at the
distances of all edge labels of that owner.
|
void |
LabelSnapContext.setCollectingSameOwnerNodeDistanceSnapLinesEnabled(boolean value)
Determines whether this instance should collect snap lines in parallel to the border of the label owner at the distance
of other node labels of that owner.
|
void |
PortRelocationHandle.setCyclicPortDependenciesAllowed(boolean value)
Determines whether or not cyclic port dependencies are allowed.
|
void |
MultiplexingInputMode.setDefaultCursor(Cursor value)
Sets the cursor to use whenever no child mode prefers a different cursor.
|
void |
ClickInputMode.setDoubleClickPolicy(DoubleClickPolicy value)
Sets the click handling mode that determines the triggering behavior of
Clicked
and DoubleClicked . |
void |
PortRelocationHandle.setDummyEdgeDisplayEnabled(boolean value)
Sets a value indicating whether to show a dummy edge during the drag operation.
|
void |
GraphEditorInputMode.setDuplicateAllowed(boolean value)
Sets a value determining whether the
ICommand.DUPLICATE command should be handled. |
void |
MouseHoverInputMode.setDuration(Duration value)
Sets the duration to show the tool tip.
|
void |
PortRelocationHandle.setEdgeToEdgeConnectionsAllowed(boolean value)
Determines whether or not edges are allowed to connect to other edges.
|
void |
CreateEdgeInputMode.setEdgeToEdgeConnectionsAllowed(boolean value)
Determines whether or not edges are allowed to connect to other edges.
|
void |
GraphSnapContext.setEdgeToEdgeDistance(double value)
Sets the preferred distance between edges.
|
void |
TableEditorInputMode.setEditLabelAllowed(boolean value)
Sets whether the label editor will be automatically invoked if the F2 key is pressed.
|
void |
OrthogonalEdgeEditingContext.setEnabled(boolean value)
Sets a value indicating whether orthogonal edge editing is enabled at all.
|
void |
NavigationInputMode.setExitGroupAllowed(boolean value)
Sets a value that determines whether it is allowed to
exit the current group node via the
ICommand.EXIT_GROUP . |
void |
NavigationInputMode.setFittingContentAfterGroupActionsEnabled(boolean value)
Sets a value that determines whether
CanvasControl.fitContent() or the ICommand.FIT_CONTENT should be
triggered after a group navigation action. |
void |
ClickInputMode.setFocusClickSwallowingEnabled(boolean value)
Sets a property that determines whether clicks should be swallowed if they happen within a short amount of time after
the CanvasControl got focus.
|
void |
TapInputMode.setFocusTapSwallowingEnabled(boolean value)
Sets a property that determines whether taps should be swallowed if they happen within a short amount of time after the
CanvasControl got focus. |
void |
CreateEdgeInputMode.setForcingSnapToCandidateEnabled(boolean value)
Sets a property that determines whether the mouse should be forced to snap to the nearest valid port candidate if the
mouse hovers over a target node.
|
void |
GraphSnapContext.setGridSnapDistance(double value)
Sets the GridSnapDistance.
|
void |
GraphSnapContext.setGridSnapType(GridSnapTypes value)
Sets the type of the grid snapping that should be performed.
|
void |
GraphEditorInputMode.setGroupingOperationsAllowed(boolean value)
Sets a value indicating whether grouping operations like
grouping selected nodes or moving nodes into group nodes
should be enabled. |
void |
GraphEditorInputMode.setGroupSelectionAllowed(boolean value)
Sets a value determining whether the
ICommand.GROUP_SELECTION command should be handled. |
void |
GraphEditorInputMode.setHidingLabelDuringEditingEnabled(boolean value)
Sets a property that determines whether the label should be hidden while it is edited.
|
void |
MoveViewportInputMode.setInertia(InertiaPolicies value)
Sets the mode that determines when to use inertia when dragging the viewport.
|
void |
MoveViewportInputMode.setInertiaFactor(double value)
Sets the factor that determines how much the recent movement data is taken into account for the calculation of inertia
speed and direction.
|
void |
GraphEditorInputMode.setLabelSnapContext(SnapContext value)
The
LabelSnapContext instance that handles interactive snapping of
ILabel s to their owner during drag operations like movements. |
void |
DefaultPortCandidate.setModel(IPortLocationModel value)
The model that will be used by this instance to determine the new
LocationParameter if
the DefaultPortCandidate.getPortCandidateAt(IInputModeContext, PointD) is called and the Validity is set to
PortCandidateValidity.DYNAMIC . |
void |
CreateEdgeInputMode.setNodeBorderWidthRatio(double value)
Defines the width of a node's border which is taken into account when deciding which way to route the first segment of
an orthogonal edge.
|
void |
GraphSnapContext.setNodeToEdgeDistance(double value)
The preferred distance between node borders and edge segments.
|
void |
GraphSnapContext.setNodeToNodeDistance(double value)
The preferred distance between node borders.
|
void |
GraphEditorInputMode.setOrthogonalBendRemovalEnabled(OrthogonalEdgeEditingPolicy value)
Sets the policy that controls whether removing bends from an orthogonal edge will keep the edge orthogonal.
|
void |
CreateEdgeInputMode.setOrthogonalEdgeCreationEnabled(OrthogonalEdgeEditingPolicy value)
Sets the the policy that controls whether edges will be create orthogonally.
|
void |
GraphEditorInputMode.setOrthogonalEdgeEditingContext(OrthogonalEdgeEditingContext value)
Sets the orthogonal edge editing context.
|
void |
CreateEdgeInputMode.setOrthogonalSnapDistance(double value)
Sets the distance in the view coordinate system that determines how far the mouse should be snapped to a horizontal or
vertical line.
|
void |
GraphEditorInputMode.setPasteAllowed(boolean value)
Sets a value determining whether the
ICommand.PASTE command should be handled. |
void |
GraphEditorInputMode.setPasteDelta(PointD value)
The offset for paste operation if clipboard operations are enabled.
|
void |
GraphEditorInputMode.setPasteSelectableItems(GraphItemTypes value)
Determines which types of items should be selected after
GraphEditorInputMode.paste() or GraphEditorInputMode.duplicateSelection() . |
void |
MoveViewportInputMode.setPinchZoomAllowed(boolean value)
Sets a value indicating whether to allow the pinch zoom gesture.
|
void |
PortRelocationHandle.setPortCandidateResolvingEnabled(boolean value)
Sets a value indicating whether a
dynamic port candidate should be resolved for
the current mouse location. |
void |
CreateEdgeInputMode.setPortCandidateShowingEnabled(boolean value)
Determines whether or not to display possible port candidates during the creation of the edge.
|
void |
OrthogonalEdgeEditingContext.setPortMovingEnabled(boolean value)
Sets a value indicating ports are allowed to be moved at all.
|
void |
DefaultPortCandidate.setPortTag(Object value)
Sets the port tag to create the port with.
|
void |
CreateEdgeInputMode.setPreferredMinimalEdgeDistance(double value)
Defines the preferred minimal distance of orthogonal edges.
|
void |
GraphEditorInputMode.setReparentNodesAllowed(boolean value)
Sets a value indicating whether moving nodes out of group nodes or into other group nodes is allowed.
|
void |
GraphEditorInputMode.setReparentToNonGroupNodesAllowed(boolean value)
Sets a value indicating whether moving nodes into
non-group nodes is allowed to
convert them into group nodes. |
void |
ClickInputMode.setRequestingMutexOnClickEnabled(boolean value)
Whether to
request the mutex on a click. |
void |
TapInputMode.setRequestingMutexOnTapEnabled(boolean value)
Whether to
request the mutex on a tap. |
void |
CreateEdgeInputMode.setResolvingSourcePortCandidatesEnabled(boolean value)
Sets a value indicating whether
PortCandidateValidity.DYNAMIC ports that are part of the source port candidates
should be resolved for the current mouse location. |
void |
CreateEdgeInputMode.setResolvingTargetPortCandidatesEnabled(boolean value)
Sets a value indicating whether
PortCandidateValidity.DYNAMIC ports that are part of the target port candidates
should be resolved for the current mouse location. |
void |
GraphEditorInputMode.setReverseEdgeAllowed(boolean value)
Sets a value indicating whether the
ICommand.REVERSE_EDGE command should be handled. |
void |
NavigationInputMode.setSelectableItems(GraphItemTypes value)
Sets the types of the items that should be selectable by this instance.
|
void |
CreateEdgeInputMode.setSelfloopsAllowed(boolean value)
Determines whether or not to allow the creation of self loops.
|
void |
GraphEditorInputMode.setSmartPasteSelectionEnabled(boolean value)
Determines whether nodes, edges, labels, and ports should only be selected after
GraphEditorInputMode.paste() or GraphEditorInputMode.duplicateSelection()
if they were selected when they were initially copied into the clipboard. |
void |
GraphEditorInputMode.setSnapContext(SnapContext value)
The
SnapContext instance that handles interactive snapping of elements during drag operations like movements. |
void |
CreateEdgeInputMode.setSnapDistance(double value)
Sets the distance in the view coordinate system that determines how far the mouse should be snapped to a port candidate
if
SnappingToTargetCandidateEnabled is enabled. |
void |
LabelSnapContext.setSnapLineExtension(double value)
Sets the amount by which snap lines that are induced by existing edge segments are being extended.
|
void |
GraphSnapContext.setSnapLineExtension(double value)
Sets the amount by which snap lines that are induced by existing edge segments and node borders are being extended.
|
void |
GraphSnapContext.setSnappingBendAdjacentSegmentsEnabled(boolean value)
Whether this context will automatically snap the movements of bends so that the two adjacent segments become
horizontally or vertically oriented.
|
void |
GraphSnapContext.setSnappingBendsToSnapLinesEnabled(boolean value)
Whether this context will automatically snap the bends to snap lines.
|
void |
LabelSnapContext.setSnappingEdgeLabelsEnabled(boolean value)
Specifies whether this context will automatically snap the edge labels to snap lines.
|
void |
LabelSnapContext.setSnappingNodeLabelsEnabled(boolean value)
Specifies whether this context will automatically snap the node labels to snap lines.
|
void |
GraphSnapContext.setSnappingNodesToSnapLinesEnabled(boolean value)
Whether
INodeSnapResultProvider implementations should snap nodes to snap lines. |
void |
GraphSnapContext.setSnappingOrthogonalMovementEnabled(boolean value)
Determines whether this context will automatically snap the movement in such a way that the overall move gesture is
constrained to the horizontal or vertical axis.
|
void |
GraphSnapContext.setSnappingPortAdjacentSegmentsEnabled(boolean value)
Whether this context will automatically snap the movements of nodes so that the first and last segments of edges become
orthogonal.
|
void |
GraphSnapContext.setSnappingSegmentsToSnapLinesEnabled(boolean value)
Determines whether this context will automatically snap orthogonal edge segments to snap lines.
|
void |
DefaultPortCandidate.setStyle(IPortStyle value)
Sets the style to use for the newly created port.
|
void |
TableEditorInputMode.setSynchronizingWithGraphSelectionEnabled(boolean value)
Sets a value indicating whether
StripeSelection should be synchronized with the GraphSelection
if this instance is installed as a child of a GraphEditorInputMode instance. |
void |
TapInputMode.setTapHandlingPolicy(TapHandlingPolicy value)
Sets the tap handling policy that determines the triggering behavior of
Tapped
and DoubleTapped . |
void |
GraphEditorInputMode.setUndoOperationsAllowed(boolean value)
Sets a value indicating whether undo operations, that is,
GraphEditorInputMode.undo() and GraphEditorInputMode.redo() should be enabled. |
void |
GraphEditorInputMode.setUngroupSelectionAllowed(boolean value)
Sets a value determining whether the
ICommand.UNGROUP_SELECTION command should be handled. |
void |
NavigationInputMode.setUsingCurrentItemForCommandsEnabled(boolean value)
Sets a value indicating whether to use the
CurrentItem as a fallback for the
commands if no item is provided in the parameter and the current selection is empty. |
void |
GraphEditorInputMode.setUsingCurrentItemForCommandsEnabled(boolean value)
Sets a value indicating whether to use the
CurrentItem as a fallback for the
commands if no item is provided in the parameter and the current selection is empty. |
void |
CreateEdgeInputMode.setUsingHitItemsCandidatesOnlyEnabled(boolean value)
Sets a property that determines whether this mode should use only the
target port candidates
of the node the mouse currently hovers over. |
void |
DefaultPortCandidate.setValidity(PortCandidateValidity value)
Determines whether this candidate is a valid one depending on the context it has been obtained from.
|