Added method to correctly set the focus for the fullscreen gallery

slider
This commit is contained in:
Steffen Schaefer committed 2015-08-06 09:01:26 +02:00
1 parent 6cbebfe813
commit 2febb43691
1 file changed
+4
@@ -35,6 +35,10 @@ public class SailingGalleryPlayer extends ResizeComposite {
subSliderUi.appendChild(createThumbImgElement(i));
}
}
public void setFocusToSubSlider() {
subSliderUi.getFirstChildElement().focus();
}
private ImageElement createThumbImgElement(SailingImageDTO i ) {
ImageElement img = Document.get().createImageElement();