public class MaterialSlider extends MaterialWidget implements JsLoader, HasDurationTransition, HasFullscreen
<m:MaterialSection>
<m:MaterialSlider fullScreen="false">
<m:MaterialSlideItem>
<m:MaterialImage url="http://lorempixel.com/580/250/nature/1"/>
<m:MaterialSlideCaption align="LEFT">
<m:MaterialTitle tile="This is our big Tagline" description="Here's our small slogan."/>
</m:MaterialSlideCaption>
</m:MaterialSlideItem>
<m:MaterialSlideItem>
<m:MaterialImage url="http://lorempixel.com/580/250/nature/2"/>
<m:MaterialSlideCaption align="CENTER">
<m:MaterialTitle tile="This is our big Tagline" description="Here's our small slogan."/>
</m:MaterialSlideCaption>
</m:MaterialSlideItem>
<m:MaterialSlideItem>
<m:MaterialImage url="http://lorempixel.com/580/250/nature/3"/>
<m:MaterialSlideCaption align="RIGHT">
<m:MaterialTitle tile="This is our big Tagline" description="Here's our small slogan."/>
</m:MaterialSlideCaption>
</m:MaterialSlideItem>
</m:MaterialSlider>
MaterialWidget.Featurecom.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled$this| Constructor and Description |
|---|
MaterialSlider() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.google.gwt.user.client.ui.Widget child) |
int |
getDuration()
Get the animation duration in milliseconds.
|
protected FullscreenMixin |
getFullscreenMixin() |
int |
getInterval() |
UnorderedList |
getListContainer() |
boolean |
isFullscreen() |
boolean |
isFullWidth() |
void |
load() |
protected void |
onLoad() |
protected void |
onUnload() |
void |
pause() |
void |
reload() |
void |
setDuration(int duration)
Set the animation duration in milliseconds.
|
void |
setFullscreen(boolean fullscreen)
Set the image slider to fullscreen view.
|
void |
setFullWidth(boolean fullWidth) |
void |
setHeight(String height) |
void |
setInterval(int interval)
Set the duration between transitions in ms.
|
void |
start() |
void |
unload() |
$this, add, addAttachHandler, addBlurHandler, addClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragLeaveHandler, addDragMoveHandler, addDragOverHandler, addDragStartHandler, addDropActivateHandler, addDropDeactivateHandler, addDropHandler, addFocusHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addOrientationChangeHandler, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, body, clearActiveClass, enableFeature, getBackfaceVisibility, getBackgroundColor, getBorder, getBorderBottom, getBorderLeft, getBorderMixin, getBorderRadius, getBorderRight, getBorderTop, getCenterOn, getCenterOnMixin, getChildren, getChildrenList, getCircleMixin, getColorsMixin, getDataAttribute, getDepth, getDimensionMixin, getEnabledMixin, getFlexboxMixin, getFloat, getFloatMixin, getFocusableMixin, getFontSize, getFontSizeMixin, getFontWeight, getFontWeightMixin, getGridMixin, getHandlerRegistry, getHideOn, getHideOnMixin, getHoverableMixin, getId, getIdMixin, getInitialClasses, getLayoutPosition, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpacity, getOrientation, getOrientationMixin, getPerspective, getPerspectiveOrigin, getScrollspy, getScrollspyMixin, getSeparatorMixin, getShadow, getShadowMixin, getShowOn, getShowOnMixin, getTabIndex, getTextAlign, getTextAlignMixin, getTextColor, getTooltip, getTooltipDelayMs, getTooltipHTML, getTooltipMixin, getTooltipPosition, getTransform, getTransformMixin, getTransformOrigin, getTransformStyle, getTruncateMixin, getVerticalAlign, getVerticalAlignMixin, getWaves, getWavesMixin, getWidth, insert, insert, isCircle, isDetectOrientation, isEnabled, isFeatureEnabled, isHoverable, isSeparator, isTruncate, registerHandler, removeHandler, setAccessKey, setBackfaceVisibility, setBackgroundColor, setBorder, setBorderBottom, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBottom, setCenterOn, setCircle, setClass, setDataAttribute, setDepth, setDetectOrientation, setDisplay, setEnabled, setFlex, setFlexAlignContent, setFlexAlignItems, setFlexAlignSelf, setFlexBasis, setFlexDirection, setFlexGrow, setFlexJustifyContent, setFlexOrder, setFlexShrink, setFlexWrap, setFloat, setFocus, setFontSize, setFontSize, setFontWeight, setGrid, setGwtDisplay, setHideOn, setHoverable, setId, setInitialClasses, setLayoutPosition, setLeft, setLineHeight, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOffset, setOpacity, setOrientation, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPerspective, setPerspectiveOrigin, setRight, setScrollspy, setSeparator, setShadow, setShowOn, setStyle, setTabIndex, setTextAlign, setTextColor, setTooltip, setTooltipDelayMs, setTooltipHTML, setTooltipPosition, setTop, setTransform, setTransformOrigin, setTransformStyle, setTransition, setTruncate, setVerticalAlign, setVisibility, setWaves, stopTouchStartEvent, validate, windowadd, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, iterator, remove, removeadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetVisibleforEach, spliteratorpublic MaterialSlider()
protected void onLoad()
onLoad in class MaterialWidgetprotected void onUnload()
onUnload in class MaterialWidgetpublic void add(com.google.gwt.user.client.ui.Widget child)
add in interface com.google.gwt.user.client.ui.HasWidgetsadd in class MaterialWidgetpublic void pause()
public void start()
public void setHeight(String height)
setHeight in class com.google.gwt.user.client.ui.UIObjectpublic void setFullscreen(boolean fullscreen)
setFullscreen in interface HasFullscreenpublic boolean isFullscreen()
isFullscreen in interface HasFullscreenpublic boolean isFullWidth()
public void setFullWidth(boolean fullWidth)
public UnorderedList getListContainer()
public void setDuration(int duration)
HasDurationTransitionsetDuration in interface HasDurationTransitionpublic int getDuration()
HasDurationTransitiongetDuration in interface HasDurationTransitionpublic int getInterval()
public void setInterval(int interval)
protected FullscreenMixin getFullscreenMixin()
Copyright © 2018. All rights reserved.