public class EdgeContentPart extends AbstractFXContentPart<Connection>
EdgeContentPart is the controller for an Edge content
object. It uses Connection for the visualization.contentAnchoragesUnmodifiableProperty, contentChildrenUnmodifiableProperty, contentPropertyactiveProperty, adaptersProperty, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, childrenProperty, parentProperty, refreshVisualPropertyanchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, childrenProperty, parentProperty, refreshVisualPropertyadaptersPropertyactiveProperty| Modifier and Type | Class and Description |
|---|---|
static class |
EdgeContentPart.ArrowHead
The
EdgeContentPart.ArrowHead is used as a decoration for a connection
Connection. |
IAdaptable.Bound<A extends IAdaptable>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CSS_CLASS
The CSS class that is assigned to the
Connection of this
EdgeContentPart. |
static java.lang.String |
CSS_CLASS_CURVE
|
CONTENT_ANCHORAGES_PROPERTY, CONTENT_CHILDREN_PROPERTY, CONTENT_PROPERTYANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTYADAPTERS_PROPERTYACTIVE_PROPERTY| Constructor and Description |
|---|
EdgeContentPart() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child,
int index) |
protected void |
attachToAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected Connection |
createVisual() |
protected void |
detachFromAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
doActivate() |
protected void |
doDeactivate() |
protected com.google.common.collect.SetMultimap<? extends java.lang.Object,java.lang.String> |
doGetContentAnchorages() |
protected java.util.List<? extends java.lang.Object> |
doGetContentChildren() |
protected void |
doRefreshVisual(Connection visual) |
Edge |
getContent() |
protected GraphLayoutContext |
getGraphLayoutContext()
Returns the
GraphLayoutContext that corresponds to the
Graph to which the content of this EdgeContentPart
belongs. |
protected void |
removeChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child,
int index) |
addContentChild, attachToContentAnchorage, contentAnchoragesUnmodifiableProperty, contentChildrenUnmodifiableProperty, contentProperty, detachFromContentAnchorage, doAddContentChild, doAttachToContentAnchorage, doDetachFromContentAnchorage, doRemoveContentChild, doReorderContentChild, getContentAnchoragesUnmodifiable, getContentChildrenUnmodifiable, onContentChanged, recomputeContentChildren, register, registerAtContentPartMap, removeContentChild, reorderContentChild, setContent, unregister, unregisterFromContentPartMapactivate, activateChildren, activeProperty, adaptersProperty, addChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenProperty, deactivate, deactivateChildren, detachAnchored, detachFromAnchorage, detachFromAnchorage, determineViewer, dispose, getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, getAdapters, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getParent, getPolicies, getRoot, getViewer, getVisual, isActive, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, registerAtVisualPartMap, removeChild, removeChildren, reorderChild, setAdapter, setAdapter, setAdapter, setAdapter, setParent, setRefreshVisual, unregisterFromVisualPartMap, unsetAdapterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenProperty, detachAnchored, detachFromAnchorage, detachFromAnchorage, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getParent, getPolicies, getRoot, getVisual, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, removeChild, removeChildren, reorderChild, setParent, setRefreshVisualadaptersProperty, getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapteractivate, activeProperty, deactivate, isActivedisposepublic static final java.lang.String CSS_CLASS
Connection of this
EdgeContentPart.public static final java.lang.String CSS_CLASS_CURVE
protected void addChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child, int index)
addChildVisual in class AbstractVisualPart<javafx.scene.Node,Connection>protected void attachToAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage, java.lang.String role)
attachToAnchorageVisual in class AbstractVisualPart<javafx.scene.Node,Connection>protected Connection createVisual()
createVisual in class AbstractVisualPart<javafx.scene.Node,Connection>protected void detachFromAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage, java.lang.String role)
detachFromAnchorageVisual in class AbstractVisualPart<javafx.scene.Node,Connection>protected void doActivate()
doActivate in class AbstractVisualPart<javafx.scene.Node,Connection>protected void doDeactivate()
doDeactivate in class AbstractVisualPart<javafx.scene.Node,Connection>protected com.google.common.collect.SetMultimap<? extends java.lang.Object,java.lang.String> doGetContentAnchorages()
doGetContentAnchorages in class AbstractContentPart<javafx.scene.Node,Connection>protected java.util.List<? extends java.lang.Object> doGetContentChildren()
doGetContentChildren in class AbstractContentPart<javafx.scene.Node,Connection>protected void doRefreshVisual(Connection visual)
doRefreshVisual in class AbstractVisualPart<javafx.scene.Node,Connection>public Edge getContent()
getContent in interface IContentPart<javafx.scene.Node,Connection>getContent in class AbstractContentPart<javafx.scene.Node,Connection>protected GraphLayoutContext getGraphLayoutContext()
GraphLayoutContext that corresponds to the
Graph to which the content of this EdgeContentPart
belongs.GraphLayoutContext that corresponds to the
Graph to which the content of this
EdgeContentPart belongs.protected void removeChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child, int index)
removeChildVisual in class AbstractVisualPart<javafx.scene.Node,Connection>Copyright (c) 2014 itemis AG and others. All rights reserved.