com.yworks.yfiles.server.tiles.demos
Class SelectReachableNodesAction

java.lang.Object
  extended bycom.yworks.yfiles.server.tiles.demos.SelectReachableNodesAction
All Implemented Interfaces:
ActionHandler

public class SelectReachableNodesAction
extends Object
implements ActionHandler

This class implements an action which sends the nodes reachable from a single input node back to the client. The input node is not included in the result. This action does nothing, if zero or more than one nodes are sent from the client.


Constructor Summary
SelectReachableNodesAction()
           
 
Method Summary
 void handleAction(ActionContext context, ClientControl control)
          computes the nodes which are reachable starting at a single node provided by the client and sends the result back.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectReachableNodesAction

public SelectReachableNodesAction()
Method Detail

handleAction

public void handleAction(ActionContext context,
                         ClientControl control)
computes the nodes which are reachable starting at a single node provided by the client and sends the result back. This action does nothing, if no graph is available or if zero or more than one nodes are sent from the client.

Specified by:
handleAction in interface ActionHandler
Parameters:
context - the context
control - the control


Copyright © 2006-2010 yWorks GmbH. All rights reserved