public class ReactCheckBoxManager extends SimpleViewManager<com.facebook.react.views.checkbox.ReactCheckBox>
ReactCheckBox
components.NativeModule.NativeMethod
PROP_NATIVE_ID, PROP_TEST_ID
METHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC
Constructor and Description |
---|
ReactCheckBoxManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
addEventEmitters(ThemedReactContext reactContext,
com.facebook.react.views.checkbox.ReactCheckBox view)
Subclasses can override this method to install custom event emitters on the given View.
|
protected com.facebook.react.views.checkbox.ReactCheckBox |
createViewInstance(ThemedReactContext context)
Subclasses should return a new View instance of the proper type.
|
java.lang.String |
getName() |
void |
setEnabled(com.facebook.react.views.checkbox.ReactCheckBox view,
boolean enabled) |
void |
setOn(com.facebook.react.views.checkbox.ReactCheckBox view,
boolean on) |
createShadowNodeInstance, getShadowNodeClass, updateExtraData
onAfterUpdateTransaction, setAccessibilityComponentType, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLiveRegion, setAccessibilityRole, setBackgroundColor, setElevation, setImportantForAccessibility, setNativeId, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setTestId, setTransform, setTranslateX, setTranslateY, setViewStates, setZIndex
createShadowNodeInstance, createView, getCommandsMap, getExportedCustomBubblingEventTypeConstants, getExportedCustomDirectEventTypeConstants, getExportedViewConstants, getNativeProps, measure, onDropViewInstance, receiveCommand, updateLocalData, updateProperties
canOverrideExistingModule, getConstants, hasConstants, initialize, onCatalystInstanceDestroy
public java.lang.String getName()
getName
in interface NativeModule
getName
in class ViewManager<com.facebook.react.views.checkbox.ReactCheckBox,LayoutShadowNode>
protected void addEventEmitters(ThemedReactContext reactContext, com.facebook.react.views.checkbox.ReactCheckBox view)
ViewManager
addEventEmitters
in class ViewManager<com.facebook.react.views.checkbox.ReactCheckBox,LayoutShadowNode>
protected com.facebook.react.views.checkbox.ReactCheckBox createViewInstance(ThemedReactContext context)
ViewManager
createViewInstance
in class ViewManager<com.facebook.react.views.checkbox.ReactCheckBox,LayoutShadowNode>
public void setEnabled(com.facebook.react.views.checkbox.ReactCheckBox view, boolean enabled)
public void setOn(com.facebook.react.views.checkbox.ReactCheckBox view, boolean on)