I haven't used the sliderbar, so not really sure. But i looked at the class source code and looks like labelformatter is used to format the label numbers present on the top of bar. Also, I noticed that if you don't require a labelformatter, you can pass a null to the constructor. You can check the source code of SliderBar.
Hope this helps. -Venkatesh On Tue, Sep 22, 2009 at 1:44 PM, balachandra maddina <[email protected]>wrote: > Hi Venkatesh, > > Thx for the reply. i didnt understand how an imagebundle works earliar. > when i looked at it now its more clear. could you tell me what is the use of > LabelFormatter in SliderBar widget pls? > > Thank you, > bala. > > > On Tue, Sep 22, 2009 at 10:49 PM, Venkatesh Babu > <[email protected]>wrote: > >> Try using the SliderBar constructor that accepts your implementation of >> SliderBarImages: >> >> *SliderBar<http://collectionofdemos.appspot.com/javadoc/com/google/gwt/widgetideas/client/SliderBar.html#SliderBar%28double,%20double,%20com.google.gwt.widgetideas.client.SliderBar.LabelFormatter,%20com.google.gwt.widgetideas.client.SliderBar.SliderBarImages%29> >> *(double minValue, double maxValue, >> SliderBar.LabelFormatter<http://collectionofdemos.appspot.com/javadoc/com/google/gwt/widgetideas/client/SliderBar.LabelFormatter.html> >> labelFormatter, >> SliderBar.SliderBarImages<http://collectionofdemos.appspot.com/javadoc/com/google/gwt/widgetideas/client/SliderBar.SliderBarImages.html> >> images) >> >> Hope this helps. >> >> -Venkatesh >> >> >> On Tue, Sep 22, 2009 at 12:55 PM, balachandra maddina < >> [email protected]> wrote: >> >>> Hi There, >>> >>> Any one knows how to change the SliderBar widget knob image from >>> default to a custom one? if so could you share the details please. >>> >>> Thank you, >>> bala. >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
