Package worldBuilder
Interface MapListener
-
- All Known Implementing Classes:
CityDialog
,ExportBase
,FaunaDialog
,FloraDialog
,FoundationExport
,LandDialog
,MineralDialog
,MountainDialog
,ObjectExport
,POIDialog
,PointDebug
,RainDialog
,RawExport
,RegionDialog
,ResourceDialog
,RiverDialog
,RouteDialog
,RPGMexport
,ZoomDialog
public interface MapListener
interface for call-backs resulting from select clicks/drags on the Map
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
groupSelected(boolean[] selected, boolean complete)
called when a group of points is selected on the mapboolean
pointSelected(double map_x, double map_y)
called when a point is selected on the mapboolean
regionSelected(double map_x0, double map_y0, double width, double height, boolean complete)
called whenever a region selection changes
-
-
-
Method Detail
-
regionSelected
boolean regionSelected(double map_x0, double map_y0, double width, double height, boolean complete)
called whenever a region selection changes- Parameters:
map_x0
- left most point (map coordinate)map_y0
- upper most point (map coordinate)width
- (in map units)height
- (in map units)complete
- boolean, has selection completed- Returns:
- boolean (should selection continue)
-
pointSelected
boolean pointSelected(double map_x, double map_y)
called when a point is selected on the map- Parameters:
map_x
- (map coordinate)map_y
- (map coordinate)- Returns:
- ignored ... selection is complete
-
groupSelected
boolean groupSelected(boolean[] selected, boolean complete)
called when a group of points is selected on the map- Parameters:
selected
- array of per point booleans (true=selected)complete
- mouse button has been released- Returns:
- boolean (should selection continue)
-
-