org.netbeans.api.visual 2.28.1

org.netbeans.api.visual.action
Interface ReconnectDecorator


public interface ReconnectDecorator

This interface decorates a reconnect action.


Method Summary
 Anchor createFloatAnchor(Point location)
          Creates a floating anchor for a specified location when there is no replacement a widget
 Anchor createReplacementWidgetAnchor(Widget replacementWidget)
          Creates an anchor for a specified replacement widget (of a connection source or target which is going to be reconnected).
 

Method Detail

createReplacementWidgetAnchor

Anchor createReplacementWidgetAnchor(Widget replacementWidget)
Creates an anchor for a specified replacement widget (of a connection source or target which is going to be reconnected).

Parameters:
replacementWidget - the replacement widget
Returns:
the anchor

createFloatAnchor

Anchor createFloatAnchor(Point location)
Creates a floating anchor for a specified location when there is no replacement a widget

Parameters:
location - the scene location
Returns:
the floating anchor; usually FixedAnchor

org.netbeans.api.visual 2.28.1

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