com.partnersoft.maps.app
Class MapConnectivityLogic

java.lang.Object
  extended by com.partnersoft.maps.app.MapConnectivityLogic

public class MapConnectivityLogic
extends java.lang.Object

Various methods to simplify tracing and other connectivity tasks.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
MapConnectivityLogic(MapApp app)
           
 
Method Summary
 void initialize()
           
 MapDataItem uplineElementAt(XyPoint point)
           
 MapDataItem uplineElementOf(MapDataItem item)
          Returns the immediate upline parent for the given item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapConnectivityLogic

public MapConnectivityLogic(MapApp app)
Method Detail

initialize

public void initialize()

uplineElementAt

public MapDataItem uplineElementAt(XyPoint point)

uplineElementOf

public MapDataItem uplineElementOf(MapDataItem item)
Returns the immediate upline parent for the given item. Returns null if the item is not an electrical element, or if it's disconnected. Returns the first solution found if there is more than one.

Parameters:
item -
Returns: