public class ReactCheckBoxManager extends SimpleViewManager<com.facebook.react.views.checkbox.ReactCheckBox>
ReactCheckBox components.NativeModule.NativeMethod| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REACT_CLASS |
sStateDescriptionMETHOD_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 |
receiveCommand(com.facebook.react.views.checkbox.ReactCheckBox root,
java.lang.String commandId,
ReadableArray args)
Subclasses may use this method to receive events/commands directly from JS through the
UIManager. |
void |
setEnabled(com.facebook.react.views.checkbox.ReactCheckBox view,
boolean enabled) |
void |
setOn(com.facebook.react.views.checkbox.ReactCheckBox view,
boolean on) |
void |
setTintColors(com.facebook.react.views.checkbox.ReactCheckBox view,
ReadableMap colorsMap) |
createShadowNodeInstance, getShadowNodeClass, updateExtraDatagetExportedCustomDirectEventTypeConstants, onAfterUpdateTransaction, setAccessibilityActions, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLiveRegion, setAccessibilityRole, setAccessibilityValue, setBackgroundColor, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderRadius, setBorderTopLeftRadius, setBorderTopRightRadius, setElevation, setImportantForAccessibility, setNativeId, setOpacity, setRenderToHardwareTexture, setRotation, setScaleX, setScaleY, setTestId, setTransform, setTranslateX, setTranslateY, setViewState, setZIndexcreateShadowNodeInstance, createView, createViewInstance, getCommandsMap, getDelegate, getExportedCustomBubblingEventTypeConstants, getExportedViewConstants, getNativeProps, measure, onDropViewInstance, receiveCommand, setPadding, updateLocalData, updateProperties, updateStatecanOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroypublic static final java.lang.String REACT_CLASS
public java.lang.String getName()
getName in interface NativeModulegetName in class ViewManager<com.facebook.react.views.checkbox.ReactCheckBox,LayoutShadowNode>protected void addEventEmitters(ThemedReactContext reactContext, com.facebook.react.views.checkbox.ReactCheckBox view)
ViewManageraddEventEmitters in class ViewManager<com.facebook.react.views.checkbox.ReactCheckBox,LayoutShadowNode>protected com.facebook.react.views.checkbox.ReactCheckBox createViewInstance(ThemedReactContext context)
ViewManagercreateViewInstance 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)
public void receiveCommand(com.facebook.react.views.checkbox.ReactCheckBox root,
java.lang.String commandId,
ReadableArray args)
ViewManagerUIManager. Good example of such a command would be scrollTo request with coordinates
for a ReactScrollView instance.receiveCommand in class ViewManager<com.facebook.react.views.checkbox.ReactCheckBox,LayoutShadowNode>root - View instance that should receive the commandcommandId - code of the commandargs - optional arguments for the commandpublic void setTintColors(com.facebook.react.views.checkbox.ReactCheckBox view,
ReadableMap colorsMap)