-
public final class IndicatorOptionsIndicator的配置参数
-
-
Field Summary
Fields Modifier and Type Field Description private Integerorientationprivate IntegerindicatorStyleprivate IntegerslideModeprivate IntegerpageSizeprivate IntegernormalSliderColorprivate IntegercheckedSliderColorprivate FloatsliderGapprivate FloatsliderHeightprivate FloatnormalSliderWidthprivate FloatcheckedSliderWidthprivate IntegercurrentPositionprivate FloatslideProgressprivate BooleanshowIndicatorOneItem
-
Constructor Summary
Constructors Constructor Description IndicatorOptions()
-
Method Summary
Modifier and Type Method Description final IntegergetOrientation()final UnitsetOrientation(Integer orientation)final IntegergetIndicatorStyle()final UnitsetIndicatorStyle(Integer indicatorStyle)final IntegergetSlideMode()Indicator滑动模式,目前仅支持两种 final UnitsetSlideMode(Integer slideMode)Indicator滑动模式,目前仅支持两种 final IntegergetPageSize()页面size final UnitsetPageSize(Integer pageSize)页面size final IntegergetNormalSliderColor()未选中时Indicator颜色 final UnitsetNormalSliderColor(Integer normalSliderColor)未选中时Indicator颜色 final IntegergetCheckedSliderColor()选中时Indicator颜色 final UnitsetCheckedSliderColor(Integer checkedSliderColor)选中时Indicator颜色 final FloatgetSliderGap()Indicator间距 final UnitsetSliderGap(Float sliderGap)Indicator间距 final FloatgetSliderHeight()final UnitsetSliderHeight(Float sliderHeight)final FloatgetNormalSliderWidth()final UnitsetNormalSliderWidth(Float normalSliderWidth)final FloatgetCheckedSliderWidth()final UnitsetCheckedSliderWidth(Float checkedSliderWidth)final IntegergetCurrentPosition()指示器当前位置 final UnitsetCurrentPosition(Integer currentPosition)指示器当前位置 final FloatgetSlideProgress()从一个点滑动到另一个点的进度 final UnitsetSlideProgress(Float slideProgress)从一个点滑动到另一个点的进度 final BooleangetShowIndicatorOneItem()final UnitsetShowIndicatorOneItem(Boolean showIndicatorOneItem)final UnitsetCheckedColor(Integer checkedColor)final UnitsetSliderWidth(Float normalIndicatorWidth, Float checkedIndicatorWidth)final UnitsetSliderWidth(Float sliderWidth)final UnitsetSliderColor(Integer normalColor, Integer checkedColor)-
-
Method Detail
-
getOrientation
final Integer getOrientation()
-
setOrientation
final Unit setOrientation(Integer orientation)
-
getIndicatorStyle
final Integer getIndicatorStyle()
-
setIndicatorStyle
final Unit setIndicatorStyle(Integer indicatorStyle)
-
getSlideMode
final Integer getSlideMode()
Indicator滑动模式,目前仅支持两种
-
setSlideMode
final Unit setSlideMode(Integer slideMode)
Indicator滑动模式,目前仅支持两种
-
getPageSize
final Integer getPageSize()
页面size
-
setPageSize
final Unit setPageSize(Integer pageSize)
页面size
-
getNormalSliderColor
final Integer getNormalSliderColor()
未选中时Indicator颜色
-
setNormalSliderColor
final Unit setNormalSliderColor(Integer normalSliderColor)
未选中时Indicator颜色
-
getCheckedSliderColor
final Integer getCheckedSliderColor()
选中时Indicator颜色
-
setCheckedSliderColor
final Unit setCheckedSliderColor(Integer checkedSliderColor)
选中时Indicator颜色
-
getSliderGap
final Float getSliderGap()
Indicator间距
-
setSliderGap
final Unit setSliderGap(Float sliderGap)
Indicator间距
-
getSliderHeight
final Float getSliderHeight()
-
setSliderHeight
final Unit setSliderHeight(Float sliderHeight)
-
getNormalSliderWidth
final Float getNormalSliderWidth()
-
setNormalSliderWidth
final Unit setNormalSliderWidth(Float normalSliderWidth)
-
getCheckedSliderWidth
final Float getCheckedSliderWidth()
-
setCheckedSliderWidth
final Unit setCheckedSliderWidth(Float checkedSliderWidth)
-
getCurrentPosition
final Integer getCurrentPosition()
指示器当前位置
-
setCurrentPosition
final Unit setCurrentPosition(Integer currentPosition)
指示器当前位置
-
getSlideProgress
final Float getSlideProgress()
从一个点滑动到另一个点的进度
-
setSlideProgress
final Unit setSlideProgress(Float slideProgress)
从一个点滑动到另一个点的进度
-
getShowIndicatorOneItem
final Boolean getShowIndicatorOneItem()
-
setShowIndicatorOneItem
final Unit setShowIndicatorOneItem(Boolean showIndicatorOneItem)
-
setCheckedColor
final Unit setCheckedColor(Integer checkedColor)
-
setSliderWidth
final Unit setSliderWidth(Float normalIndicatorWidth, Float checkedIndicatorWidth)
-
setSliderWidth
final Unit setSliderWidth(Float sliderWidth)
-
setSliderColor
final Unit setSliderColor(Integer normalColor, Integer checkedColor)
-
-
-
-