public static final class Image.Builder extends Component.Builder<Image.Builder>
mResourceResolver
Modifier and Type | Method and Description |
---|---|
Image |
build() |
Image.Builder |
drawable(Drawable drawable) |
Image.Builder |
drawableAttr(int attrResId) |
Image.Builder |
drawableAttr(int attrResId,
int defResId) |
Image.Builder |
drawableRes(int resId) |
Image.Builder |
getThis() |
Image.Builder |
scaleType(ImageView.ScaleType scaleType) |
protected void |
setComponent(Component component) |
accessibilityHeading, accessibilityRole, accessibilityRoleDescription, accessibilityRoleDescription, accessibilityRoleDescription, alignSelf, alpha, alpha, aspectRatio, background, backgroundAttr, backgroundAttr, backgroundColor, backgroundColor, backgroundDynamicDrawable, backgroundRes, border, checkArgs, clickable, clickHandler, clipChildren, clipToOutline, componentTag, contentDescription, contentDescription, contentDescription, dispatchPopulateAccessibilityEventHandler, duplicateChildrenStates, duplicateParentState, enabled, flex, flexBasisAttr, flexBasisAttr, flexBasisDip, flexBasisPercent, flexBasisPx, flexBasisRes, flexGrow, flexShrink, focusable, focusChangeHandler, focusedHandler, foreground, foregroundAttr, foregroundAttr, foregroundColor, foregroundColor, foregroundRes, fullImpressionHandler, getContext, handle, hasBackgroundSet, hasClickHandlerSet, heightAttr, heightAttr, heightDip, heightPercent, heightPx, heightRes, importantForAccessibility, interceptTouchHandler, invisibleHandler, isReferenceBaseline, key, layerType, layoutDirection, longClickHandler, marginAttr, marginAttr, marginAuto, marginDip, marginPercent, marginPx, marginRes, maxHeightAttr, maxHeightAttr, maxHeightDip, maxHeightPercent, maxHeightPx, maxHeightRes, maxWidthAttr, maxWidthAttr, maxWidthDip, maxWidthPercent, maxWidthPx, maxWidthRes, metadata, 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, transitionName, 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<Image.Builder>
public Image.Builder drawable(Drawable drawable)
public Image.Builder drawableRes(int resId)
public Image.Builder drawableAttr(int attrResId, int defResId)
public Image.Builder drawableAttr(int attrResId)
public Image.Builder scaleType(ImageView.ScaleType scaleType)
public Image.Builder getThis()
getThis
in class Component.Builder<Image.Builder>
public Image build()
build
in class Component.Builder<Image.Builder>