public class ProgressBarShadowNode extends LayoutShadowNode implements YogaMeasureFunction
android.R.attr.progressBarStyle
for possible styles. ReactProgressBarViewManager
manages how this style is applied to the ProgressBar.Constructor and Description |
---|
ProgressBarShadowNode() |
ProgressBarShadowNode(ProgressBarShadowNode node) |
Modifier and Type | Method and Description |
---|---|
ProgressBarShadowNode |
copy() |
java.lang.String |
getStyle() |
long |
measure(YogaNode node,
float width,
YogaMeasureMode widthMode,
float height,
YogaMeasureMode heightMode)
Return a value created by YogaMeasureOutput.make(width, height);
|
ReactShadowNodeImpl |
mutableCopy(long instanceHandle) |
ReactShadowNodeImpl |
mutableCopyWithNewChildren(long instanceHandle) |
void |
setStyle(java.lang.String style) |
setAlignContent, setAlignItems, setAlignSelf, setAspectRatio, setBorderWidths, setDisplay, setFlex, setFlexBasis, setFlexDirection, setFlexGrow, setFlexShrink, setFlexWrap, setHeight, setJustifyContent, setMargins, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPaddings, setPosition, setPositionValues, setShouldNotifyOnLayout, setWidth
addChildAt, addNativeChildAt, calculateLayout, dirty, dispatchUpdates, dispose, getChildAt, getChildCount, getChildrenList, getHierarchyInfo, getInstanceHandle, getLayoutDirection, getLayoutHeight, getLayoutWidth, getLayoutX, getLayoutY, getNativeChildCount, getNativeOffsetForChild, getNativeParent, getNewProps, getOriginalReactShadowNode, getPadding, getParent, getReactTag, getRootTag, getScreenHeight, getScreenWidth, getScreenX, getScreenY, getStyleHeight, getStylePadding, getStyleWidth, getThemedContext, getTotalNativeChildren, getViewClass, hasNewLayout, hasUnseenUpdates, hasUpdates, indexOf, indexOfNativeChild, isDescendantOf, isDirty, isLayoutOnly, isMeasureDefined, isVirtual, isVirtualAnchor, isYogaLeafNode, markLayoutSeen, markUpdated, markUpdateSeen, mutableCopyWithNewChildrenAndProps, mutableCopyWithNewProps, onAfterUpdateTransaction, onBeforeLayout, onCollectExtraUpdates, removeAllNativeChildren, removeAndDisposeAllChildren, removeChildAt, removeNativeChildAt, setAlignContent, setAlignItems, setAlignSelf, setBaselineFunction, setBorder, setDefaultPadding, setDisplay, setFlexBasis, setFlexBasisAuto, setFlexBasisPercent, setFlexDirection, setFlexWrap, setInstanceHandle, setIsLayoutOnly, setJustifyContent, setLayoutDirection, setLocalData, setMargin, setMarginAuto, setMarginPercent, setMeasureFunction, setOriginalReactShadowNode, setOverflow, setPadding, setPaddingPercent, setPosition, setPositionPercent, setPositionType, setReactTag, setRootTag, setStyleAspectRatio, setStyleHeight, setStyleHeightAuto, setStyleHeightPercent, setStyleMaxHeight, setStyleMaxHeightPercent, setStyleMaxWidth, setStyleMaxWidthPercent, setStyleMinHeight, setStyleMinHeightPercent, setStyleMinWidth, setStyleMinWidthPercent, setStyleWidth, setStyleWidthAuto, setStyleWidthPercent, setThemedContext, setViewClassName, shouldNotifyOnLayout, toString, updateProperties
public ProgressBarShadowNode()
public ProgressBarShadowNode(ProgressBarShadowNode node)
public ReactShadowNodeImpl mutableCopyWithNewChildren(long instanceHandle)
mutableCopyWithNewChildren
in interface ReactShadowNode<ReactShadowNodeImpl>
mutableCopyWithNewChildren
in class ReactShadowNodeImpl
public ReactShadowNodeImpl mutableCopy(long instanceHandle)
mutableCopy
in interface ReactShadowNode<ReactShadowNodeImpl>
mutableCopy
in class ReactShadowNodeImpl
ReactShadowNode
public ProgressBarShadowNode copy()
copy
in class LayoutShadowNode
@Nullable public java.lang.String getStyle()
public void setStyle(@Nullable java.lang.String style)
public long measure(YogaNode node, float width, YogaMeasureMode widthMode, float height, YogaMeasureMode heightMode)
YogaMeasureFunction
measure
in interface YogaMeasureFunction