public abstract class GraphSceneImpl<N,E>
extends org.netbeans.api.visual.graph.GraphScene<N,E>
org.netbeans.api.visual.graph.GraphScene.StringGraph| Modifier and Type | Field and Description |
|---|---|
protected Map<N,org.netbeans.api.visual.anchor.Anchor> |
anchorMap |
protected org.netbeans.api.visual.widget.LayerWidget |
connLayer |
protected org.netbeans.api.visual.widget.LayerWidget |
intrLayer |
protected org.netbeans.api.visual.widget.LayerWidget |
mainLayer |
protected ShortestPathRouterAdapter |
router |
| Constructor and Description |
|---|
GraphSceneImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
attachEdgeSourceAnchor(E edge,
N oldSourceNode,
N sourceNode) |
protected void |
attachEdgeTargetAnchor(E edge,
N oldTargetNode,
N targetNode) |
protected PathTrackingConnectionWidget |
attachEdgeWidget(E edge) |
protected org.netbeans.api.visual.widget.Widget |
attachNodeWidget(N node) |
protected void |
detachNodeWidget(N node,
org.netbeans.api.visual.widget.Widget widget) |
BufferedImage |
export(StringBuilder buf,
Function<String,org.netbeans.api.visual.widget.Widget> hrefMapper,
Function<String,org.netbeans.api.visual.widget.Widget> titleMapper) |
org.netbeans.api.visual.widget.LayerWidget |
getConnectionLayer() |
void |
setAdjacentLineSpacing(int spacing) |
void |
setupForExportOnHeadless() |
protected abstract org.netbeans.api.visual.widget.Widget |
widgetForNode(N node) |
addEdge, addNode, detachEdgeWidget, findEdgesBetween, findNodeEdges, getEdges, getEdgeSource, getEdgeTarget, getNodes, isEdge, isNode, notifyEdgeAdded, notifyNodeAdded, removeEdge, removeNode, removeNodeWithEdges, setEdgeSource, setEdgeTargetaddObject, 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, updateResourcesprotected org.netbeans.api.visual.widget.LayerWidget mainLayer
protected org.netbeans.api.visual.widget.LayerWidget intrLayer
protected org.netbeans.api.visual.widget.LayerWidget connLayer
protected ShortestPathRouterAdapter router
public void setAdjacentLineSpacing(int spacing)
public org.netbeans.api.visual.widget.LayerWidget getConnectionLayer()
protected PathTrackingConnectionWidget attachEdgeWidget(E edge)
protected org.netbeans.api.visual.widget.Widget attachNodeWidget(N node)
protected abstract org.netbeans.api.visual.widget.Widget widgetForNode(N node)
protected void detachNodeWidget(N node, org.netbeans.api.visual.widget.Widget widget)
public void setupForExportOnHeadless()
public BufferedImage export(StringBuilder buf, Function<String,org.netbeans.api.visual.widget.Widget> hrefMapper, Function<String,org.netbeans.api.visual.widget.Widget> titleMapper)
Copyright © 2012. All Rights Reserved.