public class GraphContentPart extends AbstractFXContentPart<javafx.scene.Group>
GraphContentPart is the controller for a Graph content
object. It fires two special property changes:
IAdaptable.Bound<A extends IAdaptable>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTIVATION_COMPLETE_PROPERTY
A property change event is fired as soon as
activation has finished. |
static java.lang.String |
SYNC_COMPLETE_PROPERTY
A property change event for this property name is fired when a content
synchronization, based on a Graph property change, has finished.
|
pcsCONTENT_ANCHORAGES_PROPERTY, CONTENT_CHILDREN_PROPERTY, CONTENT_PROPERTYANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTYADAPTERS_PROPERTYACTIVE_PROPERTY| Constructor and Description |
|---|
GraphContentPart() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child,
int index) |
protected javafx.scene.Group |
createVisual() |
protected void |
doActivate() |
protected void |
doDeactivate() |
void |
doRefreshVisual(javafx.scene.Group visual) |
Graph |
getContent() |
com.google.common.collect.SetMultimap<? extends java.lang.Object,java.lang.String> |
getContentAnchorages() |
java.util.List<java.lang.Object> |
getContentChildren() |
protected void |
removeChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child,
int index) |
void |
setContent(java.lang.Object content) |
registerAtVisualPartMap, unregisterFromVisualPartMapaddContentChild, attachToContentAnchorage, detachFromContentAnchorage, doAddContentChild, doAttachToContentAnchorage, doDetachFromContentAnchorage, doRemoveContentChild, doReorderContentChild, register, registerAtContentPartMap, removeContentChild, reorderContentChild, unregister, unregisterFromContentPartMapactivate, addChild, addChild, addChildren, addChildren, addPropertyChangeListener, attachAnchored, attachToAnchorage, attachToAnchorage, attachToAnchorageVisual, deactivate, detachAnchored, detachFromAnchorage, detachFromAnchorage, detachFromAnchorageVisual, dispose, getAdapter, getAdapter, getAdapter, getAdapters, getAdapters, getAnchorages, getAnchoreds, getBehaviors, getChildren, getParent, getPolicies, getRoot, getViewer, getVisual, isActive, isRefreshVisual, refreshVisual, removeChild, removeChildren, removePropertyChangeListener, reorderChild, setAdapter, setAdapter, setAdapter, setAdapter, setParent, setRefreshVisual, unsetAdapterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChild, addChild, addChildren, addChildren, attachAnchored, attachToAnchorage, attachToAnchorage, detachAnchored, detachFromAnchorage, detachFromAnchorage, getAnchorages, getAnchoreds, getBehaviors, getChildren, getParent, getPolicies, getRoot, getVisual, isRefreshVisual, refreshVisual, removeChild, removeChildren, reorderChild, setParent, setRefreshVisualgetAdapter, getAdapter, getAdapter, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapteractivate, deactivate, isActiveaddPropertyChangeListener, removePropertyChangeListenerdisposepublic static final java.lang.String ACTIVATION_COMPLETE_PROPERTY
activation has finished.public static final java.lang.String SYNC_COMPLETE_PROPERTY
protected void addChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child, int index)
addChildVisual in class AbstractVisualPart<javafx.scene.Node,javafx.scene.Group>protected javafx.scene.Group createVisual()
createVisual in class AbstractVisualPart<javafx.scene.Node,javafx.scene.Group>protected void doActivate()
doActivate in class AbstractVisualPart<javafx.scene.Node,javafx.scene.Group>protected void doDeactivate()
doDeactivate in class AbstractVisualPart<javafx.scene.Node,javafx.scene.Group>public void doRefreshVisual(javafx.scene.Group visual)
doRefreshVisual in class AbstractVisualPart<javafx.scene.Node,javafx.scene.Group>public Graph getContent()
getContent in interface IContentPart<javafx.scene.Node,javafx.scene.Group>getContent in class AbstractContentPart<javafx.scene.Node,javafx.scene.Group>public com.google.common.collect.SetMultimap<? extends java.lang.Object,java.lang.String> getContentAnchorages()
public java.util.List<java.lang.Object> getContentChildren()
protected void removeChildVisual(IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> child, int index)
removeChildVisual in class AbstractVisualPart<javafx.scene.Node,javafx.scene.Group>public void setContent(java.lang.Object content)
setContent in interface IContentPart<javafx.scene.Node,javafx.scene.Group>setContent in class AbstractContentPart<javafx.scene.Node,javafx.scene.Group>Copyright (c) 2014 itemis AG and others. All rights reserved.