org.netbeans.api.visual 2.21.1

org.netbeans.api.visual.vmd
Class VMDConnectionWidget

java.lang.Object
  extended by org.netbeans.api.visual.widget.Widget
      extended by org.netbeans.api.visual.widget.ConnectionWidget
          extended by org.netbeans.api.visual.vmd.VMDConnectionWidget
All Implemented Interfaces:
Accessible

public class VMDConnectionWidget
extends ConnectionWidget

This class represents a connection widget in the VMD visualization style. Can be combined with any other widget.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.ConnectionWidget
ConnectionWidget.RoutingPolicy
 
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget
Widget.Dependency
 
Constructor Summary
VMDConnectionWidget(Scene scene, Router router)
          Creates a connection widget with a specific router.
VMDConnectionWidget(Scene scene, VMDColorScheme scheme)
          Creates a connection widget with a specific color scheme.
 
Method Summary
 void notifyStateChanged(ObjectState previousState, ObjectState state)
          Implements the widget-state specific look of the widget.
 
Methods inherited from class org.netbeans.api.visual.widget.ConnectionWidget
calculateClientArea, calculateRouting, getControlPoint, getControlPointCutDistance, getControlPointHitAt, getControlPoints, getControlPointsCursor, getControlPointShape, getCursorAt, getEndPointShape, getFirstControlPoint, getLastControlPoint, getLineColor, getRouter, getRoutingPolicy, getSourceAnchor, getSourceAnchorEntry, getSourceAnchorShape, getStroke, getTargetAnchor, getTargetAnchorEntry, getTargetAnchorShape, getTargetAnchorShapeRotation, isFirstControlPointHitAt, isHitAt, isLastControlPointHitAt, isPaintControlPoints, isRouted, isValidated, paintWidget, removeConstraint, reroute, setConstraint, setConstraint, setControlPointCutDistance, setControlPoints, setControlPointsCursor, setControlPointShape, setEndPointShape, setLineColor, setPaintControlPoints, setRouter, setRoutingPolicy, 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, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMDConnectionWidget

public VMDConnectionWidget(Scene scene,
                           Router router)
Creates a connection widget with a specific router.

Parameters:
scene - the scene
router - the router

VMDConnectionWidget

public VMDConnectionWidget(Scene scene,
                           VMDColorScheme scheme)
Creates a connection widget with a specific color scheme.

Parameters:
scene - the scene
scheme - the color scheme
Method Detail

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 state
state - the new state

org.netbeans.api.visual 2.21.1

Built on February 22 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.