@ EventHandler ( "command" ) private void onCommand ( CommandEvent event ) { if ( isEnabled ( ) ) { for ( BaseComponent child : container . getChildren ( ) ) { EventUtil . send ( event , child ) ; if ( event . isStopped ( ) ) { break ; } } } }
Forward command events to first level children of the container .