public abstract class ReactTextAnchorViewManager<T extends android.view.View,C extends ReactBaseTextShadowNode> extends BaseViewManager<T,C>
<Text>
-ish spannable views, such as TextView
or TextEdit
.
This is a "shadowing" view manager, which means that the NativeViewHierarchyManager
will NOT manage children of native TextView
instances instantiated by this manager.
Instead we use @{link ReactBaseTextShadowNode} hierarchy to calculate a Spannable
text
represented the whole text subtree.
NativeModule.NativeMethod
PROP_NATIVE_ID, PROP_TEST_ID
METHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC
Constructor and Description |
---|
ReactTextAnchorViewManager() |
Modifier and Type | Method and Description |
---|---|
void |
setBorderColor(ReactTextView view,
int index,
java.lang.Integer color) |
void |
setBorderRadius(ReactTextView view,
int index,
float borderRadius) |
void |
setBorderStyle(ReactTextView view,
java.lang.String borderStyle) |
void |
setBorderWidth(ReactTextView view,
int index,
float width) |
void |
setDisabled(ReactTextView view,
boolean disabled) |
void |
setEllipsizeMode(ReactTextView view,
java.lang.String ellipsizeMode) |
void |
setIncludeFontPadding(ReactTextView view,
boolean includepad) |
void |
setNumberOfLines(ReactTextView view,
int numberOfLines) |
void |
setSelectable(ReactTextView view,
boolean isSelectable) |
void |
setSelectionColor(ReactTextView view,
java.lang.Integer color) |
void |
setTextAlignVertical(ReactTextView view,
java.lang.String textAlignVertical) |
onAfterUpdateTransaction, setAccessibilityComponentType, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLiveRegion, setAccessibilityRole, setBackgroundColor, setElevation, setImportantForAccessibility, setNativeId, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setTestId, setTransform, setTranslateX, setTranslateY, setViewStates, setZIndex
addEventEmitters, createShadowNodeInstance, createShadowNodeInstance, createView, createViewInstance, getCommandsMap, getExportedCustomBubblingEventTypeConstants, getExportedCustomDirectEventTypeConstants, getExportedViewConstants, getName, getNativeProps, getShadowNodeClass, measure, onDropViewInstance, receiveCommand, updateExtraData, updateLocalData, updateProperties
canOverrideExistingModule, getConstants, hasConstants, initialize, onCatalystInstanceDestroy
public void setNumberOfLines(ReactTextView view, int numberOfLines)
public void setEllipsizeMode(ReactTextView view, java.lang.String ellipsizeMode)
public void setTextAlignVertical(ReactTextView view, java.lang.String textAlignVertical)
public void setSelectable(ReactTextView view, boolean isSelectable)
public void setSelectionColor(ReactTextView view, java.lang.Integer color)
public void setBorderRadius(ReactTextView view, int index, float borderRadius)
public void setBorderStyle(ReactTextView view, java.lang.String borderStyle)
public void setBorderWidth(ReactTextView view, int index, float width)
public void setBorderColor(ReactTextView view, int index, java.lang.Integer color)
public void setIncludeFontPadding(ReactTextView view, boolean includepad)
public void setDisabled(ReactTextView view, boolean disabled)