public interface CommonProps extends Equivalence<CommonProps>
Modifier and Type | Method and Description |
---|---|
void |
accessibilityHeading(boolean isHeading) |
void |
accessibilityRole(java.lang.String role) |
void |
accessibilityRoleDescription(java.lang.CharSequence roleDescription) |
void |
alignSelf(YogaAlign alignSelf) |
void |
alpha(float alpha) |
void |
aspectRatio(float aspectRatio) |
void |
background(Drawable background) |
void |
border(Border border) |
void |
clickable(boolean isClickable) |
void |
clickHandler(EventHandler<ClickEvent> clickHandler) |
void |
clipChildren(boolean clipChildren) |
void |
clipToOutline(boolean clipToOutline) |
void |
componentTag(java.lang.Object componentTag) |
void |
contentDescription(java.lang.CharSequence contentDescription) |
void |
copyInto(ComponentContext c,
InternalNode node) |
void |
dispatchPopulateAccessibilityEventHandler(EventHandler<DispatchPopulateAccessibilityEventEvent> dispatchPopulateAccessibilityEventHandler) |
void |
duplicateChildrenStates(boolean duplicateChildrenStates) |
void |
duplicateParentState(boolean duplicateParentState) |
void |
enabled(boolean isEnabled) |
void |
flex(float flex) |
void |
flexBasisPercent(float percent) |
void |
flexBasisPx(int flexBasis) |
void |
flexGrow(float flexGrow) |
void |
flexShrink(float flexShrink) |
void |
focusable(boolean isFocusable) |
void |
focusChangeHandler(EventHandler<FocusChangedEvent> focusChangeHandler) |
void |
focusedHandler(EventHandler<FocusedVisibleEvent> focusedHandler) |
void |
foreground(Drawable foreground) |
void |
fullImpressionHandler(EventHandler<FullImpressionVisibleEvent> fullImpressionHandler) |
Drawable |
getBackground() |
EventHandler<ClickEvent> |
getClickHandler() |
java.lang.Object |
getComponentTag() |
boolean |
getFocusable() |
EventHandler<FocusChangedEvent> |
getFocusChangeHandler() |
EventHandler<InterceptTouchEvent> |
getInterceptTouchHandler() |
EventHandler<LongClickEvent> |
getLongClickHandler() |
NodeInfo |
getNullableNodeInfo() |
NodeInfo |
getOrCreateNodeInfo() |
java.lang.String |
getTestKey()
Returns the test key associated with this Component or null if none is set.
|
EventHandler<TouchEvent> |
getTouchHandler() |
java.lang.String |
getTransitionKey() |
Transition.TransitionKeyType |
getTransitionKeyType() |
void |
heightPercent(float percent) |
void |
heightPx(int height) |
void |
importantForAccessibility(int importantForAccessibility) |
void |
interceptTouchHandler(EventHandler<InterceptTouchEvent> interceptTouchHandler) |
void |
invisibleHandler(EventHandler<InvisibleEvent> invisibleHandler) |
void |
isReferenceBaseline(boolean isReferenceBaseline) |
void |
layerType(int type,
Paint paint) |
void |
layoutDirection(YogaDirection direction) |
void |
longClickHandler(EventHandler<LongClickEvent> longClickHandler) |
void |
marginAuto(YogaEdge edge) |
void |
marginPercent(YogaEdge edge,
float percent) |
void |
marginPx(YogaEdge edge,
int margin) |
void |
maxHeightPercent(float percent) |
void |
maxHeightPx(int maxHeight) |
void |
maxWidthPercent(float percent) |
void |
maxWidthPx(int maxWidth) |
void |
minHeightPercent(float percent) |
void |
minHeightPx(int minHeight) |
void |
minWidthPercent(float percent) |
void |
minWidthPx(int minWidth) |
void |
onInitializeAccessibilityEventHandler(EventHandler<OnInitializeAccessibilityEventEvent> onInitializeAccessibilityEventHandler) |
void |
onInitializeAccessibilityNodeInfoHandler(EventHandler<OnInitializeAccessibilityNodeInfoEvent> onInitializeAccessibilityNodeInfoHandler) |
void |
onPopulateAccessibilityEventHandler(EventHandler<OnPopulateAccessibilityEventEvent> onPopulateAccessibilityEventHandler) |
void |
onRequestSendAccessibilityEventHandler(EventHandler<OnRequestSendAccessibilityEventEvent> onRequestSendAccessibilityEventHandler) |
void |
outlineProvider(ViewOutlineProvider outlineProvider) |
void |
paddingPercent(YogaEdge edge,
float percent) |
void |
paddingPx(YogaEdge edge,
int padding) |
void |
performAccessibilityActionHandler(EventHandler<PerformAccessibilityActionEvent> performAccessibilityActionHandler) |
void |
positionPercent(YogaEdge edge,
float percent) |
void |
positionPx(YogaEdge edge,
int position) |
void |
positionType(YogaPositionType positionType) |
void |
rotation(float rotation) |
void |
rotationX(float rotationX) |
void |
rotationY(float rotationY) |
void |
scale(float scale) |
void |
selected(boolean isSelected) |
void |
sendAccessibilityEventHandler(EventHandler<SendAccessibilityEventEvent> sendAccessibilityEventHandler) |
void |
sendAccessibilityEventUncheckedHandler(EventHandler<SendAccessibilityEventUncheckedEvent> sendAccessibilityEventUncheckedHandler) |
void |
setStyle(int defStyleAttr,
int defStyleRes) |
void |
shadowElevationPx(float shadowElevation) |
void |
stateListAnimator(StateListAnimator stateListAnimator) |
void |
stateListAnimatorRes(int resId) |
void |
testKey(java.lang.String testKey) |
void |
touchExpansionPx(YogaEdge edge,
int touchExpansion) |
void |
touchHandler(EventHandler<TouchEvent> touchHandler) |
void |
transitionKey(java.lang.String key,
java.lang.String ownerKey) |
void |
transitionKeyType(Transition.TransitionKeyType type) |
void |
transitionName(java.lang.String transitionName) |
void |
unfocusedHandler(EventHandler<UnfocusedVisibleEvent> unfocusedHandler) |
void |
useHeightAsBaseline(boolean useHeightAsBaseline) |
void |
viewTag(java.lang.Object viewTag) |
void |
viewTags(<any> viewTags) |
void |
visibilityChangedHandler(EventHandler<VisibilityChangedEvent> visibilityChangedHandler) |
void |
visibleHandler(EventHandler<VisibleEvent> visibleHandler) |
void |
visibleHeightRatio(float visibleHeightRatio) |
void |
visibleWidthRatio(float visibleWidthRatio) |
void |
widthPercent(float percent) |
void |
widthPx(int width) |
void |
wrapInView() |
isEquivalentTo
EventHandler<ClickEvent> getClickHandler()
EventHandler<LongClickEvent> getLongClickHandler()
EventHandler<FocusChangedEvent> getFocusChangeHandler()
EventHandler<TouchEvent> getTouchHandler()
EventHandler<InterceptTouchEvent> getInterceptTouchHandler()
boolean getFocusable()
java.lang.String getTransitionKey()
void setStyle(int defStyleAttr, int defStyleRes)
void background(Drawable background)
java.lang.String getTestKey()
void testKey(java.lang.String testKey)
java.lang.Object getComponentTag()
void componentTag(java.lang.Object componentTag)
void wrapInView()
void importantForAccessibility(int importantForAccessibility)
void duplicateParentState(boolean duplicateParentState)
void duplicateChildrenStates(boolean duplicateChildrenStates)
void border(Border border)
void stateListAnimator(StateListAnimator stateListAnimator)
void stateListAnimatorRes(int resId)
void touchExpansionPx(YogaEdge edge, int touchExpansion)
void foreground(Drawable foreground)
void clickHandler(EventHandler<ClickEvent> clickHandler)
Drawable getBackground()
void longClickHandler(EventHandler<LongClickEvent> longClickHandler)
void focusChangeHandler(EventHandler<FocusChangedEvent> focusChangeHandler)
void touchHandler(EventHandler<TouchEvent> touchHandler)
void interceptTouchHandler(EventHandler<InterceptTouchEvent> interceptTouchHandler)
void focusable(boolean isFocusable)
void clickable(boolean isClickable)
void enabled(boolean isEnabled)
void selected(boolean isSelected)
void accessibilityHeading(boolean isHeading)
void visibleHeightRatio(float visibleHeightRatio)
void visibleWidthRatio(float visibleWidthRatio)
void visibleHandler(EventHandler<VisibleEvent> visibleHandler)
void focusedHandler(EventHandler<FocusedVisibleEvent> focusedHandler)
void unfocusedHandler(EventHandler<UnfocusedVisibleEvent> unfocusedHandler)
void fullImpressionHandler(EventHandler<FullImpressionVisibleEvent> fullImpressionHandler)
void invisibleHandler(EventHandler<InvisibleEvent> invisibleHandler)
void visibilityChangedHandler(EventHandler<VisibilityChangedEvent> visibilityChangedHandler)
void contentDescription(java.lang.CharSequence contentDescription)
void viewTag(java.lang.Object viewTag)
void viewTags(<any> viewTags)
void transitionName(java.lang.String transitionName)
void shadowElevationPx(float shadowElevation)
void outlineProvider(ViewOutlineProvider outlineProvider)
void clipToOutline(boolean clipToOutline)
void clipChildren(boolean clipChildren)
void accessibilityRole(java.lang.String role)
void accessibilityRoleDescription(java.lang.CharSequence roleDescription)
void dispatchPopulateAccessibilityEventHandler(EventHandler<DispatchPopulateAccessibilityEventEvent> dispatchPopulateAccessibilityEventHandler)
void onInitializeAccessibilityEventHandler(EventHandler<OnInitializeAccessibilityEventEvent> onInitializeAccessibilityEventHandler)
void onInitializeAccessibilityNodeInfoHandler(EventHandler<OnInitializeAccessibilityNodeInfoEvent> onInitializeAccessibilityNodeInfoHandler)
void onPopulateAccessibilityEventHandler(EventHandler<OnPopulateAccessibilityEventEvent> onPopulateAccessibilityEventHandler)
void onRequestSendAccessibilityEventHandler(EventHandler<OnRequestSendAccessibilityEventEvent> onRequestSendAccessibilityEventHandler)
void performAccessibilityActionHandler(EventHandler<PerformAccessibilityActionEvent> performAccessibilityActionHandler)
void sendAccessibilityEventHandler(EventHandler<SendAccessibilityEventEvent> sendAccessibilityEventHandler)
void sendAccessibilityEventUncheckedHandler(EventHandler<SendAccessibilityEventUncheckedEvent> sendAccessibilityEventUncheckedHandler)
void scale(float scale)
void alpha(float alpha)
void rotation(float rotation)
void rotationX(float rotationX)
void rotationY(float rotationY)
void transitionKey(java.lang.String key, java.lang.String ownerKey)
void transitionKeyType(Transition.TransitionKeyType type)
void layerType(int type, Paint paint)
Transition.TransitionKeyType getTransitionKeyType()
NodeInfo getNullableNodeInfo()
NodeInfo getOrCreateNodeInfo()
void copyInto(ComponentContext c, InternalNode node)
void widthPx(int width)
void widthPercent(float percent)
void minWidthPx(int minWidth)
void maxWidthPx(int maxWidth)
void minWidthPercent(float percent)
void maxWidthPercent(float percent)
void heightPx(int height)
void heightPercent(float percent)
void minHeightPx(int minHeight)
void maxHeightPx(int maxHeight)
void minHeightPercent(float percent)
void maxHeightPercent(float percent)
void layoutDirection(YogaDirection direction)
void alignSelf(YogaAlign alignSelf)
void flex(float flex)
void flexGrow(float flexGrow)
void flexShrink(float flexShrink)
void flexBasisPx(int flexBasis)
void flexBasisPercent(float percent)
void aspectRatio(float aspectRatio)
void positionType(YogaPositionType positionType)
void positionPx(YogaEdge edge, int position)
void positionPercent(YogaEdge edge, float percent)
void paddingPx(YogaEdge edge, int padding)
void paddingPercent(YogaEdge edge, float percent)
void marginPx(YogaEdge edge, int margin)
void marginPercent(YogaEdge edge, float percent)
void marginAuto(YogaEdge edge)
void isReferenceBaseline(boolean isReferenceBaseline)
void useHeightAsBaseline(boolean useHeightAsBaseline)