V - The visual node used by this IBendableContentPart.public interface IBendableContentPart<V extends javafx.scene.Node> extends ITransformableContentPart<V>, IResizableContentPart<V>
IContentPart that supports content related bend, i.e. manipulation
of control points.contentAnchoragesUnmodifiable, contentChildrenUnmodifiable, contentanchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisualadaptersadaptableactive| Modifier and Type | Interface and Description |
|---|---|
static class |
IBendableContentPart.BendPoint
A representation of a bend point, which is defined either by a point or
by a content anchorage to which the content is attached.
|
IAdaptable.Bound<A extends IAdaptable>IAdaptable.Bound.Impl<T extends IAdaptable>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTROL_ROLE_PREFIX
Default role prefix for intermediary
IBendableContentPart.BendPoints. |
static java.lang.String |
SOURCE_ROLE
Default role for the first
IBendableContentPart.BendPoint. |
static java.lang.String |
TARGET_ROLE
Default role for the last
IBendableContentPart.BendPoint. |
TRANSFORM_PROVIDER_KEY, TRANSFORM_PROVIDER_ROLECONTENT_ANCHORAGES_PROPERTY, CONTENT_CHILDREN_PROPERTY, CONTENT_PROPERTYANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTYADAPTERS_PROPERTYACTIVE_PROPERTY| Modifier and Type | Method and Description |
|---|---|
default Connection |
getBendableVisual()
Deprecated.
This method is no longer used as part of the
IBendableContentPart contract. Reason is that
IBendableContentPart is no longer bound to a
Connection visual, while it still provides default
behavior for that specific case. |
java.util.List<IBendableContentPart.BendPoint> |
getContentBendPoints()
Returns the current
IBendableContentPart.BendPoints of this
IBendableContentPart's content. |
default Dimension |
getContentSize()
Returns the current size according to this part's content.
|
default javafx.scene.transform.Affine |
getContentTransform()
Returns the current
Affine according to this
ITransformableContentPart's content. |
default java.lang.String |
getRole(java.util.List<IBendableContentPart.BendPoint> bendPoints,
int index)
Returns the role that is used to determine the
IAnchor for the
IBendableContentPart.BendPoint at the given index of the given List of
IBendableContentPart.BendPoints. |
default java.util.List<IBendableContentPart.BendPoint> |
getVisualBendPoints()
Returns the current
IBendableContentPart.BendPoints of this
IBendableContentPart's visual. |
default Dimension |
getVisualSize()
Returns the current size according to this
IResizableContentPart
's visual. |
default javafx.scene.transform.Affine |
getVisualTransform()
Returns the current transform according to this
ITransformableContentPart's visual. |
void |
setContentBendPoints(java.util.List<IBendableContentPart.BendPoint> bendPoints)
Bends the content element as specified through the given bend points.
|
default void |
setContentSize(Dimension totalSize)
Resizes the content element as specified by the given
Dimension. |
default void |
setContentTransform(javafx.scene.transform.Affine totalTransform)
Set the content transformation as specified by the given
AffineTransform. |
default void |
setVisualBendPoints(java.util.List<IBendableContentPart.BendPoint> bendPoints)
Bends the visual as specified by the given bend points.
|
default void |
setVisualSize(Dimension totalSize)
Resizes the visual of this
IResizableContentPart to the given
size. |
default void |
setVisualTransform(javafx.scene.transform.Affine totalTransform)
|
addContentChild, attachToContentAnchorage, contentAnchoragesUnmodifiableProperty, contentChildrenUnmodifiableProperty, contentProperty, detachFromContentAnchorage, getContent, getContentAnchoragesUnmodifiable, getContentChildrenUnmodifiable, isFocusable, isSelectable, refreshContentAnchorages, refreshContentChildren, removeContentChild, reorderContentChild, setContentaddChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenUnmodifiableProperty, detachAnchored, detachFromAnchorage, detachFromAnchorage, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getHandlers, getParent, getPolicies, getRoot, getViewer, getVisual, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, removeChild, removeChildren, reorderChild, setParent, setRefreshVisualadaptersProperty, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapteradaptableProperty, getAdaptable, setAdaptableactivate, activeProperty, deactivate, isActivedisposestatic final java.lang.String SOURCE_ROLE
IBendableContentPart.BendPoint.static final java.lang.String TARGET_ROLE
IBendableContentPart.BendPoint.static final java.lang.String CONTROL_ROLE_PREFIX
IBendableContentPart.BendPoints.@Deprecated default Connection getBendableVisual()
IBendableContentPart contract. Reason is that
IBendableContentPart is no longer bound to a
Connection visual, while it still provides default
behavior for that specific case.java.util.List<IBendableContentPart.BendPoint> getContentBendPoints()
IBendableContentPart.BendPoints of this
IBendableContentPart's content.IBendableContentPart.BendPoints of this IBendableContentPart's
content.default Dimension getContentSize()
IResizableContentPartgetContentSize in interface IResizableContentPart<V extends javafx.scene.Node>default javafx.scene.transform.Affine getContentTransform()
ITransformableContentPartAffine according to this
ITransformableContentPart's content.getContentTransform in interface ITransformableContentPart<V extends javafx.scene.Node>Affine according to this
ITransformableContentPart's content.default java.lang.String getRole(java.util.List<IBendableContentPart.BendPoint> bendPoints, int index)
IAnchor for the
IBendableContentPart.BendPoint at the given index of the given List of
IBendableContentPart.BendPoints.bendPoints - The List of IBendableContentPart.BendPoints.index - The index specifying the IBendableContentPart.BendPoint for which to
determine the role.IAnchor for the
specified IBendableContentPart.BendPoint.default java.util.List<IBendableContentPart.BendPoint> getVisualBendPoints()
IBendableContentPart.BendPoints of this
IBendableContentPart's visual.IBendableContentPart.BendPoints of this IBendableContentPart's
visual.default Dimension getVisualSize()
IResizableContentPartIResizableContentPart
's visual.getVisualSize in interface IResizableContentPart<V extends javafx.scene.Node>IResizableContentPart
's visual.default javafx.scene.transform.Affine getVisualTransform()
ITransformableContentPartITransformableContentPart's visual.getVisualTransform in interface ITransformableContentPart<V extends javafx.scene.Node>ITransformableContentPart's visual.void setContentBendPoints(java.util.List<IBendableContentPart.BendPoint> bendPoints)
bendPoints - The bend points.default void setContentSize(Dimension totalSize)
IResizableContentPartDimension.setContentSize in interface IResizableContentPart<V extends javafx.scene.Node>totalSize - The new size.default void setContentTransform(javafx.scene.transform.Affine totalTransform)
ITransformableContentPartAffineTransform.setContentTransform in interface ITransformableContentPart<V extends javafx.scene.Node>totalTransform - The AffineTransform to set.default void setVisualBendPoints(java.util.List<IBendableContentPart.BendPoint> bendPoints)
bendPoints - The bend points.default void setVisualSize(Dimension totalSize)
IResizableContentPartIResizableContentPart to the given
size.setVisualSize in interface IResizableContentPart<V extends javafx.scene.Node>totalSize - The new size for this IResizableContentPart's visual.default void setVisualTransform(javafx.scene.transform.Affine totalTransform)
ITransformableContentPartsetVisualTransform in interface ITransformableContentPart<V extends javafx.scene.Node>totalTransform - The Affine that is to be set as the
visual transform of this
ITransformableContentPart.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.