|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.Scene
org.netbeans.api.visual.model.ObjectScene
org.netbeans.api.visual.graph.GraphScene<N,E>
com.googlecode.sarasvati.visual.common.GraphSceneImpl<N,E>
public abstract class GraphSceneImpl<N,E>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.netbeans.api.visual.graph.GraphScene |
|---|
org.netbeans.api.visual.graph.GraphScene.StringGraph |
| Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Scene |
|---|
org.netbeans.api.visual.widget.Scene.SceneListener |
| Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget |
|---|
org.netbeans.api.visual.widget.Widget.Dependency |
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
GraphSceneImpl()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.netbeans.api.visual.graph.GraphScene |
|---|
addEdge, addNode, detachEdgeWidget, findEdgesBetween, findNodeEdges, getEdges, getEdgeSource, getEdgeTarget, getNodes, isEdge, isNode, notifyEdgeAdded, notifyNodeAdded, removeEdge, removeNode, removeNodeWithEdges, setEdgeSource, setEdgeTarget |
| Methods inherited from class org.netbeans.api.visual.model.ObjectScene |
|---|
addObject, addObjectSceneListener, createObjectHoverAction, createSelectAction, findObject, findStoredObject, findWidget, findWidgets, getFocusedObject, getHighlightedObjects, getHoveredObject, getIdentityCode, getObjects, getObjectState, getSelectedObjects, isObject, removeObject, removeObjectSceneListener, setFocusedObject, setHighlightedObjects, setHoveredObject, setSelectedObjects, userSelectionSuggested |
| Methods inherited from class org.netbeans.api.visual.widget.Scene |
|---|
addSceneListener, 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, validate |
| Methods inherited from class org.netbeans.api.visual.widget.Widget |
|---|
addChild, 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, updateResources |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected 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
protected Map<N,org.netbeans.api.visual.anchor.Anchor> anchorMap
| Constructor Detail |
|---|
public GraphSceneImpl()
| Method Detail |
|---|
public void setAdjacentLineSpacing(int spacing)
public org.netbeans.api.visual.widget.LayerWidget getConnectionLayer()
protected void attachEdgeSourceAnchor(E edge,
N oldSourceNode,
N sourceNode)
attachEdgeSourceAnchor in class org.netbeans.api.visual.graph.GraphScene<N,E>
protected void attachEdgeTargetAnchor(E edge,
N oldTargetNode,
N targetNode)
attachEdgeTargetAnchor in class org.netbeans.api.visual.graph.GraphScene<N,E>protected PathTrackingConnectionWidget attachEdgeWidget(E edge)
attachEdgeWidget in class org.netbeans.api.visual.graph.GraphScene<N,E>protected org.netbeans.api.visual.widget.Widget attachNodeWidget(N node)
attachNodeWidget in class org.netbeans.api.visual.graph.GraphScene<N,E>protected abstract org.netbeans.api.visual.widget.Widget widgetForNode(N node)
protected void detachNodeWidget(N node,
org.netbeans.api.visual.widget.Widget widget)
detachNodeWidget in class org.netbeans.api.visual.graph.GraphScene<N,E>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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||