com.tensegrity.graph.rule.handler
Interface VisualNodeMovedInSubgraphHandler


public interface VisualNodeMovedInSubgraphHandler

This class is a functional handler that is optionally invoked by the API as a callback when a node is moved within the bounds of a subgraph.

Version:
$Id: VisualNodeMovedInSubgraphHandler.java,v 1.6 2005/04/04 07:22:54 MichaelKegel Exp $
Author:
StepanRutz

Method Summary
 void nodeMovedInSubgraph(VisualNodeMovedInSubgraphInfo info)
          Callback that is invoked when a node is moved within a VisualSubgraph.
 boolean showNodeMovedInSubgraphHighlight(VisualNodeMoveInSubgraphHighlightInfo info)
          Callback that is invoked when a highlight for a node-move-in-subgraph is about to be shown.
 

Method Detail

nodeMovedInSubgraph

public void nodeMovedInSubgraph(VisualNodeMovedInSubgraphInfo info)
Callback that is invoked when a node is moved within a VisualSubgraph.

Parameters:
info - instanceof VisualNodeMovedInSubgraphInfo parameter holder class.

showNodeMovedInSubgraphHighlight

public boolean showNodeMovedInSubgraphHighlight(VisualNodeMoveInSubgraphHighlightInfo info)
Callback that is invoked when a highlight for a node-move-in-subgraph is about to be shown. This method is invoked and allows the client to customize whether a highlight shall appear or not.
Returning false from this method indicates that the API should suppress the node-move-in-subgraph highlight.

Parameters:
info - an object that carries the information needed to decide whether to show the node-move-in-subgraph or not.
Returns:
true if you want to display the highlight, otherwise false>


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.