-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule
,com.facebook.react.uimanager.BaseViewManagerInterface
public abstract class ReactTextAnchorViewManager<T extends View, C extends ReactBaseTextShadowNode> extends BaseViewManager<T, C>
Abstract class for anchor
{@code }
-ish spannable views, such as TextView or .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.
-
-
Method Summary
Modifier and Type Method Description void
setAccessible(ReactTextView view, boolean accessible)
void
setNumberOfLines(ReactTextView view, int numberOfLines)
void
setEllipsizeMode(ReactTextView view, @Nullable() String ellipsizeMode)
void
setAdjustFontSizeToFit(ReactTextView view, boolean adjustsFontSizeToFit)
void
setTextAlignVertical(ReactTextView view, @Nullable() String textAlignVertical)
void
setSelectable(ReactTextView view, boolean isSelectable)
void
setSelectionColor(ReactTextView view, @Nullable() Integer color)
void
setAndroidHyphenationFrequency(ReactTextView view, @Nullable() String frequency)
void
setBorderRadius(ReactTextView view, int index, float borderRadius)
void
setBorderStyle(ReactTextView view, @Nullable() String borderStyle)
void
setBorderWidth(ReactTextView view, int index, float width)
void
setBorderColor(ReactTextView view, int index, Integer color)
void
setIncludeFontPadding(ReactTextView view, boolean includepad)
void
setDisabled(ReactTextView view, boolean disabled)
void
setDataDetectorType(ReactTextView view, @Nullable() String type)
void
setNotifyOnInlineViewLayout(ReactTextView view, boolean notifyOnInlineViewLayout)
-
Methods inherited from class com.facebook.react.uimanager.BaseViewManager
getExportedCustomBubblingEventTypeConstants, getExportedCustomDirectEventTypeConstants, setAccessibilityActions, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLabelledBy, setAccessibilityLiveRegion, setAccessibilityRole, setAccessibilityValue, setBackgroundColor, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderRadius, setBorderTopLeftRadius, setBorderTopRightRadius, setElevation, setImportantForAccessibility, setMoveShouldSetResponder, setMoveShouldSetResponderCapture, setNativeId, setOpacity, setPointerEnter, setPointerLeave, setPointerMove, setRenderToHardwareTexture, setResponderEnd, setResponderGrant, setResponderMove, setResponderReject, setResponderRelease, setResponderStart, setResponderTerminate, setResponderTerminationRequest, setRotation, setScaleX, setScaleY, setShadowColor, setShouldBlockNativeResponder, setStartShouldSetResponder, setStartShouldSetResponderCapture, setTestId, setTouchCancel, setTouchEnd, setTouchMove, setTouchStart, setTransform, setTranslateX, setTranslateY, setViewState, setZIndex
-
Methods inherited from class com.facebook.react.uimanager.ViewManager
createShadowNodeInstance, createShadowNodeInstance, createView, getCommandsMap, getExportedViewConstants, getName, getNativeProps, getShadowNodeClass, measure, measure, onDropViewInstance, receiveCommand, receiveCommand, setPadding, updateExtraData, updateProperties, updateState
-
Methods inherited from class com.facebook.react.bridge.BaseJavaModule
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
-
Methods inherited from class com.facebook.react.uimanager.BaseViewManagerInterface
setAccessibilityActions, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLabelledBy, setAccessibilityLiveRegion, setAccessibilityRole, setBackgroundColor, setElevation, setImportantForAccessibility, setNativeId, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setShadowColor, setTestId, setTransform, setTranslateX, setTranslateY, setViewState, setZIndex
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setAccessible
void setAccessible(ReactTextView view, boolean accessible)
-
setNumberOfLines
void setNumberOfLines(ReactTextView view, int numberOfLines)
-
setEllipsizeMode
void setEllipsizeMode(ReactTextView view, @Nullable() String ellipsizeMode)
-
setAdjustFontSizeToFit
void setAdjustFontSizeToFit(ReactTextView view, boolean adjustsFontSizeToFit)
-
setTextAlignVertical
void setTextAlignVertical(ReactTextView view, @Nullable() String textAlignVertical)
-
setSelectable
void setSelectable(ReactTextView view, boolean isSelectable)
-
setSelectionColor
void setSelectionColor(ReactTextView view, @Nullable() Integer color)
-
setAndroidHyphenationFrequency
void setAndroidHyphenationFrequency(ReactTextView view, @Nullable() String frequency)
-
setBorderRadius
void setBorderRadius(ReactTextView view, int index, float borderRadius)
-
setBorderStyle
void setBorderStyle(ReactTextView view, @Nullable() String borderStyle)
-
setBorderWidth
void setBorderWidth(ReactTextView view, int index, float width)
-
setBorderColor
void setBorderColor(ReactTextView view, int index, Integer color)
-
setIncludeFontPadding
void setIncludeFontPadding(ReactTextView view, boolean includepad)
-
setDisabled
void setDisabled(ReactTextView view, boolean disabled)
-
setDataDetectorType
void setDataDetectorType(ReactTextView view, @Nullable() String type)
-
setNotifyOnInlineViewLayout
void setNotifyOnInlineViewLayout(ReactTextView view, boolean notifyOnInlineViewLayout)
-
-
-
-