Hey Kevin Thanks fpr the description. I get the part of setting the value by using the setProgress method. My question was how would I be getting this value to set. i.e since the program I have is loading up, is there a way to determine the progress of the load? Or would I be making it some sort of static variable where after certain methods in my program have been completed, I update the value of the progress bar?
Thanks again Suri On Dec 15, 8:08 pm, "Kevin Tarn" <[email protected]> wrote: > You can simply inherit ProgressBar to overwrite method "generateText". This > method is used to generated text for shown on progress bar. The progress > value can be set dynamically by method "setProgress". > > You have to set progress bar to be invisible or remove it from parent if you > don't want your user to see it after complete. > > Best > Kevin > > On Tue, Dec 16, 2008 at 8:42 AM, Suri <[email protected]> wrote: > > > Hi all, > > I'd like some help on how to use the ProgressBar from the incubator. > > I saw the 2 lines of code in the incubator documentation and tried to > > undestand some of the API. I guess my confusion is the design. I > > currently have a GWT module that takes a while to load up. > > > 1) How (if at all?) can i go about figuring out how much % or atleast > > figure out if the module has loaded completely and so how would I > > change this value dynamically on the progress bar? > > > 2) Once the load is complete, do i remove the widget or set its > > visibility to false? > > > Thanks > > Suri --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
