public class EdgeContentPart extends AbstractFXContentPart<FXConnection>
EdgeContentPart is the controller for an Edge content
object. It uses FXConnection for the visualization.| Modifier and Type | Class and Description |
|---|---|
static class |
EdgeContentPart.ArrowHead
The
EdgeContentPart.ArrowHead is an IFXDecoration implementation that can
be used to displays an arrow at either side of an FXConnection. |
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
FXConnection of this
EdgeContentPart. |
static java.lang.String |
CSS_CLASS_CURVE
|
static java.lang.String |
CSS_CLASS_LABEL
The CSS class that is assigned to the visualization of the
EdgeLabelPart of this EdgeContentPart. |
pcsCONTENT_PROPERTYANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_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 FXConnection |
createVisual() |
protected void |
detachFromAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage,
java.lang.String role) |
protected void |
doActivate() |
protected void |
doDeactivate() |
void |
doRefreshVisual(FXConnection visual) |
Edge |
getContent() |
com.google.common.collect.SetMultimap<java.lang.Object,java.lang.String> |
getContentAnchorages() |
protected GraphLayoutContext |
getGraphLayoutContext()
Returns the
GraphLayoutContext that corresponds to the
Graph to which the content of this EdgeContentPart
belongs. |
protected void |
register(IViewer<javafx.scene.Node> viewer) |
protected void |
removeChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child,
int index) |
void |
setContent(java.lang.Object content) |
protected void |
unregister(IViewer<javafx.scene.Node> viewer) |
registerAtVisualPartMap, registerNestedVisuals, unregisterFromVisualPartMap, unregisterNestedVisualsaddContentChild, attachToContentAnchorage, detachFromContentAnchorage, getContentChildren, registerAtContentPartMap, removeContentChild, unregisterFromContentPartMapactivate, addAnchorage, addAnchorage, addAnchored, addChild, addChild, addChildren, addChildren, addPropertyChangeListener, deactivate, dispose, getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, getAnchorages, getAnchoreds, getBehaviors, getChildren, getParent, getPolicies, getRoot, getViewer, getVisual, isActive, isRefreshVisual, refreshVisual, removeAnchorage, removeAnchorage, removeAnchored, removeChild, removeChildren, removePropertyChangeListener, reorderChild, setAdapter, setAdapter, setAdapter, setAdapters, setParent, setRefreshVisual, unsetAdapterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAnchorage, addAnchorage, addAnchored, addChild, addChild, addChildren, addChildren, getAnchorages, getAnchoreds, getBehaviors, getChildren, getParent, getPolicies, getRoot, getVisual, isRefreshVisual, refreshVisual, removeAnchorage, removeAnchorage, removeAnchored, removeChild, removeChildren, reorderChild, setParent, setRefreshVisualgetAdapter, getAdapter, getAdapter, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, unsetAdapteractivate, deactivate, isActiveaddPropertyChangeListener, removePropertyChangeListenerdisposepublic static final java.lang.String CSS_CLASS
FXConnection of this
EdgeContentPart.public static final java.lang.String CSS_CLASS_CURVE
public static final java.lang.String CSS_CLASS_LABEL
EdgeLabelPart of this EdgeContentPart.protected void addChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child, int index)
addChildVisual in class AbstractVisualPart<javafx.scene.Node,FXConnection>protected void attachToAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage, java.lang.String role)
attachToAnchorageVisual in class AbstractVisualPart<javafx.scene.Node,FXConnection>protected FXConnection createVisual()
createVisual in class AbstractVisualPart<javafx.scene.Node,FXConnection>protected void detachFromAnchorageVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> anchorage, java.lang.String role)
detachFromAnchorageVisual in class AbstractVisualPart<javafx.scene.Node,FXConnection>protected void doActivate()
doActivate in class AbstractVisualPart<javafx.scene.Node,FXConnection>protected void doDeactivate()
doDeactivate in class AbstractVisualPart<javafx.scene.Node,FXConnection>public void doRefreshVisual(FXConnection visual)
doRefreshVisual in class AbstractVisualPart<javafx.scene.Node,FXConnection>public Edge getContent()
getContent in interface IContentPart<javafx.scene.Node,FXConnection>getContent in class AbstractContentPart<javafx.scene.Node,FXConnection>public com.google.common.collect.SetMultimap<java.lang.Object,java.lang.String> getContentAnchorages()
getContentAnchorages in interface IContentPart<javafx.scene.Node,FXConnection>getContentAnchorages in class AbstractContentPart<javafx.scene.Node,FXConnection>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 register(IViewer<javafx.scene.Node> viewer)
register in class AbstractContentPart<javafx.scene.Node,FXConnection>protected void removeChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child, int index)
removeChildVisual in class AbstractVisualPart<javafx.scene.Node,FXConnection>public void setContent(java.lang.Object content)
setContent in interface IContentPart<javafx.scene.Node,FXConnection>setContent in class AbstractContentPart<javafx.scene.Node,FXConnection>protected void unregister(IViewer<javafx.scene.Node> viewer)
unregister in class AbstractContentPart<javafx.scene.Node,FXConnection>Copyright (c) 2014 itemis AG and others. All rights reserved.