question: protected void decoderEventAction ( VSDecoderEvent e ) { if ( e . getType ( ) == VSDecoderEvent . EventType . LOCATION_CHANGE ) { if ( e . getData ( ) != null ) { jmri . util . PhysicalLocation p = ( jmri . util . PhysicalLocation ) e . getData ( ) ; statusBar . setMessage ( "Location:" + p . toString ( ) ) ; } else { statusBar . setMessage ( "Location: unknown" ) ; } } }
target:  Handle an event from the VSDecoder