public class EdgeContentPart extends AbstractFXContentPart<FXConnection>
Modifier and Type | Class and Description |
---|---|
static class |
EdgeContentPart.ArrowHead |
IAdaptable.Bound<A extends IAdaptable>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CSS_CLASS |
static java.lang.String |
CSS_CLASS_CURVE |
static java.lang.String |
CSS_CLASS_LABEL |
pcs
CONTENT_PROPERTY
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY
ADAPTERS_PROPERTY
ACTIVE_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 LayoutModel |
getLayoutModel() |
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, unregisterNestedVisuals
addContentChild, attachToContentAnchorage, detachFromContentAnchorage, getContentChildren, registerAtContentPartMap, removeContentChild, unregisterFromContentPartMap
activate, 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, unsetAdapter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAnchorage, addAnchorage, addAnchored, addChild, addChild, addChildren, addChildren, getAnchorages, getAnchoreds, getBehaviors, getChildren, getParent, getPolicies, getRoot, getVisual, isRefreshVisual, refreshVisual, removeAnchorage, removeAnchorage, removeAnchored, removeChild, removeChildren, reorderChild, setParent, setRefreshVisual
getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, unsetAdapter
activate, deactivate, isActive
addPropertyChangeListener, removePropertyChangeListener
dispose
public static final java.lang.String CSS_CLASS
public static final java.lang.String CSS_CLASS_CURVE
public static final java.lang.String CSS_CLASS_LABEL
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 LayoutModel getLayoutModel()
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.