public class FrescoBasedReactTextInlineImageShadowNode extends ReactTextInlineImageShadowNode
CSSNode
that represents an inline image. Loading is done using Fresco.CSSNodeAPI.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(ReadableArray sources) |
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, isVirtualAnchor, markUpdated, markUpdateSeen, onAfterUpdateTransaction, onBeforeLayout, onCollectExtraUpdates, removeAllChildren, removeAllNativeChildren, removeChildAt, removeNativeChildAt, setDefaultPadding, setIsLayoutOnly, setPadding, setThemedContext, 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 FrescoBasedReactTextInlineImageShadowNode(AbstractDraweeControllerBuilder draweeControllerBuilder, @Nullable java.lang.Object callerContext)
public void setSource(@Nullable ReadableArray sources)
@Nullable public android.net.Uri getUri()
public boolean isVirtual()
ReactShadowNode
true
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 ReactShadowNode
public TextInlineImageSpan buildInlineImageSpan()
ReactTextInlineImageShadowNode
TextInlineImageSpan
from this node. This will be added to the TextView in
place of this node.buildInlineImageSpan
in class ReactTextInlineImageShadowNode
public AbstractDraweeControllerBuilder getDraweeControllerBuilder()
@Nullable public java.lang.Object getCallerContext()