Class EdgeWidget
java.lang.Object
org.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.ConnectionWidget
org.praxislive.ide.pxr.graph.scene.EdgeWidget
- All Implemented Interfaces:
Accessible,org.openide.util.Lookup.Provider
public class EdgeWidget
extends org.netbeans.api.visual.widget.ConnectionWidget
A connection (edge) widget within a
PraxisGraphScene.-
Nested Class Summary
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.ConnectionWidget
org.netbeans.api.visual.widget.ConnectionWidget.RoutingPolicyNested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.Widget.Dependency -
Method Summary
Modifier and TypeMethodDescriptionprotected Rectanglebooleanprotected voidprotected voidvoidnotifyStateChanged(org.netbeans.api.visual.model.ObjectState previousState, org.netbeans.api.visual.model.ObjectState state) Implements the widget-state specific look of the widget.protected voidvoidsetControlPoints(Collection<Point> controlPoints, boolean sceneLocations) Methods inherited from class org.netbeans.api.visual.widget.ConnectionWidget
calculateRouting, getControlPoint, getControlPointCutDistance, getControlPointHitAt, getControlPoints, getControlPointsCursor, getControlPointShape, getCursorAt, getEndPointShape, getFirstControlPoint, getLastControlPoint, getLineColor, getRouter, getRoutingPolicy, getSourceAnchor, getSourceAnchorEntry, getSourceAnchorShape, getStroke, getTargetAnchor, getTargetAnchorEntry, getTargetAnchorShape, getTargetAnchorShapeRotation, isFirstControlPointHitAt, isLastControlPointHitAt, isPaintControlPoints, isRouted, isValidated, removeConstraint, reroute, setConstraint, setConstraint, setControlPointCutDistance, setControlPointsCursor, setControlPointShape, setEndPointShape, setLineColor, setPaintControlPoints, setRouter, setRoutingPolicy, setSourceAnchor, setSourceAnchorShape, setStroke, setTargetAnchor, setTargetAnchorShapeMethods inherited from class org.netbeans.api.visual.widget.Widget
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isVisible, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, paint, paintBackground, paintBorder, paintChildren, 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, setResourceTable, setState, setToolTipText, setVisible, updateResources
-
Method Details
-
setControlPoints
- Overrides:
setControlPointsin classorg.netbeans.api.visual.widget.ConnectionWidget
-
notifyAdded
protected void notifyAdded()- Overrides:
notifyAddedin classorg.netbeans.api.visual.widget.Widget
-
notifyRemoved
protected void notifyRemoved()- Overrides:
notifyRemovedin classorg.netbeans.api.visual.widget.Widget
-
notifyStateChanged
public void notifyStateChanged(org.netbeans.api.visual.model.ObjectState previousState, org.netbeans.api.visual.model.ObjectState state) Implements the widget-state specific look of the widget.- Overrides:
notifyStateChangedin classorg.netbeans.api.visual.widget.ConnectionWidget- Parameters:
previousState- the previous statestate- the new state
-
calculateClientArea
- Overrides:
calculateClientAreain classorg.netbeans.api.visual.widget.ConnectionWidget
-
isHitAt
- Overrides:
isHitAtin classorg.netbeans.api.visual.widget.ConnectionWidget
-
paintWidget
protected void paintWidget()- Overrides:
paintWidgetin classorg.netbeans.api.visual.widget.ConnectionWidget
-