eu.esdihumboldt.hale.ui.views.styledmap.painter
Class AdvancedBoxArea
java.lang.Object
de.fhg.igd.mapviewer.marker.area.BoxArea
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 |
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)
checkminX
- the minimum x value of the areaminY
- the minimum y value of the areamaxX
- the maximum x value of the areamaxY
- the maximum y value of the area
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)
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d