简体   繁体   中英

Adding Event to HorizontalPanel (GWT)

I have to add an onLoad event handler to a Horizontal Panel.

I have tried adding addAttachHandler as it was specified in post How do I setup for and/or handle onload event with GWT but it doesn't work for me. Eclipse shows like there isn't any method such as addAttachHandler() available for HorizontalPanel.

Horizo​​ntalPanel确实具有addAttachHandler()方法,它是从Widget继承的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM