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.
|
pcs
CONTENT_PROPERTY
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY
ADAPTERS_PROPERTY
ACTIVE_PROPERTY
Constructor and Description |
---|
GraphContentPart()
Constructs a new
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() |
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, registerNestedVisuals, unregisterFromVisualPartMap, unregisterNestedVisuals
addContentChild, attachToContentAnchorage, detachFromContentAnchorage, getContentAnchorages, register, registerAtContentPartMap, removeContentChild, unregister, unregisterFromContentPartMap
activate, addAnchorage, addAnchorage, addAnchored, addChild, addChild, addChildren, addChildren, addPropertyChangeListener, attachToAnchorageVisual, deactivate, detachFromAnchorageVisual, 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 ACTIVATION_COMPLETE_PROPERTY
activation
has finished.public static final java.lang.String SYNC_COMPLETE_PROPERTY
public GraphContentPart()
GraphContentPart
. Installs a "NoHoverPolicy" for
the GraphContentPart
, so that it will not be put into the
HoverModel
when hovered.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 java.util.List<java.lang.Object> getContentChildren()
getContentChildren
in interface IContentPart<javafx.scene.Node,javafx.scene.Group>
getContentChildren
in class AbstractContentPart<javafx.scene.Node,javafx.scene.Group>
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.