@ Override public void onSelection ( SelectionEvent < MaterialStep > event ) { if ( stepSkippingAllowed ) { if ( event . getSelectedItem ( ) . getState ( ) == State . SUCCESS ) { goToStep ( event . getSelectedItem ( ) ) ; } } }
Called when a step title is clicked .