Package org.eclipse.gef.mvc.fx.parts
Interface IBendableContentPart<V extends javafx.scene.Node>
- Type Parameters:
- V- The visual node used by this- IBendableContentPart.
- All Superinterfaces:
- IActivatable,- IAdaptable,- IAdaptable.Bound<IViewer>,- IContentPart<V>,- IDisposable,- IResizableContentPart<V>,- ITransformableContentPart<V>,- IVisualPart<V>
public interface IBendableContentPart<V extends javafx.scene.Node>
extends ITransformableContentPart<V>, IResizableContentPart<V>
An 
IContentPart that supports content related bend, i.e. manipulation
 of control points.- 
Property SummaryProperties inherited from interface org.eclipse.gef.common.activate.IActivatableactiveProperties inherited from interface org.eclipse.gef.common.adapt.IAdaptableadaptersProperties inherited from interface org.eclipse.gef.common.adapt.IAdaptable.BoundadaptableProperties inherited from interface org.eclipse.gef.mvc.fx.parts.IContentPartcontentAnchoragesUnmodifiable, contentChildrenUnmodifiable, contentProperties inherited from interface org.eclipse.gef.mvc.fx.parts.IVisualPartanchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisual
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classA representation of a bend point, which is defined either by a point or by a content anchorage to which the content is attached.Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptableIAdaptable.Bound<A extends IAdaptable>Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptable.BoundIAdaptable.Bound.Impl<T extends IAdaptable>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringDefault role prefix for intermediaryIBendableContentPart.BendPoints.static final StringDefault role for the firstIBendableContentPart.BendPoint.static final StringDefault role for the lastIBendableContentPart.BendPoint.Fields inherited from interface org.eclipse.gef.common.activate.IActivatableACTIVE_PROPERTYFields inherited from interface org.eclipse.gef.common.adapt.IAdaptableADAPTERS_PROPERTYFields inherited from interface org.eclipse.gef.mvc.fx.parts.IContentPartCONTENT_ANCHORAGES_PROPERTY, CONTENT_CHILDREN_PROPERTY, CONTENT_PROPERTYFields inherited from interface org.eclipse.gef.mvc.fx.parts.ITransformableContentPartTRANSFORM_PROVIDER_KEY, TRANSFORM_PROVIDER_ROLEFields inherited from interface org.eclipse.gef.mvc.fx.parts.IVisualPartANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTY
- 
Method SummaryModifier and TypeMethodDescriptiondefault ConnectionDeprecated.Returns the currentIBendableContentPart.BendPoints of thisIBendableContentPart's content.default DimensionReturns the current size according to this part's content.default javafx.scene.transform.AffineReturns the currentAffineaccording to thisITransformableContentPart's content.default StringgetRole(List<IBendableContentPart.BendPoint> bendPoints, int index) Returns the role that is used to determine theIAnchorfor theIBendableContentPart.BendPointat the given index of the givenListofIBendableContentPart.BendPoints.default List<IBendableContentPart.BendPoint>Returns the currentIBendableContentPart.BendPoints of thisIBendableContentPart's visual.default DimensionReturns the current size according to thisIResizableContentPart's visual.default javafx.scene.transform.AffineReturns the current transform according to thisITransformableContentPart's visual.voidsetContentBendPoints(List<IBendableContentPart.BendPoint> bendPoints) Bends the content element as specified through the given bend points.default voidsetContentSize(Dimension totalSize) Resizes the content element as specified by the givenDimension.default voidsetContentTransform(javafx.scene.transform.Affine totalTransform) Set the content transformation as specified by the givenAffineTransform.default voidsetVisualBendPoints(List<IBendableContentPart.BendPoint> bendPoints) Bends the visual as specified by the given bend points.default voidsetVisualSize(Dimension totalSize) Resizes the visual of thisIResizableContentPartto the given size.default voidsetVisualTransform(javafx.scene.transform.Affine totalTransform) Methods inherited from interface org.eclipse.gef.common.activate.IActivatableactivate, activeProperty, deactivate, isActiveMethods inherited from interface org.eclipse.gef.common.adapt.IAdaptableadaptersProperty, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapterMethods inherited from interface org.eclipse.gef.common.adapt.IAdaptable.BoundadaptableProperty, getAdaptable, setAdaptableMethods inherited from interface org.eclipse.gef.mvc.fx.parts.IContentPartaddContentChild, attachToContentAnchorage, contentAnchoragesUnmodifiableProperty, contentChildrenUnmodifiableProperty, contentProperty, detachFromContentAnchorage, getContent, getContentAnchoragesUnmodifiable, getContentChildrenUnmodifiable, isFocusable, isSelectable, refreshContentAnchorages, refreshContentChildren, removeContentChild, reorderContentChild, setContentMethods inherited from interface org.eclipse.gef.common.dispose.IDisposabledisposeMethods inherited from interface org.eclipse.gef.mvc.fx.parts.IVisualPartaddChild, 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, setRefreshVisual
- 
Field Details- 
SOURCE_ROLEDefault role for the firstIBendableContentPart.BendPoint.- See Also:
 
- 
TARGET_ROLEDefault role for the lastIBendableContentPart.BendPoint.- See Also:
 
- 
CONTROL_ROLE_PREFIXDefault role prefix for intermediaryIBendableContentPart.BendPoints.- See Also:
 
 
- 
- 
Method Details- 
getBendableVisualDeprecated.This method is no longer used as part of theIBendableContentPartcontract. Reason is that IBendableContentPart is no longer bound to aConnectionvisual, while it still provides default behavior for that specific case.Returns the visual to bend.- Returns:
- The visual to bend.
 
- 
getContentBendPointsList<IBendableContentPart.BendPoint> getContentBendPoints()Returns the currentIBendableContentPart.BendPoints of thisIBendableContentPart's content.- Returns:
- The IBendableContentPart.BendPoints of thisIBendableContentPart's content.
 
- 
getContentSizeDescription copied from interface:IResizableContentPartReturns the current size according to this part's content.- Specified by:
- getContentSizein interface- IResizableContentPart<V extends javafx.scene.Node>
- Returns:
- The current size according to this part's content.
 
- 
getContentTransformdefault javafx.scene.transform.Affine getContentTransform()Description copied from interface:ITransformableContentPartReturns the currentAffineaccording to thisITransformableContentPart's content.- Specified by:
- getContentTransformin interface- ITransformableContentPart<V extends javafx.scene.Node>
- Returns:
- The current Affineaccording to thisITransformableContentPart's content.
 
- 
getRoleReturns the role that is used to determine theIAnchorfor theIBendableContentPart.BendPointat the given index of the givenListofIBendableContentPart.BendPoints.- Parameters:
- bendPoints- The- Listof- IBendableContentPart.BendPoints.
- index- The index specifying the- IBendableContentPart.BendPointfor which to determine the role.
- Returns:
- The role that is used to determine the IAnchorfor the specifiedIBendableContentPart.BendPoint.
 
- 
getVisualBendPointsReturns the currentIBendableContentPart.BendPoints of thisIBendableContentPart's visual.- Returns:
- The IBendableContentPart.BendPoints of thisIBendableContentPart's visual.
 
- 
getVisualSizeDescription copied from interface:IResizableContentPartReturns the current size according to thisIResizableContentPart's visual.- Specified by:
- getVisualSizein interface- IResizableContentPart<V extends javafx.scene.Node>
- Returns:
- The current size according to this IResizableContentPart's visual.
 
- 
getVisualTransformdefault javafx.scene.transform.Affine getVisualTransform()Description copied from interface:ITransformableContentPartReturns the current transform according to thisITransformableContentPart's visual.- Specified by:
- getVisualTransformin interface- ITransformableContentPart<V extends javafx.scene.Node>
- Returns:
- The current transform according to this
         ITransformableContentPart's visual.
 
- 
setContentBendPointsBends the content element as specified through the given bend points.- Parameters:
- bendPoints- The bend points.
 
- 
setContentSizeDescription copied from interface:IResizableContentPartResizes the content element as specified by the givenDimension.- Specified by:
- setContentSizein interface- IResizableContentPart<V extends javafx.scene.Node>
- Parameters:
- totalSize- The new size.
 
- 
setContentTransformdefault void setContentTransform(javafx.scene.transform.Affine totalTransform) Description copied from interface:ITransformableContentPartSet the content transformation as specified by the givenAffineTransform.- Specified by:
- setContentTransformin interface- ITransformableContentPart<V extends javafx.scene.Node>
- Parameters:
- totalTransform- The- AffineTransformto set.
 
- 
setVisualBendPointsBends the visual as specified by the given bend points.- Parameters:
- bendPoints- The bend points.
 
- 
setVisualSizeDescription copied from interface:IResizableContentPartResizes the visual of thisIResizableContentPartto the given size.- Specified by:
- setVisualSizein interface- IResizableContentPart<V extends javafx.scene.Node>
- Parameters:
- totalSize- The new size for this- IResizableContentPart's visual.
 
- 
setVisualTransformdefault void setVisualTransform(javafx.scene.transform.Affine totalTransform) Description copied from interface:ITransformableContentPart- Specified by:
- setVisualTransformin interface- ITransformableContentPart<V extends javafx.scene.Node>
- Parameters:
- totalTransform- The- Affinethat is to be set as the- visual transformof this- ITransformableContentPart.
 
 
- 
IBendableContentPartcontract.