Skip navigation links
B C E F G I K L M N O P R S V 

B

build() - Method in class react4j.Context.ProviderBuilder
 

C

children(ReactNode...) - Method in class react4j.Context.ProviderBuilder
 
cloneElement(ReactNode, JsPropertyMap<Object>) - Static method in class react4j.React
Clone and return a new ReactElement using element as the starting point.
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
 
ComponentConstructorFunction - Interface in react4j
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.
componentDidMount() - Method in class react4j.Component
This method is invoked after a component is attached to the DOM.
componentDidUpdate() - Method in class react4j.Component
This method is invoked immediately after updating occurs.
componentStack - Variable in class react4j.ReactErrorInfo
 
componentWillUnmount() - Method in class react4j.Component
This method is invoked immediately before a component is unmounted and destroyed.
ConcurrentMode - Static variable in class react4j.React
The Symbol type for ConcurrentMode.
construct(JsPropertyMap<Object>) - Method in interface react4j.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.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.
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.

E

Element - Static variable in class react4j.React
The Symbol type for Element.
enableComponentNames() - Static method in class react4j.ReactConfig
Return true if components should have human readable names specified.

F

Feature - Enum in react4j.annotations
Enum to declare whether a specific feature should be present.
ForwardRef - Static variable in class react4j.React
The Symbol type for ForwardRef.
Fragment - Static variable in class react4j.React
The Symbol type for Fragments.

G

getKey() - Method in class react4j.Component
Return the key associated with the component if any.

I

isValidElement(ReactNode) - Static method in class react4j.React
Return true if the specified node is a ReactElement.

K

key(String) - Method in class react4j.Context.ConsumerBuilder
Specify the key for component if required.
key(String) - Method in class react4j.Context.ProviderBuilder
Specify the key for the component if required.
key() - Method in class react4j.ReactElement
 

L

Lazy - Static variable in class react4j.React
The Symbol type for Lazy.

M

Memo - Static variable in class react4j.React
The Symbol type for Memo.

N

NativeAdapterComponent<I extends Component> - Class in react4j
This class provides a base class that designed to forward all lifecycle methods to a target component.
NativeAdapterComponent(JsPropertyMap<Object>) - Constructor for class react4j.NativeAdapterComponent
Create a component that designed to delegate to a target component.
NativeComponent - Class in react4j
The react native component.

O

of(byte) - Static method in interface react4j.ReactNode
 
of(short) - Static method in interface react4j.ReactNode
 
of(int) - Static method in interface react4j.ReactNode
 
of(long) - Static method in interface react4j.ReactNode
 
of(float) - Static method in interface react4j.ReactNode
 
of(double) - Static method in interface react4j.ReactNode
 
of(String) - Static method in interface react4j.ReactNode
 
of(JsArray<ReactNode>) - Static method in interface react4j.ReactNode
 
of(ReactNode...) - Static method in interface react4j.ReactNode
 
OnPropChanged - Annotation Type in react4j.annotations
Identifies a method that is called when the prop value is changed and after the component has rendered.

P

performComponentDidCatch(JsError, ReactErrorInfo) - Method in class react4j.NativeAdapterComponent
Call componentDidCatch on the target component.
performComponentDidMount() - Method in class react4j.NativeAdapterComponent
Call componentDidMount on the target component.
performComponentDidUpdate(JsPropertyMap<Object>) - Method in class react4j.NativeAdapterComponent
Call componentDidUpdate on the target component.
performComponentWillUnmount() - Method in class react4j.Component
Wrapper method that delegates to the Component.componentWillUnmount() method.
performComponentWillUnmount() - Method in class react4j.NativeAdapterComponent
Call componentWillUnmount on the target component.
performPostConstruct() - Method in class react4j.Component
Wrapper method that delegates to the Component.postConstruct() method.
performRender() - Method in class react4j.Component
Wrapper method that delegates to the Component.render() method.
performShouldComponentUpdate(JsPropertyMap<Object>) - Method in class react4j.NativeAdapterComponent
Call shouldComponentUpdate on the target 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.
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.
props() - Method in class react4j.Component
Return the component props from the native component.
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.

R

React - Class in react4j
Native interface to native runtime for creating component.
react4j - package react4j
 
react4j.annotations - package react4j.annotations
This package contains annotations used by the annotation processor.
ReactComponent - Annotation Type in react4j.annotations
Annotation used to specify a React component.
ReactConfig - Class in react4j
Location of all compile time configuration settings for framework.
ReactElement - Class in react4j
Element represents either a component or a host component.
ReactElement() - Constructor for class react4j.ReactElement
 
ReactErrorInfo - Class in react4j
 
ReactErrorInfo() - Constructor for class react4j.ReactErrorInfo
 
ReactNode - Interface in react4j
Union type representing possible output of render method.
render() - Method in class react4j.Component
Render the component.
render(Context.ConsumerRenderFunction<ST>) - Method in class react4j.Context.ConsumerBuilder
Specify the child render function.
render(T) - Method in interface react4j.Context.ConsumerRenderFunction
Render the specified tree for context value.
render() - Method in class react4j.NativeAdapterComponent
Call render on the target component.
render() - Method in class react4j.NativeComponent
 
reportPropChanges(JsPropertyMap<Object>, JsPropertyMap<Object>, boolean) - Method in class react4j.Component
Detect and report changes in props that are Prop.observable().

S

scheduleRender() - Method in class react4j.Component
Schedule this component for re-rendering.
setKey(String) - Method in class react4j.ReactElement
 
setProps(JsPropertyMap<Object>) - Method in class react4j.ReactElement
 
shouldCheckInvariants() - Static method in class react4j.ReactConfig
Return true if invariants will be checked.
shouldFreezeProps() - Static method in class react4j.ReactConfig
Return true if props should be frozen before being passed to react.
shouldMinimizePropKeys() - Static method in class react4j.ReactConfig
Return true if the prop keys should be minimized.
shouldReportPropChanges(boolean) - Method in class react4j.Component
Helper method invoked by Component.reportPropChanges(JsPropertyMap, JsPropertyMap, boolean) method generated by the annotation processor.
shouldStoreDebugDataAsState() - Static method in class react4j.ReactConfig
Return true if react state should be used to store debug data.
shouldUpdateOnPropChanges(JsPropertyMap<Object>) - Method in class react4j.Component
Detect changes in props that that do not require specific actions on change.
shouldValidatePropValues() - Static method in class react4j.ReactConfig
Return true if the prop value should be validated when initially set or when changed.
state() - Method in class react4j.Component
Return the component state from the native component.
StrictMode - Static variable in class react4j.React
The Symbol type for StrictMode.
Suspense - Static variable in class react4j.React
The Symbol type for Suspense.

V

validatePropValues(JsPropertyMap<Object>) - Method in class react4j.Component
Perform validation on props supplied to the component.
value(ST) - Method in class react4j.Context.ProviderBuilder
 
valueOf(String) - Static method in enum react4j.annotations.Feature
Returns the enum constant of this type with the specified name.
values() - Static method in enum react4j.annotations.Feature
Returns an array containing the constants of this enum type, in the order they are declared.
B C E F G I K L M N O P R S V 
Skip navigation links