Annual report pursuant to Section 13 and 15(d)

Employee Stock Plans - Additional Information (Detail)

v3.20.2
Employee Stock Plans - Additional Information (Detail) - USD ($)
12 Months Ended
Oct. 03, 2019
Apr. 30, 2020
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2017
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Payments of tax withholdings on restricted stock   $ 8,993,000 $ 20,698,000 $ 3,794,000  
Shares repurchased during the period, value   $ 101,439,000 $ 58,070,000 $ 36,865,000  
Treasury Stock, Common          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares repurchased during the period   2,606,861 809,074 984,079  
Shares repurchased during the period, value   $ 92,400,000 $ 37,400,000 $ 33,100,000  
ESPP          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares available for future issuance   700,000      
Maximum number of shares reserved for issuance   3,000,000.0      
Authorized payroll deductions   15.00%      
Fair market price of common stock   85.00%      
Authorized payroll deductions, value   $ 25,000      
Employees stock purchased   220,161 169,299 198,749  
Employees stock purchased, price per share   $ 34.90 $ 42.05 $ 31.77  
Time Based Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period   4 years      
Market Based Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period   3 years      
Shares outstanding   500,000      
Total unrecognized compensation cost related to non-vested awards   $ 10,500,000      
Performance Based Restricted Stock Unit          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period   3 years      
Shares outstanding   0 0    
Restricted Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Shares outstanding   1,365,000 1,460,000 1,730,000 1,581,000
Total unrecognized compensation cost related to non-vested awards   $ 34,700,000      
Expected cost recognized over weighted-average period   2 years 3 months 18 days      
Shares repurchased during the period to pay for taxes   232,618 356,879    
Payments of tax withholdings on restricted stock   $ 9,000,000.0 $ 20,700,000    
Stock Options          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Proceeds from issuance of common stock upon exercise of employee stock options     $ 200,000 $ 600,000  
Stock Options | Common Stock          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Stock issued for stock options exercised   0 6,720 41,075  
Stock Incentive Plan          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common stock available for stock-based awards 2,141,807        
Shares available for future issuance 3,600,000        
Vesting period 1 year