gistoolkit.display.labeler
Class OverlapManager

java.lang.Object
  extended bygistoolkit.display.labeler.OverlapManager

public class OverlapManager
extends java.lang.Object

Class to handle if overlaps are to be allowed are not.


Constructor Summary
OverlapManager()
          Creates a new instance of OverlapManager
 
Method Summary
 void clear()
          Clear the contents of the overlap manager.
 boolean isOverLaps(int inLocX, int inLocY, int inWidth, int inHeight)
          Checks if this is an overlaping value.
 boolean isOverLaps(java.awt.Shape inShape)
          Checks if this is an overlaping value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlapManager

public OverlapManager()
Creates a new instance of OverlapManager

Method Detail

isOverLaps

public boolean isOverLaps(int inLocX,
                          int inLocY,
                          int inWidth,
                          int inHeight)
Checks if this is an overlaping value. Always returns false if overlaps are allowed.


isOverLaps

public boolean isOverLaps(java.awt.Shape inShape)
Checks if this is an overlaping value. Always returns false if overlaps are allowed.


clear

public void clear()
Clear the contents of the overlap manager.