public static final class HorizontalScroll.Builder extends Component.Builder<HorizontalScroll.Builder>
mResourceResolver
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HorizontalScroll |
build() |
HorizontalScroll.Builder |
contentProps(Component.Builder<?> contentPropsBuilder) |
HorizontalScroll.Builder |
contentProps(Component contentProps) |
HorizontalScroll.Builder |
eventsController(HorizontalScrollEventsController eventsController) |
HorizontalScroll.Builder |
fillViewport(boolean fillViewport) |
HorizontalScroll.Builder |
getThis() |
HorizontalScroll.Builder |
initialScrollPosition(int initialScrollPosition) |
HorizontalScroll.Builder |
onScrollChangeListener(HorizontalScrollSpec.OnScrollChangeListener onScrollChangeListener) |
HorizontalScroll.Builder |
scrollbarEnabled(boolean scrollbarEnabled) |
HorizontalScroll.Builder |
scrollbarEnabledAttr(int attrResId) |
HorizontalScroll.Builder |
scrollbarEnabledAttr(int attrResId,
int defResId) |
HorizontalScroll.Builder |
scrollbarEnabledRes(int resId) |
protected void |
setComponent(Component component) |
accessibilityHeading, accessibilityRole, accessibilityRoleDescription, accessibilityRoleDescription, accessibilityRoleDescription, alignSelf, alpha, alpha, aspectRatio, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundColor, backgroundRes, border, checkArgs, clickable, clickHandler, clipChildren, clipToOutline, clone, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundRes, fullImpressionHandler, getContext, handle, hasBackgroundSet, hasClickHandlerSet, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, init, interceptTouchHandler, invisibleHandler, isReferenceBaseline, key, layoutDirection, longClickHandler, marginAttr, marginAttr, marginAuto, marginDip, marginPercent, marginPx, marginRes, maxHeightAttr, maxHeightAttr, maxHeightDip, maxHeightPercent, maxHeightPx, maxHeightRes, maxWidthAttr, maxWidthAttr, maxWidthDip, maxWidthPercent, maxWidthPx, maxWidthRes, minHeightAttr, minHeightAttr, minHeightDip, minHeightPercent, minHeightPx, minHeightRes, minWidthAttr, minWidthAttr, minWidthDip, minWidthPercent, minWidthPx, minWidthRes, onInitializeAccessibilityEventHandler, onInitializeAccessibilityNodeInfoHandler, onPopulateAccessibilityEventHandler, onRequestSendAccessibilityEventHandler, outlineProvider, paddingAttr, paddingAttr, paddingDip, paddingPercent, paddingPx, paddingRes, performAccessibilityActionHandler, positionAttr, positionAttr, positionDip, positionPercent, positionPx, positionRes, positionType, rotation, rotation, rotationX, rotationY, scale, scaleX, scaleY, selected, sendAccessibilityEventHandler, sendAccessibilityEventUncheckedHandler, shadowElevation, shadowElevationAttr, shadowElevationAttr, shadowElevationDip, shadowElevationPx, shadowElevationRes, stateListAnimator, stateListAnimatorRes, testKey, touchExpansionAttr, touchExpansionAttr, touchExpansionDip, touchExpansionPx, touchExpansionRes, touchHandler, transitionKey, transitionKeyType, translationX, translationY, unfocusedHandler, useHeightAsBaseline, viewTag, viewTags, visibilityChangedHandler, visibleHandler, visibleHeightRatio, visibleWidthRatio, widthAttr, widthAttr, widthDip, widthPercent, widthPx, widthRes, wrapInView
protected void setComponent(Component component)
setComponent
in class Component.Builder<HorizontalScroll.Builder>
public HorizontalScroll.Builder contentProps(Component contentProps)
public HorizontalScroll.Builder contentProps(Component.Builder<?> contentPropsBuilder)
public HorizontalScroll.Builder eventsController(HorizontalScrollEventsController eventsController)
public HorizontalScroll.Builder fillViewport(boolean fillViewport)
public HorizontalScroll.Builder initialScrollPosition(int initialScrollPosition)
public HorizontalScroll.Builder onScrollChangeListener(HorizontalScrollSpec.OnScrollChangeListener onScrollChangeListener)
public HorizontalScroll.Builder scrollbarEnabled(boolean scrollbarEnabled)
public HorizontalScroll.Builder scrollbarEnabledRes(int resId)
public HorizontalScroll.Builder scrollbarEnabledAttr(int attrResId, int defResId)
public HorizontalScroll.Builder scrollbarEnabledAttr(int attrResId)
public HorizontalScroll.Builder getThis()
getThis
in class Component.Builder<HorizontalScroll.Builder>
public HorizontalScroll build()
build
in class Component.Builder<HorizontalScroll.Builder>