public class ReactTextInputShadowNode extends ReactTextShadowNode implements YogaMeasureFunction
DEFAULT_TEXT_SHADOW_COLOR, mContainsImages, mFontSize, mNumberOfLines, mTextAlign, PROP_SHADOW_COLOR, PROP_SHADOW_OFFSET, PROP_SHADOW_OFFSET_HEIGHT, PROP_SHADOW_OFFSET_WIDTH, PROP_SHADOW_RADIUS, PROP_TEXT, UNSET
Constructor and Description |
---|
ReactTextInputShadowNode() |
Modifier and Type | Method and Description |
---|---|
long |
measure(YogaNodeAPI node,
float width,
YogaMeasureMode widthMode,
float height,
YogaMeasureMode heightMode)
Return a value created by YogaMeasureOutput.make(width, height);
|
void |
onBeforeLayout()
This method will be called by
UIManagerModule once per batch, before calculating
layout. |
void |
onCollectExtraUpdates(UIViewOperationQueue uiViewOperationQueue)
Called after layout step at the end of the UI batch from
UIManagerModule . |
void |
setMostRecentEventCount(int mostRecentEventCount) |
void |
setPadding(int spacingType,
float padding) |
void |
setThemedContext(ThemedReactContext themedContext) |
fromTextCSSNode, getEffectiveLineHeight, isVirtualAnchor, markUpdated, setBackgroundColor, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setLineHeight, setNumberOfLines, setText, setTextAlign, setTextDecorationLine, setTextShadowColor, setTextShadowOffset, setTextShadowRadius
setAlignItems, setAlignSelf, setAspectRatio, setBorderWidths, setFlex, setFlexBasis, setFlexDirection, setFlexGrow, setFlexShrink, setFlexWrap, setHeight, setJustifyContent, setMargins, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOverflow, setPaddings, setPosition, setPositionValues, setShouldNotifyOnLayout, setWidth
addChildAt, addNativeChildAt, calculateLayout, dirty, dispose, getChildAt, getChildCount, getLayoutDirection, getLayoutHeight, getLayoutWidth, getLayoutX, getLayoutY, getNativeChildCount, getNativeOffsetForChild, getNativeParent, getPadding, getParent, getReactTag, getRootNode, getScreenHeight, getScreenWidth, getScreenX, getScreenY, getStyleHeight, getStyleWidth, getThemedContext, getTotalNativeChildren, getViewClass, hasNewLayout, hasUnseenUpdates, hasUpdates, indexOf, indexOfNativeChild, isDirty, isLayoutOnly, isVirtual, markLayoutSeen, markUpdateSeen, onAfterUpdateTransaction, removeAllNativeChildren, removeAndDisposeAllChildren, removeChildAt, removeNativeChildAt, setAlignItems, setAlignSelf, setBorder, setDefaultPadding, setFlexDirection, setFlexWrap, setIsLayoutOnly, setJustifyContent, setLayoutDirection, setMargin, setMeasureFunction, setOverflow, setPosition, setPositionType, setReactTag, setStyleAspectRatio, setStyleHeight, setStyleMaxHeight, setStyleMaxWidth, setStyleMinHeight, setStyleMinWidth, setStyleWidth, shouldNotifyOnLayout, toString, updateProperties
public void setThemedContext(ThemedReactContext themedContext)
setThemedContext
in class ReactShadowNode
public long measure(YogaNodeAPI node, float width, YogaMeasureMode widthMode, float height, YogaMeasureMode heightMode)
YogaMeasureFunction
measure
in interface YogaMeasureFunction
public void onBeforeLayout()
ReactShadowNode
UIManagerModule
once per batch, before calculating
layout. Will be only called for nodes that are marked as updated with ReactShadowNode.markUpdated()
or require layouting (marked with ReactShadowNode.dirty()
).onBeforeLayout
in class ReactTextShadowNode
public void setMostRecentEventCount(int mostRecentEventCount)
public void onCollectExtraUpdates(UIViewOperationQueue uiViewOperationQueue)
ReactShadowNode
UIManagerModule
. May be used
to enqueue additional ui operations for the native view. Will only be called on nodes marked
as updated either with ReactShadowNode.dirty()
or ReactShadowNode.markUpdated()
.onCollectExtraUpdates
in class ReactTextShadowNode
uiViewOperationQueue
- interface for enqueueing UI operationspublic void setPadding(int spacingType, float padding)
setPadding
in class ReactShadowNode