- children(ReactNode...) - Method in class react4j.Context.ProviderBuilder
-
- complete() - Method in class react4j.ReactElement
-
Complete the element.
- Component - Class in react4j
-
The base java class that mirrors the react component.
- Component() - Constructor for class react4j.Component
-
- component() - Method in class react4j.internal.NativeAdapterComponent
-
Return the non-native component associated with this component.
- ComponentConstructorFunction - Interface in react4j.internal
-
A function interface to create component instances.
- componentDidCatch(JsError, ReactErrorInfo) - Method in class react4j.Component
-
The componentDidCatch() method works like a JavaScript catch {} block, but for components.
- componentDidCatch(JsError, ReactErrorInfo) - Method in interface react4j.internal.OnComponentDidCatch
-
- componentDidMount() - Method in interface react4j.internal.OnComponentDidMount
-
- componentDidUpdate(JsPropertyMap<Object>) - Method in interface react4j.internal.OnComponentDidUpdate
-
- componentStack - Variable in class react4j.ReactErrorInfo
-
- componentWillUnmount() - Method in interface react4j.internal.OnComponentWillUnmount
-
- ConcurrentMode - Static variable in class react4j.React
-
The Symbol type for ConcurrentMode.
- construct(JsPropertyMap<Object>) - Method in interface react4j.internal.ComponentConstructorFunction
-
Construct a component based on specified properties.
- consumer() - Method in class react4j.Context
-
Create a builder for the Consumer component.
- Consumer - Static variable in class react4j.React
-
The Symbol type for Consumer.
- Context<T> - Class in react4j
-
Context is designed to share data that can be considered "global" for a tree of React components.
- Context() - Constructor for class react4j.Context
-
- Context.ConsumerBuilder<ST> - Class in react4j
-
A Builder for the Consumer component.
- Context.ConsumerRenderFunction<T> - Interface in react4j
-
Interface used to type the render function prop.
- Context.ProviderBuilder<ST> - Class in react4j
-
A Builder for the Provider component.
- createComponent() - Method in class react4j.internal.NativeAdapterComponent
-
Template method that actually creates the target component.
- createComponentElement(ComponentConstructorFunction) - Static method in class react4j.ReactElement
-
- createContext(T) - Static method in class react4j.React
-
Creates a context with specified default value.
- createElement(String, Object) - Static method in class react4j.React
-
Create and return a new ReactElement of the given type with specified children.
- createElement(String, JsPropertyMap<Object>) - Static method in class react4j.React
-
Create and return a new ReactElement of the given type with no children.
- createElement(String, Object, ReactNode...) - Static method in class react4j.React
-
Create and return a new ReactElement of the given type with specified children.
- createElement(String, JsPropertyMap<Object>, ReactNode...) - Static method in class react4j.React
-
Create and return a new ReactElement of the given type with specified children.
- createElement(String, JsPropertyMap<Object>, JsArray<ReactNode>) - Static method in class react4j.React
-
Create and return a new ReactElement of the given type with specified children.
- createFragment(ReactNode...) - Static method in class react4j.React
-
Create a Fragment with the specified children.
- createFragment(List<? extends ReactNode>) - Static method in class react4j.React
-
Create a Fragment with the specified children.
- createFragment(Stream<? extends ReactNode>) - Static method in class react4j.React
-
Create a Fragment with the specified children.
- createFragment(ReactNode...) - Static method in class react4j.ReactElement
-
- createHostElement(String, String, Object, JsPropertyMap<Object>) - Static method in class react4j.ReactElement
-
- createRawElement(Object, String, Object, JsPropertyMap<Object>) - Static method in class react4j.ReactElement
-
- createStrictMode(ReactNode...) - Static method in class react4j.React
-
Create a StrictMode component with the specified children.
- performPostConstruct() - Method in class react4j.Component
-
- performRender() - Method in class react4j.Component
-
- populateDebugData(JsPropertyMap<Object>) - Method in class react4j.Component
-
Populate the state parameter with any data that is useful when debugging the component.
- Portal - Static variable in class react4j.React
-
The Symbol type for Portal.
- postConstruct() - Method in class react4j.Component
-
This method is invoked after the component is constructed and bound to a native react component.
- PostMount - Annotation Type in react4j.annotations
-
Identifies a method that is called after a component is mounted or attatched to the DOM.
- PostRender - Annotation Type in react4j.annotations
-
Identifies a method that is called after a component is rendered.
- PostUpdate - Annotation Type in react4j.annotations
-
Identifies a method that is called after a component is updated or re-rendered.
- PreUnmount - Annotation Type in react4j.annotations
-
Identifies a method that is called before a component is unmounted or dettatched from the DOM.
- PreUpdate - Annotation Type in react4j.annotations
-
Identifies a method that is called before a component is updated or re-rendered.
- Profiler - Static variable in class react4j.React
-
The Symbol type for Profiler.
- Prop - Annotation Type in react4j.annotations
-
Annotation used to specify an abstract method that returns a prop.
- PropDefault - Annotation Type in react4j.annotations
-
Annotation used to specify the default value for a prop.
- PropRef - Annotation Type in react4j.annotations
-
Annotation used to associate a parameter with a prop on a method annotated with
OnPropChange
.
- props() - Method in class react4j.Component
-
Return the component props from the native component.
- props() - Method in class react4j.internal.NativeComponent
-
- props() - Method in class react4j.ReactElement
-
- PropValidate - Annotation Type in react4j.annotations
-
Identifies method that is called when the prop value is specified or changes.
- provider() - Method in class react4j.Context
-
Create a builder for the Provider component.
- Provider - Static variable in class react4j.React
-
The Symbol type for Provider.