org.gwtbootstrap3.client.ui
Class Carousel

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by org.gwtbootstrap3.client.ui.base.ComplexWidget
                      extended by org.gwtbootstrap3.client.ui.html.Div
                          extended by org.gwtbootstrap3.client.ui.Carousel
All Implemented Interfaces:
HasAttachHandlers, HasHandlers, EventListener, HasVisibility, HasWidgets, HasWidgets.ForIsWidget, IndexedPanel, IndexedPanel.ForIsWidget, IsWidget, Iterable<Widget>, HasId, HasInlineStyle, HasPull, HasResponsiveness

public class Carousel
extends Div

Author:
Joshua Godi

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel
IndexedPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
HasWidgets.ForIsWidget
 
Field Summary
static String CAROUSEL
           
static String CYCLE
           
static String HOVER
           
static String NEXT
           
static String PAUSE
           
static String PREV
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
Carousel()
           
 
Method Summary
 HandlerRegistration addSlideHandler(CarouselSlideHandler carouselSlideHandler)
           
 HandlerRegistration addSlidHandler(CarouselSlidHandler slidHandler)
           
 void cycleCarousel()
          Causes the carousel to cycle
 void goToNext()
          Causes the carousel to go to the next slide
 void goToPrev()
          Causes the carousel to go back
 void jumpToSlide(int slideNumber)
          Causes the carousel to jump to that slide
protected  void onLoad()
           
protected  void onUnload()
           
 void pauseCarousel()
          Causes the carousel to pause movement
 void setInterval(int interval)
           
 void setPause(String pause)
           
 void setWrap(boolean wrap)
           
 
Methods inherited from class org.gwtbootstrap3.client.ui.base.ComplexWidget
add, getId, getPull, insert, setColor, setHiddenOn, setId, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPull, setVisibleOn
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HOVER

public static final String HOVER
See Also:
Constant Field Values

CAROUSEL

public static final String CAROUSEL
See Also:
Constant Field Values

CYCLE

public static final String CYCLE
See Also:
Constant Field Values

PAUSE

public static final String PAUSE
See Also:
Constant Field Values

PREV

public static final String PREV
See Also:
Constant Field Values

NEXT

public static final String NEXT
See Also:
Constant Field Values
Constructor Detail

Carousel

public Carousel()
Method Detail

onLoad

protected void onLoad()
Overrides:
onLoad in class Widget

onUnload

protected void onUnload()
Overrides:
onUnload in class Widget

setInterval

public void setInterval(int interval)

setPause

public void setPause(String pause)

setWrap

public void setWrap(boolean wrap)

cycleCarousel

public void cycleCarousel()
Causes the carousel to cycle


pauseCarousel

public void pauseCarousel()
Causes the carousel to pause movement


jumpToSlide

public void jumpToSlide(int slideNumber)
Causes the carousel to jump to that slide


goToPrev

public void goToPrev()
Causes the carousel to go back


goToNext

public void goToNext()
Causes the carousel to go to the next slide


addSlideHandler

public HandlerRegistration addSlideHandler(CarouselSlideHandler carouselSlideHandler)

addSlidHandler

public HandlerRegistration addSlidHandler(CarouselSlidHandler slidHandler)


Copyright © 2015. All rights reserved.