utility method for getting one of three types of effects based on the key words , shake_effect , pulsate_effect , highlight_effect . concode_field_sep String PULSATE_EFFECT concode_elem_sep String SHAKE_EFFECT concode_elem_sep String HIGHLIGHT_EFFECT concode_field_sep void executeMenuEffect
Effect function ( String arg0 ) { if ( SHAKE_EFFECT . equals ( arg0 ) ) { return new Shake ( ) ; } else if ( PULSATE_EFFECT . equals ( arg0 ) ) { Pulsate loc0 = new Pulsate ( ) ; loc0 . setDuration ( 0.75f ) ; return loc0 ; } else { return new Highlight ( "srini_string" ) ; } }