Package | Description |
---|---|
com.yworks.yfiles.geometry |
Contains definitions, default implementations, structs and support classes that deal with the representation of geometric data.
|
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.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
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 | Field and Description |
---|---|
static InsetsD |
InsetsD.EMPTY
The "empty" insets that has all properties set to
0.0d . |
Modifier and Type | Method and Description |
---|---|
InsetsD |
InsetsD.createUnion(InsetsD insets)
Calculates the union of this instance and the given inset which is done by performing
Math.max(double, double)
on all four inset values. |
static InsetsD |
InsetsD.fromLTRB(double left,
double top,
double right,
double bottom)
Initializes a new instance.
|
InsetsD |
InsetsD.getEnlarged(InsetsD insets)
Creates an enlarged instance by adding the insets of the specified insets to this instance and returning the result.
|
Modifier and Type | Method and Description |
---|---|
InsetsD |
InsetsD.createUnion(InsetsD insets)
Calculates the union of this instance and the given inset which is done by performing
Math.max(double, double)
on all four inset values. |
static boolean |
InsetsD.equals(InsetsD one,
InsetsD two)
|
RectD |
RectD.getEnlarged(InsetsD insets)
Creates an enlarged instance that is the same as this one but enlarged by the specified insets.
|
InsetsD |
InsetsD.getEnlarged(InsetsD insets)
Creates an enlarged instance by adding the insets of the specified insets to this instance and returning the result.
|
Modifier and Type | Method and Description |
---|---|
default InsetsD |
ITable.getAccumulatedInsets()
Return the accumulated insets for the table.
|
default InsetsD |
IStripe.getActualInsets()
Gets the insets that are currently in effect for this stripe.
|
InsetsD |
Table.getInsets() |
InsetsD |
StripeDefaults.getInsets()
Gets the default insets for a stripe.
|
InsetsD |
ITable.getInsets()
Gets the insets for this table.
|
InsetsD |
IStripeDefaults.getInsets()
Gets the default insets for a stripe.
|
InsetsD |
IStripe.getInsets()
Gets the insets for this stripe.
|
Modifier and Type | Method and Description |
---|---|
default IColumn |
ITable.createColumn(double width,
double minWidth,
InsetsD insets)
Creates and returns a column as last child of
table . |
default IColumn |
ITable.createColumn(double width,
double minWidth,
InsetsD insets,
IStripeStyle style)
Creates and returns a column as last child of
table . |
default IColumn |
ITable.createColumn(double width,
double minWidth,
InsetsD insets,
IStripeStyle style,
Object tag)
Creates and returns a column as last child of
table . |
default IColumn |
ITable.createColumn(double width,
double minWidth,
InsetsD insets,
IStripeStyle style,
Object tag,
int index)
Creates and returns a column as last child of
table . |
default IColumn |
ITable.createColumn(IColumn owner,
double width,
double minWidth,
InsetsD insets)
Create a new column as the
index th child of owner with the given parameters. |
default IColumn |
ITable.createColumn(IColumn owner,
double width,
double minWidth,
InsetsD insets,
IStripeStyle style)
Create a new column as the
index th child of owner with the given parameters. |
default IColumn |
ITable.createColumn(IColumn owner,
double width,
double minWidth,
InsetsD insets,
IStripeStyle style,
Object tag)
Create a new column as the
index th child of owner with the given parameters. |
IColumn |
Table.createColumn(IColumn owner,
double width,
double minWidth,
InsetsD insets,
IStripeStyle style,
Object tag,
int index) |
IColumn |
ITable.createColumn(IColumn owner,
double width,
double minWidth,
InsetsD insets,
IStripeStyle style,
Object tag,
int index)
Create a new column as the
index th child of owner with the given parameters. |
default IRow |
ITable.createRow(double height,
double minHeight,
InsetsD insets)
Creates and returns a row as last child of
table . |
default IRow |
ITable.createRow(double height,
double minHeight,
InsetsD insets,
IStripeStyle style)
Creates and returns a row as last child of
table . |
default IRow |
ITable.createRow(double height,
double minHeight,
InsetsD insets,
IStripeStyle style,
Object tag)
Creates and returns a row as last child of
table . |
default IRow |
ITable.createRow(double height,
double minHeight,
InsetsD insets,
IStripeStyle style,
Object tag,
int index)
Creates and returns a row as last child of
table . |
default IRow |
ITable.createRow(IRow owner,
double height,
double minHeight,
InsetsD insets)
Create a new row as the
index th child of owner with the given parameters. |
default IRow |
ITable.createRow(IRow owner,
double height,
double minHeight,
InsetsD insets,
IStripeStyle style)
Create a new row as the
index th child of owner with the given parameters. |
default IRow |
ITable.createRow(IRow owner,
double height,
double minHeight,
InsetsD insets,
IStripeStyle style,
Object tag)
Create a new row as the
index th child of owner with the given parameters. |
IRow |
Table.createRow(IRow owner,
double height,
double minHeight,
InsetsD insets,
IStripeStyle style,
Object tag,
int index) |
IRow |
ITable.createRow(IRow owner,
double height,
double minHeight,
InsetsD insets,
IStripeStyle style,
Object tag,
int index)
Create a new row as the
index th child of owner with the given parameters. |
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 |
IStripeDefaults.setInsets(InsetsD value)
Sets the default insets for a stripe.
|
void |
Table.setStripeInsets(IStripe stripe,
InsetsD insets) |
void |
ITable.setStripeInsets(IStripe stripe,
InsetsD insets)
Sets the insets of
stripe . |
Modifier and Type | Method and Description |
---|---|
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.
|
InsetsD |
InteriorStretchLabelModel.getNodeInsets(ILabel label,
ILabelModelParameter layoutParameter)
Returns the insets this model would require for the node owner of the label if the the given label was used with the
provided parameter.
|
InsetsD |
InteriorLabelModel.getNodeInsets(ILabel label,
ILabelModelParameter layoutParameter)
Returns the insets this model would require for the node owner of the label if the the given label was used with the
provided parameter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
InsetsD |
MemoryIconLabelStyle.getInnerStyleInsets()
Gets the insets that should be applied for the
layout of the inner style
rendering. |
protected InsetsD |
IconLabelStyleRenderer.getInnerStyleInsets()
Retrieves the
WrappedInsets from the Style . |
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 . |
protected InsetsD |
TemplateNodeStyleRenderer.getInsets(TemplateNodeStyle style)
Gets the insets by delegating to
Insets . |
InsetsD |
NodeStyleLabelStyleAdapter.getLabelStyleInsets()
Gets the insets to apply for the
LabelStyle as margins. |
InsetsD |
IconLabelStyle.getWrappedInsets()
Gets the insets that should be applied for the
layout of the wrapped style
rendering. |
Modifier and Type | Method and Description |
---|---|
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 |
NodeStyleLabelStyleAdapter.setLabelStyleInsets(InsetsD value)
Sets the insets to apply for the
LabelStyle as margins. |
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 |
---|---|
InsetsD |
LayoutExecutor.getTargetBoundsInsets()
Gets the insets (in world coordinates) that will be added to the content rectangle when calculating the target
viewport.
|
Modifier and Type | Method and Description |
---|---|
void |
LayoutExecutor.setTargetBoundsInsets(InsetsD value)
Sets the insets (in world coordinates) that will be added to the content rectangle when calculating the target
viewport.
|
Modifier and Type | Method and Description |
---|---|
InsetsD |
CanvasControl.getAutoDragInsets()
Gets the auto drag insets.
|
InsetsD |
CanvasPrinter.getContentMargins()
Returns the margins that are defined on this printable.
|
InsetsD |
CanvasControl.getFitContentViewMargins()
Gets the insets in view coordinates that should be used by the
CanvasControl.fitContent() operation. |
InsetsD |
NodeStyleDecorationInstaller.getMargin()
Specifies the margin around the node layout.
|
InsetsD |
LabelStyleDecorationInstaller.getMargin()
Specifies the margin around the label layout.
|
InsetsD |
ContextConfigurator.getMargin()
Gets the margins for the exported image.
|
InsetsD |
ViewportAnimation.getTargetViewMargins()
Gets the margins in view coordinate dimensions to use at the target zoom level.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<InsetsD> |
CanvasControl.autoDragInsetsProperty()
The property for the
auto drag insets . |
ObjectProperty<InsetsD> |
CanvasPrinter.contentMarginsProperty()
Returns the property that holds the content margins.
|
ObjectProperty<InsetsD> |
CanvasControl.fitContentViewMarginsProperty()
The property for the
insets in view coordinates that should be used by the CanvasControl.fitContent() operation. |
Modifier and Type | Method and Description |
---|---|
void |
GraphControl.fitGraphBounds(InsetsD insets)
Updates the content rectangle for the ContentGroup
considering the provided insets and adjusts the viewport to encompass the contents . |
void |
CanvasControl.setAutoDragInsets(InsetsD value)
Sets the auto drag insets.
|
void |
CanvasPrinter.setContentMargins(InsetsD contentMargins)
Sets the margins that are defined on this printable.
|
void |
CanvasControl.setFitContentViewMargins(InsetsD value)
Sets the insets in view coordinates that should be used by the
CanvasControl.fitContent() operation. |
void |
NodeStyleDecorationInstaller.setMargin(InsetsD value)
Specifies the margin around the node layout.
|
void |
LabelStyleDecorationInstaller.setMargin(InsetsD value)
Specifies the margin around the label layout.
|
void |
ContextConfigurator.setMargin(InsetsD value)
Sets the margins for the exported image.
|
void |
ViewportAnimation.setTargetViewMargins(InsetsD value)
Sets the margins in view coordinate dimensions to use at the target zoom level.
|
void |
CanvasControl.updateContentRect(InsetsD margins)
Updates the
ContentRect to encompass the bounds by all elements in the current scene graph
plus the given margins. |
void |
CanvasControl.updateContentRect(InsetsD margins,
ICanvasObjectGroup group)
Updates the
ContentRect to encompass the bounds by all elements in the current scene graph
plus the given margins. |
Modifier and Type | Method and Description |
---|---|
InsetsD |
GraphEditorInputMode.getContentRectMargins()
Gets the margins to use for
CanvasControl.updateContentRect(InsetsD, ICanvasObjectGroup) in GraphEditorInputMode.adjustContentRect()
calls. |
InsetsD |
INodeInsetsProvider.getInsets(INode node)
Returns the insets for the given
node . |
InsetsD |
OverviewInputMode.getMargins()
Gets the insets in view coordinates that should be used by the
OverviewInputMode.updateVisibleArea() operation. |
Modifier and Type | Method and Description |
---|---|
void |
GraphEditorInputMode.setContentRectMargins(InsetsD value)
Sets the margins to use for
CanvasControl.updateContentRect(InsetsD, ICanvasObjectGroup) in GraphEditorInputMode.adjustContentRect()
calls. |
void |
OverviewInputMode.setMargins(InsetsD value)
Sets the insets in view coordinates that should be used by the
OverviewInputMode.updateVisibleArea() operation. |