-
public final class BannerOptionsBanner的配置参数
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBannerOptions.Companionpublic final classBannerOptions.IndicatorMargin
-
Constructor Summary
Constructors Constructor Description BannerOptions()
-
Method Summary
-
-
Method Detail
-
getInterval
final Long getInterval()
-
setInterval
final Unit setInterval(Long interval)
-
setCanLoop
final Unit setCanLoop(Boolean canLoop)
-
isAutoPlay
final Boolean isAutoPlay()
-
setAutoPlay
final Unit setAutoPlay(Boolean autoPlay)
-
getIndicatorGravity
final Integer getIndicatorGravity()
-
setIndicatorGravity
final Unit setIndicatorGravity(Integer indicatorGravity)
-
getIndicatorNormalColor
final Integer getIndicatorNormalColor()
-
getIndicatorCheckedColor
final Integer getIndicatorCheckedColor()
-
getNormalIndicatorWidth
final Integer getNormalIndicatorWidth()
-
setIndicatorSliderColor
final Unit setIndicatorSliderColor(Integer normalColor, Integer checkedColor)
-
setIndicatorSliderWidth
final Unit setIndicatorSliderWidth(Integer normalWidth, Integer checkedWidth)
-
showIndicatorWhenOneItem
final Unit showIndicatorWhenOneItem(Boolean showIndicatorWhenOneItem)
-
getCheckedIndicatorWidth
final Integer getCheckedIndicatorWidth()
-
getIndicatorOptions
final IndicatorOptions getIndicatorOptions()
-
getPageMargin
final Integer getPageMargin()
-
setPageMargin
final Unit setPageMargin(Integer pageMargin)
-
getRightRevealWidth
final Integer getRightRevealWidth()
-
setRightRevealWidth
final Unit setRightRevealWidth(Integer rightRevealWidth)
-
getLeftRevealWidth
final Integer getLeftRevealWidth()
-
setLeftRevealWidth
final Unit setLeftRevealWidth(Integer leftRevealWidth)
-
getIndicatorStyle
final Integer getIndicatorStyle()
-
setIndicatorStyle
final Unit setIndicatorStyle(Integer indicatorStyle)
-
getIndicatorSlideMode
final Integer getIndicatorSlideMode()
-
setIndicatorSlideMode
final Unit setIndicatorSlideMode(Integer indicatorSlideMode)
-
getIndicatorGap
final Float getIndicatorGap()
-
setIndicatorGap
final Unit setIndicatorGap(Float indicatorGap)
-
getIndicatorHeight
final Float getIndicatorHeight()
-
setIndicatorHeight
final Unit setIndicatorHeight(Integer indicatorHeight)
-
getPageStyle
final Integer getPageStyle()
-
setPageStyle
final Unit setPageStyle(Integer pageStyle)
-
getPageScale
final Float getPageScale()
-
setPageScale
final Unit setPageScale(Float pageScale)
-
getIndicatorMargin
final BannerOptions.IndicatorMargin getIndicatorMargin()
-
setIndicatorMargin
final Unit setIndicatorMargin(Integer left, Integer top, Integer right, Integer bottom)
-
getRoundRectRadiusArray
final FloatArray getRoundRectRadiusArray()
-
getRoundRectRadius
final Integer getRoundRectRadius()
-
setRoundRectRadius
final Unit setRoundRectRadius(Integer radius)
-
setRoundRectRadius
final Unit setRoundRectRadius(Integer topLeftRadius, Integer topRightRadius, Integer bottomLeftRadius, Integer bottomRightRadius)
-
getScrollDuration
final Integer getScrollDuration()
-
setScrollDuration
final Unit setScrollDuration(Integer scrollDuration)
-
getIndicatorVisibility
final Integer getIndicatorVisibility()
-
setIndicatorVisibility
final Unit setIndicatorVisibility(Integer indicatorVisibility)
-
getOrientation
final Integer getOrientation()
-
setOrientation
final Unit setOrientation(Integer orientation)
-
isUserInputEnabled
final Boolean isUserInputEnabled()
-
setUserInputEnabled
final Unit setUserInputEnabled(Boolean userInputEnabled)
-
resetIndicatorOptions
final Unit resetIndicatorOptions()
-
isDisallowParentInterceptDownEvent
final Boolean isDisallowParentInterceptDownEvent()
-
setDisallowParentInterceptDownEvent
final Unit setDisallowParentInterceptDownEvent(Boolean disallowParentInterceptDownEvent)
-
getOffScreenPageLimit
final Integer getOffScreenPageLimit()
-
setOffScreenPageLimit
final Unit setOffScreenPageLimit(Integer offScreenPageLimit)
-
isStopLoopWhenDetachedFromWindow
final Boolean isStopLoopWhenDetachedFromWindow()
-
setStopLoopWhenDetachedFromWindow
final Unit setStopLoopWhenDetachedFromWindow(Boolean stopLoopWhenDetachedFromWindow)
-
-
-
-