Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.styledmap.painter
Class AdvancedBoxArea

java.lang.Object
  extended by de.fhg.igd.mapviewer.marker.area.BoxArea
      extended by eu.esdihumboldt.hale.ui.views.styledmap.painter.AdvancedBoxArea
All Implemented Interfaces:
de.fhg.igd.mapviewer.marker.area.Area

public class AdvancedBoxArea
extends de.fhg.igd.mapviewer.marker.area.BoxArea

Create a box area where an AWT area provides a more accurate contains(int, int).

Author:
Sebastian Reinhardt

Constructor Summary
AdvancedBoxArea(Area area, int minX, int minY, int maxX, int maxY)
          Create an area.
 
Method Summary
 boolean contains(int x, int y)
           
 
Methods inherited from class de.fhg.igd.mapviewer.marker.area.BoxArea
containedIn, containedIn, getArea
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdvancedBoxArea

public AdvancedBoxArea(Area area,
                       int minX,
                       int minY,
                       int maxX,
                       int maxY)
Create an area.

Parameters:
area - AWT area to use for the contains(int, int) check
minX - the minimum x value of the area
minY - the minimum y value of the area
maxX - the maximum x value of the area
maxY - the maximum y value of the area
Method Detail

contains

public boolean contains(int x,
                        int y)
Specified by:
contains in interface de.fhg.igd.mapviewer.marker.area.Area
Overrides:
contains in class de.fhg.igd.mapviewer.marker.area.BoxArea
See Also:
Area.contains(int, int)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d