public class FrescoBasedReactTextInlineImageShadowNode extends ReactTextInlineImageShadowNode
CSSNode that represents an inline image. Loading is done using Fresco.CSSNode.MeasureFunction| Constructor and Description |
|---|
FrescoBasedReactTextInlineImageShadowNode(AbstractDraweeControllerBuilder draweeControllerBuilder,
java.lang.Object callerContext) |
| Modifier and Type | Method and Description |
|---|---|
TextInlineImageSpan |
buildInlineImageSpan()
Build a
TextInlineImageSpan from this node. |
java.lang.Object |
getCallerContext() |
AbstractDraweeControllerBuilder |
getDraweeControllerBuilder() |
android.net.Uri |
getUri() |
boolean |
isVirtual()
Nodes that return
true will be treated as "virtual" nodes. |
void |
setSource(java.lang.String source) |
setAlignItems, setAlignSelf, setBorderWidths, setBottom, setFlex, setFlexDirection, setFlexWrap, setHeight, setJustifyContent, setLeft, setMargins, setPaddings, setPosition, setRight, setShouldNotifyOnLayout, setTop, setWidthaddChildAt, addNativeChildAt, dirty, getChildAt, getNativeChildCount, getNativeOffsetForChild, getNativeParent, getParent, getReactTag, getRootNode, getScreenHeight, getScreenWidth, getScreenX, getScreenY, getThemedContext, getTotalNativeChildren, getViewClass, hasUnseenUpdates, hasUpdates, indexOfNativeChild, isLayoutOnly, isVirtualAnchor, markUpdated, markUpdateSeen, onAfterUpdateTransaction, onBeforeLayout, onCollectExtraUpdates, removeAllChildren, removeAllNativeChildren, removeChildAt, removeNativeChildAt, setIsLayoutOnly, setThemedContext, shouldNotifyOnLayout, updatePropertiescalculateLayout, getAlignItems, getAlignSelf, getBorder, getChildCount, getFlex, getFlexDirection, getJustifyContent, getLayoutDirection, getLayoutHeight, getLayoutWidth, getLayoutX, getLayoutY, getMargin, getPadding, getPositionBottom, getPositionLeft, getPositionRight, getPositionTop, getPositionType, getStyleDirection, getStyleHeight, getStyleWidth, hasNewLayout, indexOf, isDirty, isMeasureDefined, markLayoutSeen, reset, setAlignItems, setAlignSelf, setBorder, setDefaultPadding, setDirection, setFlexDirection, setJustifyContent, setMargin, setMeasureFunction, setPadding, setPositionBottom, setPositionLeft, setPositionRight, setPositionTop, setPositionType, setStyleHeight, setStyleWidth, setWrap, toString, valuesEqualpublic FrescoBasedReactTextInlineImageShadowNode(AbstractDraweeControllerBuilder draweeControllerBuilder,
@Nullable
java.lang.Object callerContext)
public void setSource(@Nullable
java.lang.String source)
@Nullable public android.net.Uri getUri()
public boolean isVirtual()
ReactShadowNodetrue will be treated as "virtual" nodes. That is, nodes that are not
mapped into native views (e.g. nested text node). By default this method returns false.isVirtual in class ReactShadowNodepublic TextInlineImageSpan buildInlineImageSpan()
ReactTextInlineImageShadowNodeTextInlineImageSpan from this node. This will be added to the TextView in
place of this node.buildInlineImageSpan in class ReactTextInlineImageShadowNodepublic AbstractDraweeControllerBuilder getDraweeControllerBuilder()
@Nullable public java.lang.Object getCallerContext()