Package com.facebook.react.uimanager
See: Description
-
Class Summary Class Description BaseViewManager Base class that should be suitable for the majority of subclasses of ViewManager. BaseViewManagerAdapter BaseViewManagerDelegate This is a base implementation of ViewManagerDelegate which supports setting properties that every view should support, such as rotation, background color, etc. ComponentNameResolverManager DisplayMetricsHolder Holds an instance of the current DisplayMetrics so we don't have to thread it through all the classes that need it. FabricViewStateManager This is a helper base class for ViewGroups that use Fabric State. FloatUtil GuardedFrameCallback Abstract base for a Choreographer FrameCallback that should have any RuntimeExceptions it throws handled by the com.facebook.react.bridge.NativeModuleCallExceptionHandler registered if the app is in dev mode. IllegalViewOperationException An exception caused by JS requesting the UI manager to perform an illegal view operation. JSPointerDispatcher JSPointerDispatcher handles dispatching pointer events to JS from RootViews. JSTouchDispatcher JSTouchDispatcher handles dispatching touches to JS from RootViews. LayoutShadowNode Supply setters for base view layout properties such as width, height, flex properties, borders, etc. MatrixDecompositionContext MatrixMathHelper Provides helper methods for converting transform operations into a matrix and then into a list of translate, scale and rotate commands. MeasureSpecAssertions Shared utility for asserting on MeasureSpecs. NativeViewHierarchyManager Delegate of UIManagerModule that owns the native view hierarchy and mapping between native view names used in JS and corresponding instances of ViewManager. NativeViewHierarchyOptimizer Class responsible for optimizing the native view hierarchy while still respecting the final UI product specified by JS. NoSuchNativeViewException Exception thrown when a class tries to access a native view by a tag that has no native view associated with it. OnLayoutEvent Event used to notify JS component about changes of its position or dimensions PixelUtil Android dp to pixel manipulation AccessibilityLinks ReactAccessibilityDelegate Utility class that handles the addition of a "role" for accessibility to either a View or AccessibilityNodeInfo. ReactClippingViewGroupHelper Provides implementation of common tasks for view and it's view manager supporting property {@code * removeClippedSubviews}
.ReactInvalidPropertyException ReactRootViewTagGenerator Incremental counter for React Root View tag. ReactShadowNodeImpl Base node class for representing virtual tree of React nodes. ReactStylesDiffMap Wrapper for ReadableMap which should be used for styles property map. ReactYogaConfigProvider RootViewManager View manager for ReactRootView components. RootViewUtil ShadowNodeRegistry Simple container class to keep track of ReactShadowNodes associated with a particular UIManagerModule instance. SimpleViewManager Common base class for most of the ViewManagers. Spacing Class representing CSS spacing (padding, margin, and borders). ThemedReactContext Wraps ReactContext with the base Context passed into the constructor. ViewTarget TouchTargetHelper Class responsible for identifying which react view should handle a given MotionEvent. TransformHelper Class providing helper methods for converting transformation list (as accepted by 'transform' view property) into a transformation matrix. UIImplementation A class that is used to receive React commands from JS and translate them into a shadow node hierarchy that is then mapped to a native view hierarchy. UIImplementationProvider Provides UIImplementation to use in UIManagerModule. UIManagerHelper Helper class for UIManager. UIManagerModule Native module to allow JS to create and update native Views. UIViewOperationQueue This class acts as a buffer for command executed on NativeViewHierarchyManager. ViewAtIndex Data structure that couples view tag to it's index in parent view. ViewDefaults Default property values for Views to be shared between Views and ShadowViews. ViewGroupDrawingOrderHelper Helper to handle implementing ViewGroups with custom drawing order based on z-index. ViewGroupManager Class providing children management API for view managers of classes extending ViewGroup. ViewHierarchyDumper ViewManager Class responsible for knowing how to create and update catalyst Views of a given type. ViewManagerPropertyUpdater ViewManagerRegistry Class that stores the mapping between native view name used in JS and the corresponding instance of ViewManager. ViewProps Keys for props that need to be shared across multiple classes. YogaNodePool Static holder for a recycling pool of YogaNodes. -
Interface Summary Interface Description BaseViewManagerInterface This is an interface that should be implemented by view managers supporting the base view properties such as backgroundColor, opacity, etc. ComponentNameResolver HasFabricViewStateManager StateUpdateCallback IViewManagerWithChildren ReactClippingProhibitedView Some Views may not function if added directly to a ViewGroup that clips them. ReactClippingViewGroup Interface that should be implemented by View subclasses that support {@code * removeClippedSubviews}
property.ReactCompoundView This interface should be implemented be native View subclasses that can represent more than a single react node (e.g. ReactCompoundViewGroup This interface should be implemented be native ViewGroup subclasses that can represent more than a single react node. ReactOverflowView Interface that should be implemented by View subclasses that support {@code overflow}
style.ReactOverflowViewWithInset Interface that should be implemented by View subclasses that support {@code overflow}
style and want to use the overflowInset values.ReactPointerEventsView This interface should be implemented be native View subclasses that support pointer events handling. ReactRoot Interface for the root native view of a React native application ReactShadowNode Base node class for representing virtual tree of React nodes. ReactZIndexedViewGroup ViewGroup that supports z-index. RootView Interface for the root native view of a React native application. StateWrapper This is a wrapper that can be used for passing State objects from Fabric C++ core to platform-specific components in Java. UIBlock A task to execute on the UI View for third party libraries. LayoutUpdateListener Interface definition for a callback to be invoked when the layout has been updated CustomEventNamesResolver Resolves a name coming from native side to a name of the event that is exposed to JS. UIManagerModuleListener Listener used to hook into the UIManager update process. UIOperation A mutation or animation operation on the view hierarchy. ViewManagerDelegate This is an interface that must be implemented by classes that wish to take over the responsibility of setting properties of all views managed by the view manager and executing view commands. Settable ViewManagerSetter ShadowNodeSetter ViewManagerResolver Enables lazy discovery of a specific ViewManager by its name. -
Enum Summary Enum Description NativeKind PointerEvents Possible values for pointer events that a view and its descendants should receive. AccessibilityRole These roles are defined by Google's TalkBack screen reader, and this list should be kept up todate with their implementation.