当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
VMDConnectionWidget (Visual Library API) - NetBeans API Javadoc (Current Development Version)
org.netbeans.api.visual.vmd
Class VMDConnectionWidget
java.lang.Object
org.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.ConnectionWidget
org.netbeans.api.visual.vmd.VMDConnectionWidget
public class VMDConnectionWidget
- extends ConnectionWidget
This class represents a connection widget in the VMD visualization style. Can be combined with any other widget.
Methods inherited from class org.netbeans.api.visual.widget.ConnectionWidget |
calculateClientArea, calculateRouting, getControlPoint, getControlPointHitAt, getControlPoints, getControlPointShape, getEndPointShape, getFirstControlPoint, getLastControlPoint, getLineColor, getRouter, getSourceAnchor, getSourceAnchorEntry, getSourceAnchorShape, getStroke, getTargetAnchor, getTargetAnchorEntry, getTargetAnchorShape, getTargetAnchorShapeRotation, isFirstControlPointHitAt, isHitAt, isLastControlPointHitAt, isPaintControlPoints, isRouted, isValidated, paintWidget, removeConstraint, reroute, setConstraint, setConstraint, setControlPoints, setControlPointShape, setEndPointShape, setLineColor, setPaintControlPoints, setRouter, setSourceAnchor, setSourceAnchorShape, setStroke, setTargetAnchor, setTargetAnchorShape |
Methods 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, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isVisible, notifyAdded, notifyRemoved, paint, paintBackground, paintBorder, paintChildren, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setForeground, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setState, setToolTipText, setVisible |
VMDConnectionWidget
public VMDConnectionWidget(Scene scene,
Router router)
- Creates a connection widget.
- Parameters:
scene
- the scenerouter
-
notifyStateChanged
public void notifyStateChanged(ObjectState previousState,
ObjectState state)
- Implements the widget-state specific look of the widget.
- Overrides:
notifyStateChanged
in class ConnectionWidget
- Parameters:
previousState
- the previous statestate
- the new state