* Query asked from the MouseDelegator for interest in receiving
* MapMouseEvents. This returns a MapMouseInterpreter that has been told to
* listen for events from the MapMouseModes in setMouseModeIDsForEvents().
*/
public MapMouseListener getMapMouseListener() {
MapMouseListener mml = getMouseEventInterpreter();
if (mml != null) {
if (Debug.debugging("layer")) {
String[] modes = mml.getMouseModeServiceList();
StringBuffer sb = new StringBuffer();
for (int i = 0; i < modes.length; i++) {
sb.append(modes[i] + ", ");
}
Debug.output("Layer " + getName() + " returning "
+ mml.getClass().getName()
+ " as map mouse listener that listens to: "
+ sb.toString());
}
}