public class ReactTextInputShadowNode extends ReactTextShadowNode implements CSSNodeAPI.MeasureFunction
CSSNodeAPI.MeasureFunction
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 |
---|---|
void |
measure(CSSNodeAPI node,
float width,
CSSMeasureMode widthMode,
float height,
CSSMeasureMode heightMode,
MeasureOutput measureOutput) |
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, isVirtual, isVirtualAnchor, markUpdated, setBackgroundColor, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setLineHeight, setNumberOfLines, setText, setTextAlign, setTextDecorationLine, setTextShadowColor, setTextShadowOffset, setTextShadowRadius
setAlignItems, setAlignSelf, setBorderWidths, setFlex, setFlexBasis, setFlexDirection, setFlexGrow, setFlexShrink, setFlexWrap, setHeight, setJustifyContent, setMargins, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setPaddings, setPosition, setPositionValues, setShouldNotifyOnLayout, setWidth
addChildAt, addNativeChildAt, dirty, getChildAt, getNativeChildCount, getNativeOffsetForChild, getNativeParent, getParent, getReactTag, getRootNode, getScreenHeight, getScreenWidth, getScreenX, getScreenY, getThemedContext, getTotalNativeChildren, getViewClass, hasUnseenUpdates, hasUpdates, indexOfNativeChild, isLayoutOnly, markUpdateSeen, onAfterUpdateTransaction, removeAllChildren, removeAllNativeChildren, removeChildAt, removeNativeChildAt, setDefaultPadding, setIsLayoutOnly, shouldNotifyOnLayout, updateProperties
calculateLayout, getAlignContent, getAlignItems, getAlignSelf, getBorder, getChildCount, getData, getFlex, getFlexBasis, getFlexDirection, getFlexGrow, getFlexShrink, getJustifyContent, getLayoutDirection, getLayoutHeight, getLayoutWidth, getLayoutX, getLayoutY, getMargin, getOverflow, getPadding, getPosition, getPositionType, getStyleDirection, getStyleHeight, getStyleMaxHeight, getStyleMaxWidth, getStyleMinHeight, getStyleMinWidth, getStyleWidth, hasNewLayout, indexOf, init, isDirty, isMeasureDefined, isTextNode, markLayoutSeen, reset, setAlignContent, setAlignItems, setAlignSelf, setBorder, setData, setDirection, setFlexDirection, setIsTextNode, setJustifyContent, setMargin, setMeasureFunction, setOverflow, setPosition, setPositionType, setStyleHeight, setStyleMaxHeight, setStyleMaxWidth, setStyleMinHeight, setStyleMinWidth, setStyleWidth, setWrap, toString, valuesEqual
public void setThemedContext(ThemedReactContext themedContext)
setThemedContext
in class ReactShadowNode
public void measure(CSSNodeAPI node, float width, CSSMeasureMode widthMode, float height, CSSMeasureMode heightMode, MeasureOutput measureOutput)
measure
in interface CSSNodeAPI.MeasureFunction
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 interface CSSNodeAPI<CSSNode>
setPadding
in class ReactShadowNode