question: public void addMouseMode ( MapMouseMode med ) { if ( med != null ) { mouseModes . addElement ( med ) ; if ( mouseModes . size ( ) == 1 ) { setActive ( med ) ; } if ( currentLayers != null ) { setupMouseModeWithLayers ( med , currentLayers ) ; } firePropertyChange ( MouseModesProperty , null , mouseModes ) ; } }
target:  Adds a MapMouseMode to the MouseMode list. Does not make it the active mode.