站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

ReconnectDecorator (Visual Library API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.api.visual 2.2

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.2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.