public class VMDGraphScene extends GraphPinScene<java.lang.String,java.lang.String,java.lang.String>
The scene has 4 layers: background, main, connection, upper.
The scene has following actions: zoom, panning, rectangular selection.
GraphPinScene.StringGraphScene.SceneListenerWidget.Dependency| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
PIN_ID_DEFAULT_SUFFIX |
| Constructor | Description |
|---|---|
VMDGraphScene() |
Creates a VMD graph scene.
|
VMDGraphScene(VMDColorScheme scheme) |
Creates a VMD graph scene with a specific color scheme.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
attachEdgeSourceAnchor(java.lang.String edge,
java.lang.String oldSourcePin,
java.lang.String sourcePin) |
Attaches an anchor of a source pin an edge.
|
protected void |
attachEdgeTargetAnchor(java.lang.String edge,
java.lang.String oldTargetPin,
java.lang.String targetPin) |
Attaches an anchor of a target pin an edge.
|
protected Widget |
attachEdgeWidget(java.lang.String edge) |
Implements attaching a widget to an edge.
|
protected Widget |
attachNodeWidget(java.lang.String node) |
Implements attaching a widget to a node.
|
protected Widget |
attachPinWidget(java.lang.String node,
java.lang.String pin) |
Implements attaching a widget to a pin.
|
void |
layoutScene() |
Invokes layout of the scene.
|
addEdge, addNode, addPin, detachEdgeWidget, detachNodeWidget, detachPinWidget, findEdgesBetween, findPinEdges, getEdges, getEdgeSource, getEdgeTarget, getNodePins, getNodes, getPinNode, getPins, isEdge, isNode, isPin, notifyEdgeAdded, notifyNodeAdded, notifyPinAdded, removeEdge, removeNode, removeNodeWithEdges, removePin, removePinWithEdges, setEdgeSource, setEdgeTargetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddObject, addObjectSceneListener, createObjectHoverAction, createSelectAction, findObject, findStoredObject, findWidget, findWidgets, getFocusedObject, getHighlightedObjects, getHoveredObject, getIdentityCode, getObjects, getObjectState, getSelectedObjects, isObject, removeObject, removeObjectSceneListener, setFocusedObject, setHighlightedObjects, setHoveredObject, setSelectedObjects, userSelectionSuggestedaddSceneListener, convertSceneToView, convertSceneToView, convertViewToScene, createBirdView, createSatelliteView, createView, createWidgetHoverAction, getActiveTool, getDefaultFont, getFocusedWidget, getGraphics, getInputBindings, getKeyEventProcessingType, getLookFeel, getMaximumBounds, getPriorActions, getResourceTable, getSceneAnimator, getView, getZoomFactor, isRepaintRequiredForRevalidating, isValidated, paint, removeSceneListener, setActiveTool, setFocusedWidget, setKeyEventProcessingType, setLookFeel, setMaximumBounds, setResourceTable, setZoomFactor, validate, validateaddChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, calculateClientArea, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, paintWidget, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setState, setToolTipText, setVisible, updateResourcespublic static final java.lang.String PIN_ID_DEFAULT_SUFFIX
public VMDGraphScene()
public VMDGraphScene(VMDColorScheme scheme)
scheme - the color schemeprotected Widget attachNodeWidget(java.lang.String node)
attachNodeWidget in class GraphPinScene<java.lang.String,java.lang.String,java.lang.String>node - the nodeprotected Widget attachPinWidget(java.lang.String node, java.lang.String pin)
attachPinWidget in class GraphPinScene<java.lang.String,java.lang.String,java.lang.String>node - the nodepin - the pinprotected Widget attachEdgeWidget(java.lang.String edge)
attachEdgeWidget in class GraphPinScene<java.lang.String,java.lang.String,java.lang.String>edge - the edgeprotected void attachEdgeSourceAnchor(java.lang.String edge,
java.lang.String oldSourcePin,
java.lang.String sourcePin)
attachEdgeSourceAnchor in class GraphPinScene<java.lang.String,java.lang.String,java.lang.String>edge - the edgeoldSourcePin - the old source pinsourcePin - the new source pinprotected void attachEdgeTargetAnchor(java.lang.String edge,
java.lang.String oldTargetPin,
java.lang.String targetPin)
attachEdgeTargetAnchor in class GraphPinScene<java.lang.String,java.lang.String,java.lang.String>edge - the edgeoldTargetPin - the old target pintargetPin - the new target pinpublic void layoutScene()
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.