File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes FlowPanel onLoad() event? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "FlowPanel onLoad() event?" Watch "FlowPanel onLoad() event?" New topic
Author

FlowPanel onLoad() event?

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
my FlowPanel (CellListTest) has an onLoad method, and when I attach the FlowPanel in the right hand side of HorizontalSplitPanel (horizontalSplitPanel) as follow:



Out of my expectation, the onLoad() method of CellListTest will run without explicitly calling it, why will this happen?
I see the API
FlowPanel
and FlowPanel has no default onLoad() method or onLoad event, so why will it run automatically when I run

?
peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
Oh, sorry, I found the API about onLoad()

onLoad

protected void onLoad()

A Panel's onLoad method will be called after all of its children are attached.

Overrides:
onLoad in class Widget

See Also:
Widget.onLoad()

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FlowPanel onLoad() event?