com.partnersoft.modules.inspection.ephemera
Class MultiBoundsWatcherEphemeron

java.lang.Object
  extended by com.partnersoft.modules.inspection.ephemera.AbstractSmartEphemeron
      extended by com.partnersoft.modules.inspection.ephemera.MultiBoundsWatcherEphemeron
All Implemented Interfaces:
com.partnersoft.maps.ephemera.Ephemeron

public class MultiBoundsWatcherEphemeron
extends AbstractSmartEphemeron


Constructor Summary
MultiBoundsWatcherEphemeron(com.partnersoft.maps.ephemera.Ephemeron appropriateEphemeron, com.partnersoft.maps.ephemera.Ephemeron inappropriateEphemeron, java.util.List<com.partnersoft.geometry.xy.XyBounds> allBounds)
          Creates a new AllBoundsWatcherEphemeron with the given XyBounds list.
 
Method Summary
 boolean isAppropriate(com.partnersoft.maps.render.DrawingSurface surface, com.partnersoft.maps.model.MapViewFrame frame, com.partnersoft.geometry.xy.XyPoint mousePosition)
           
 
Methods inherited from class com.partnersoft.modules.inspection.ephemera.AbstractSmartEphemeron
draw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiBoundsWatcherEphemeron

public MultiBoundsWatcherEphemeron(com.partnersoft.maps.ephemera.Ephemeron appropriateEphemeron,
                                   com.partnersoft.maps.ephemera.Ephemeron inappropriateEphemeron,
                                   java.util.List<com.partnersoft.geometry.xy.XyBounds> allBounds)
Creates a new AllBoundsWatcherEphemeron with the given XyBounds list.

Parameters:
appropriateEphemeron -
inappropriateEphemeron -
allBounds -
Method Detail

isAppropriate

public boolean isAppropriate(com.partnersoft.maps.render.DrawingSurface surface,
                             com.partnersoft.maps.model.MapViewFrame frame,
                             com.partnersoft.geometry.xy.XyPoint mousePosition)
Specified by:
isAppropriate in class AbstractSmartEphemeron
Returns:
- true if current mouse position is within any of the given bounds. False otherwise.