public final class RCTTextManager extends ViewGroupManager<com.facebook.react.flat.FlatViewGroup>
NativeModule.NativeMethodPROP_NATIVE_ID, PROP_TEST_IDMETHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC| Constructor and Description |
|---|
RCTTextManager() |
| Modifier and Type | Method and Description |
|---|---|
com.facebook.react.flat.RCTText |
createShadowNodeInstance()
This method should return a subclass of
ReactShadowNode which will be then used for
measuring position and size of the view. |
protected com.facebook.react.flat.FlatViewGroup |
createViewInstance(ThemedReactContext reactContext)
Subclasses should return a new View instance of the proper type.
|
java.lang.String |
getName() |
java.lang.Class<com.facebook.react.flat.RCTText> |
getShadowNodeClass()
This method should return
Class instance that represent type of shadow node that this
manager will return from ViewManager.createShadowNodeInstance(). |
void |
removeAllViews(com.facebook.react.flat.FlatViewGroup parent) |
void |
setBackgroundColor(com.facebook.react.flat.FlatViewGroup view,
int backgroundColor) |
addView, addViews, getChildAt, getChildCount, getViewZIndex, needsCustomLayoutForChildren, removeView, removeViewAt, setViewZIndex, shouldPromoteGrandchildren, updateExtraDatasetAccessibilityComponentType, setAccessibilityLabel, setAccessibilityLiveRegion, setElevation, setImportantForAccessibility, setNativeId, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setTestId, setTransform, setTranslateX, setTranslateY, setZIndexaddEventEmitters, createView, getCommandsMap, getExportedCustomBubblingEventTypeConstants, getExportedCustomDirectEventTypeConstants, getExportedViewConstants, getNativeProps, onAfterUpdateTransaction, onDropViewInstance, receiveCommand, updatePropertiescanOverrideExistingModule, getConstants, hasConstants, initialize, onCatalystInstanceDestroypublic java.lang.String getName()
getName in interface NativeModulegetName in class ViewManager<com.facebook.react.flat.FlatViewGroup,LayoutShadowNode>public com.facebook.react.flat.RCTText createShadowNodeInstance()
ViewManagerReactShadowNode which will be then used for
measuring position and size of the view. In mose of the cases this should just return an
instance of ReactShadowNodecreateShadowNodeInstance in class ViewGroupManager<com.facebook.react.flat.FlatViewGroup>public java.lang.Class<com.facebook.react.flat.RCTText> getShadowNodeClass()
ViewManagerClass instance that represent type of shadow node that this
manager will return from ViewManager.createShadowNodeInstance().
This method will be used in the bridge initialization phase to collect properties exposed using
ReactProp (or ReactPropGroup) annotation from the ReactShadowNode
subclass specific for native view this manager provides.getShadowNodeClass in class ViewGroupManager<com.facebook.react.flat.FlatViewGroup>Class object that represents type of shadow node used by this view manager.protected com.facebook.react.flat.FlatViewGroup createViewInstance(ThemedReactContext reactContext)
ViewManagercreateViewInstance in class ViewManager<com.facebook.react.flat.FlatViewGroup,LayoutShadowNode>public void setBackgroundColor(com.facebook.react.flat.FlatViewGroup view,
int backgroundColor)
setBackgroundColor in class BaseViewManager<com.facebook.react.flat.FlatViewGroup,LayoutShadowNode>public void removeAllViews(com.facebook.react.flat.FlatViewGroup parent)
removeAllViews in class ViewGroupManager<com.facebook.react.flat.FlatViewGroup>