viktorthang / mgwt

Automatically exported from code.google.com/p/mgwt
Other
0 stars 0 forks source link

getSelectedPage() method is missing on Carousel Widget #304

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?
The Carousel Widget already has a setSelectedPage(int page) method, but the 
according get method is still missing.

The only way to get the current page is via the internal ScrollPanel:
carouselWidget.getScrollPanel().getCurrentPageX()

What version of the product are you using? On what operating system?
1.2.0-SNAPSHOT

Please provide any additional information below.

Original issue reported on code.google.com by roman.ka...@gmail.com on 31 May 2013 at 12:32

GoogleCodeExporter commented 8 years ago
A simple wrapper like this would be nice:
        public int getSelectedPage() {
        return scrollPanel.getCurrentPageX();
    }

Original comment by roman.ka...@gmail.com on 13 Jun 2013 at 2:08

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 88d74b71eef2.

Original comment by kurka.da...@gmail.com on 6 Jul 2013 at 6:41

GoogleCodeExporter commented 8 years ago

Original comment by kurka.da...@gmail.com on 6 Jul 2013 at 6:41

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 88d74b71eef2.

Original comment by kurka.da...@gmail.com on 6 Aug 2013 at 5:32