public static final class Spinner.Builder extends Component.Builder<Spinner.Builder>
mResourceResolver
Constructor and Description |
---|
Builder() |
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<Spinner.Builder>
public Spinner.Builder caret(Drawable caret)
public Spinner.Builder caretRes(int resId)
public Spinner.Builder caretAttr(int attrResId, int defResId)
public Spinner.Builder caretAttr(int attrResId)
public Spinner.Builder itemLayout(int itemLayout)
public Spinner.Builder itemLayoutRes(int resId)
public Spinner.Builder itemLayoutAttr(int attrResId, int defResId)
public Spinner.Builder itemLayoutAttr(int attrResId)
public Spinner.Builder options(List<String> options)
public Spinner.Builder selectedOption(String selectedOption)
public Spinner.Builder selectedTextColor(int selectedTextColor)
public Spinner.Builder selectedTextColorRes(int resId)
public Spinner.Builder selectedTextColorAttr(int attrResId, int defResId)
public Spinner.Builder selectedTextColorAttr(int attrResId)
public Spinner.Builder selectedTextSizePx(float selectedTextSize)
public Spinner.Builder selectedTextSizeDip(float dip)
public Spinner.Builder selectedTextSizeSp(float sip)
public Spinner.Builder selectedTextSizeRes(int resId)
public Spinner.Builder selectedTextSizeAttr(int attrResId, int defResId)
public Spinner.Builder selectedTextSizeAttr(int attrResId)
public Spinner.Builder itemSelectedEventHandler(EventHandler itemSelectedEventHandler)
public Spinner.Builder getThis()
getThis
in class Component.Builder<Spinner.Builder>
public Spinner build()
build
in class Component.Builder<Spinner.Builder>