public class RCTTextInputManager extends ReactTextInputManager
NativeModule.NativeMethod
PROP_NATIVE_ID, PROP_TEST_ID
METHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC
Constructor and Description |
---|
RCTTextInputManager() |
Modifier and Type | Method and Description |
---|---|
RCTTextInput |
createShadowNodeInstance()
This method should return a subclass of
ReactShadowNode which will be then used for
measuring position and size of the view. |
java.lang.Class<RCTTextInput> |
getShadowNodeClass()
This method should return
Class instance that represent type of shadow node that this
manager will return from ViewManager.createShadowNodeInstance() . |
addEventEmitters, createViewInstance, getCommandsMap, getExportedCustomBubblingEventTypeConstants, getExportedCustomDirectEventTypeConstants, getExportedViewConstants, getName, onAfterUpdateTransaction, receiveCommand, setAutoCapitalize, setAutoCorrect, setBlurOnSubmit, setBorderColor, setBorderRadius, setBorderStyle, setBorderWidth, setCaretHidden, setColor, setContextMenuHidden, setDisableFullscreenUI, setEditable, setFontFamily, setFontSize, setFontStyle, setFontWeight, setInlineImageLeft, setInlineImagePadding, setKeyboardType, setLetterSpacing, setMaxLength, setMultiline, setNumLines, setOnContentSizeChange, setOnScroll, setOnSelectionChange, setPlaceholder, setPlaceholderTextColor, setReturnKeyLabel, setReturnKeyType, setSecureTextEntry, setSelection, setSelectionColor, setSelectTextOnFocus, setTextAlign, setTextAlignVertical, setUnderlineColor, updateExtraData
setAccessibilityComponentType, setAccessibilityLabel, setAccessibilityLiveRegion, setBackgroundColor, setElevation, setImportantForAccessibility, setNativeId, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setTestId, setTransform, setTranslateX, setTranslateY, setZIndex
createShadowNodeInstance, createView, getNativeProps, onDropViewInstance, updateProperties
canOverrideExistingModule, getConstants, hasConstants, initialize, onCatalystInstanceDestroy
public RCTTextInput createShadowNodeInstance()
ViewManager
ReactShadowNode
which will be then used for
measuring position and size of the view. In most of the cases this should just return an
instance of ReactShadowNode
createShadowNodeInstance
in class ReactTextInputManager
public java.lang.Class<RCTTextInput> getShadowNodeClass()
ViewManager
Class
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 ReactTextInputManager
Class
object that represents type of shadow node used by this view manager.