ilog.views.maps.label
Class IlvLabelingAreas

java.lang.Object
  extended by ilog.views.maps.label.IlvLabelingAreas

public class IlvLabelingAreas
extends Object

Class to manage a list of Rectangle2D objects.

Since:
JViews 7.5

Constructor Summary
IlvLabelingAreas(Rectangle2D initialBounds)
          Constructor.
 
Method Summary
 void add(Rectangle2D newRegion)
          Add a new Rectangle2D to the list.
 boolean intersects(Rectangle2D testRegion)
          Test whether the specified region intersects any element of the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvLabelingAreas

public IlvLabelingAreas(Rectangle2D initialBounds)
Constructor.

Parameters:
initialBounds - The bounds enclosing all objects added.
Method Detail

add

public void add(Rectangle2D newRegion)
Add a new Rectangle2D to the list.

Parameters:
newRegion - Region to add.

intersects

public boolean intersects(Rectangle2D testRegion)
Test whether the specified region intersects any element of the list.

Parameters:
testRegion - The Rectangle2D to be tested.
Returns:
true if the region intersects the rectangle.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.