|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.layer.location.AbstractLocationHandler
org.ascape.gis.view.MapLocationHandler
public class MapLocationHandler
This is a handler that open map uses to determine objects to be painted. Most of its activities are delegated to the MapView. (We can't simply define this as an inner class of MapView, because OpenMap wants to create it directly.)
| Field Summary |
|---|
| Fields inherited from class com.bbn.openmap.layer.location.AbstractLocationHandler |
|---|
locationColor, nameColor, propertyPrefix, zLayer |
| Fields inherited from interface com.bbn.openmap.layer.location.LocationHandler |
|---|
defaultLocationColorString, defaultNameColorString, forceGlobalCommand, ForceGlobalProperty, LocationColorProperty, NameColorProperty, readDataCommand, showdetails, showLocationsCommand, ShowLocationsProperty, showname, showNamesCommand, ShowNamesProperty |
| Fields inherited from interface com.bbn.openmap.PropertyConsumer |
|---|
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty |
| Constructor Summary | |
|---|---|
MapLocationHandler()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
A no op. |
void |
fillLocationPopUpMenu(com.bbn.openmap.layer.location.LocationPopupMenu locMenu)
Fills the LocationPopupMenu with MenuItems |
java.util.Vector |
get(float nwLat,
float nwLon,
float seLat,
float seLon,
java.util.Vector graphicList)
Returns a list of graphics that are within a specified region Part of Abstract Location Handler contract. |
void |
mouseClicked(java.awt.event.MouseEvent e)
A no op. |
void |
mouseDragged(java.awt.event.MouseEvent e)
A no op. |
void |
mouseEntered(java.awt.event.MouseEvent e)
A no op. |
void |
mouseExited(java.awt.event.MouseEvent e)
A no op. |
void |
mousePressed(java.awt.event.MouseEvent e)
Method. |
void |
mouseReleased(java.awt.event.MouseEvent e)
A no op. |
void |
reloadData()
A no op. |
void |
setView(MapView view)
Sets view for the MapLocationHandler object. |
| Methods inherited from class com.bbn.openmap.layer.location.AbstractLocationHandler |
|---|
getGUI, getLayer, getLocationColor, getNameColor, getProperties, getPropertyInfo, getPropertyPrefix, isForceGlobal, isShowLocations, isShowNames, removed, setForceGlobal, setLayer, setLocationColor, setNameColor, setProperties, setProperties, setPropertyPrefix, setShowLocations, setShowNames |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapLocationHandler()
| Method Detail |
|---|
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenere - a MouseEventpublic void mouseDragged(java.awt.event.MouseEvent e)
e - a MouseEventpublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenere - a MouseEventpublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenere - a MouseEventpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenere - parameterpublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenere - a MouseEventpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - a MouseEventpublic void reloadData()
reloadData in interface com.bbn.openmap.layer.location.LocationHandlerpublic void fillLocationPopUpMenu(com.bbn.openmap.layer.location.LocationPopupMenu locMenu)
fillLocationPopUpMenu in interface com.bbn.openmap.layer.location.LocationHandlerfillLocationPopUpMenu in class com.bbn.openmap.layer.location.AbstractLocationHandlerlocMenu - a LocationPopupMenu
public java.util.Vector get(float nwLat,
float nwLon,
float seLat,
float seLon,
java.util.Vector graphicList)
get in interface com.bbn.openmap.layer.location.LocationHandlernwLat - nw lat cornernwLon - nw lon cornerseLat - se lat cornerseLon - se lon cornergraphicList - the graphicList
public void setView(MapView view)
view - the view
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||