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

B

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

C

checkInvariants() - Static method in class react4j.ReactTestUtil
Set the `react4j.check_invariants` setting to true.
children(ReactNode...) - Method in class react4j.Context.ProviderBuilder
 
collectDependencyDebugData(Observer, JsPropertyMap<Object>) - Static method in class react4j.internal.IntrospectUtil
For the specified observer, collect all dependencies and record them in data to be emitted as debug data.
complete() - Method in class react4j.ReactElement
Complete the element.
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
 
construct(JsPropertyMap<Object>) - Method in interface react4j.internal.ViewConstructorFunction
Construct a component based on specified inputs.
consumer() - Method in class react4j.Context
Create a builder for the Consumer component.
Context<T> - Class in react4j
Context is designed to share data that can be considered "global" for a tree of views.
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 input.
Context.ProviderBuilder<ST> - Class in react4j
A Builder for the Provider component.
Contexts - Class in react4j
A global registry containing the react contexts that have been created.
createFragment(String, ReactNode...) - Static method in class react4j.ReactElement
 
createHostElement(String, String, Object, JsPropertyMap<Object>) - Static method in class react4j.ReactElement
 
createStrictMode(ReactNode...) - Static method in class react4j.ReactElement
Create a StrictMode component with the specified children.
createSuspense(String, ReactNode, int, ReactNode...) - Static method in class react4j.ReactElement
 
createViewElement(ViewConstructorFunction) - Static method in class react4j.ReactElement
 

D

disableViewNames() - Static method in class react4j.ReactTestUtil
Set the `react4j.enable_view_names` setting to false.
dup() - Method in class react4j.ReactElement
 

E

enableViewNames() - Static method in class react4j.React
Return true if views should have human readable names specified.
enableViewNames() - Static method in class react4j.ReactTestUtil
Set the `react4j.enable_view_names` setting to true.

F

Feature - Enum in react4j.annotations
Enum to declare whether a specific feature should be present.
forceUpdate() - Method in class react4j.internal.NativeView
 
freezeInputs() - Static method in class react4j.ReactTestUtil
Set the `react4j.freeze_inputs` setting to true.

G

get(Class<T>) - Static method in class react4j.Contexts
Return the context with the specified type and an empty "" qualifier.
get(Class<T>, String) - Static method in class react4j.Contexts
Return the context with the specified type and qualifier.
getKey() - Method in interface react4j.Keyed
Return a string that will be the key or contribute to the key of a view.
getKey(Object) - Static method in interface react4j.Keyed
Invoked Keyed.getKey() on specified parameter if the parameter implements Keyed otherwise return null.
getSnapshotBeforeUpdate(JsPropertyMap<Object>, JsPropertyMap<Object>) - Method in interface react4j.internal.OnGetSnapshotBeforeUpdate
 
getValue(ObservableValueInfo) - Static method in class react4j.internal.IntrospectUtil
Return the value for specified observable.

I

IDLE - Static variable in class react4j.internal.ViewState
 
Input - Annotation Type in react4j.annotations
Annotation used to specify an abstract method that returns a prop.
input(String, Object) - Method in class react4j.ReactElement
 
Input.Source - Enum in react4j.annotations
Enum where the input is sourced from.
InputDefault - Annotation Type in react4j.annotations
Annotation used to specify the default value for a input.
InputRef - Annotation Type in react4j.annotations
Annotation used to associate a parameter with a input on a method annotated with OnInputChange .
inputs() - Method in class react4j.internal.NativeView
 
inputs() - Method in class react4j.ReactElement
 
InputValidate - Annotation Type in react4j.annotations
Identifies method that is called when the input value is specified or changes.
IntrospectUtil - Class in react4j.internal
Utilities for introspecting the React4j views and runtime.

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
 
Keyed - Interface in react4j
Interface implemented by objects so that they can be marked as Input.immutable()

M

minimizeInputKeys() - Static method in class react4j.ReactTestUtil
Set the `react4j.minimize_input_keys` setting to true.

N

NativeView - Class in react4j.internal
The react native component.
NativeView(JsPropertyMap<Object>) - Constructor for class react4j.internal.NativeView
 
noCheckInvariants() - Static method in class react4j.ReactTestUtil
Set the `react4j.check_invariants` setting to false.
noFreezeInputs() - Static method in class react4j.ReactTestUtil
Set the `react4j.freeze_inputs` setting to false.
noMinimizeInputKeys() - Static method in class react4j.ReactTestUtil
Set the `react4j.minimize_input_keys` setting to false.
noStoreDebugDataAsState() - Static method in class react4j.ReactTestUtil
Set the `react4j.store_debug_data_as_state` setting to false.
noValidateInputValues() - Static method in class react4j.ReactTestUtil
Set the `react4j.validate_input_values` setting to false.

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
 
OnComponentDidCatch - Interface in react4j.internal
Native support infrastructure for componentDidCatch react lifecycle.
OnComponentDidMount - Interface in react4j.internal
Native support infrastructure for componentDidMount react lifecycle.
OnComponentDidUpdate - Interface in react4j.internal
Native support infrastructure for componentDidUpdate react lifecycle.
OnComponentWillUnmount - Interface in react4j.internal
Native support infrastructure for componentWillUnmount react lifecycle.
OnError - Annotation Type in react4j.annotations
Identifies the method that is called when a child view generates an error during rendering.
OnGetSnapshotBeforeUpdate - Interface in react4j.internal
Native support infrastructure for getSnapshotBeforeUpdate react lifecycle.
OnInputChange - Annotation Type in react4j.annotations
Identifies a method that is called when the value of one of the specified inputs is changed.
OnInputChange.Phase - Enum in react4j.annotations
Phase in which method should be invoked.
OnShouldComponentUpdate - Interface in react4j.internal
Native support infrastructure for shouldComponentUpdate react lifecycle.

P

pauseUntilRenderLoopComplete() - Static method in class react4j.internal.SchedulerUtil
The first time an react4j view is rendered it will lock the Arez scheduler and release the lock in the micro-task immediately following the task that prompted the render.
PostMount - Annotation Type in react4j.annotations
Identifies a method that is called after a view is mounted or attached to the DOM.
PostMountOrUpdate - Annotation Type in react4j.annotations
Identifies a method that is called after a view is rendered.
PostUpdate - Annotation Type in react4j.annotations
Identifies a method that is called after a view is updated or re-rendered.
prepareStateUpdate(JsPropertyMap<Object>, JsPropertyMap<Object>) - Static method in class react4j.internal.IntrospectUtil
Prepare the newState value to be updated given specified current state.
PreUpdate - Annotation Type in react4j.annotations
Identifies a method that is called before a view is updated or re-rendered.
provide(T, ReactNode...) - Method in class react4j.Context
Create a provider component that provides specified value to specified children.
provider() - Method in class react4j.Context
Create a builder for the Provider component.
Publish - Annotation Type in react4j.annotations
Annotation to mark a method that returns a value to be published in context for child components.

R

React - Class in react4j
Native interface to native runtime for creating views.
react4j - package react4j
Core React4j API.
react4j.annotations - package react4j.annotations
This package contains annotations used by the annotation processor.
react4j.internal - package react4j.internal
React4j internal support code.
ReactElement - Class in react4j
Element represents either a view 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.
ReactTestUtil - Class in react4j
Utility class for interacting with React4j in tests.
register(Class<T>) - Static method in class react4j.Contexts
Register the context with the specified type, an empty "" qualifier and a null default value.
register(Class<T>, T) - Static method in class react4j.Contexts
Register the context with the specified type, an empty "" qualifier and a default value.
register(Class<T>, String) - Static method in class react4j.Contexts
Register the context with the specified type, qualifier and a null default value.
register(Class<T>, String, T) - Static method in class react4j.Contexts
Register the context with the specified type, qualifier and a default value.
Render - Annotation Type in react4j.annotations
Identifies the method that is invoked to render the view.
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.internal.NativeView
 
resetConfig(boolean) - Static method in class react4j.ReactTestUtil
Reset the state of React config to either production or development state.

S

SCHEDULED - Static variable in class react4j.internal.ViewState
The view needs to be re-rendered, a dependency has updated.
ScheduleRender - Annotation Type in react4j.annotations
Identify a method that can be invoked to schedule the view for re-rendering.
SchedulerUtil - Class in react4j.internal
Utilities for interacting with the Arez scheduler.
setInputs(JsPropertyMap<Object>) - Method in class react4j.ReactElement
 
setKey(String) - Method in class react4j.ReactElement
 
setState(JsPropertyMap<Object>) - Method in class react4j.internal.NativeView
 
setViewEnableNames(boolean) - Static method in class react4j.ReactTestUtil
Configure the `react4j.enable_view_names` setting.
shouldCheckInvariants() - Static method in class react4j.React
Return true if invariants will be checked.
shouldComponentUpdate(JsPropertyMap<Object>) - Method in interface react4j.internal.OnShouldComponentUpdate
 
shouldFreezeInputs() - Static method in class react4j.React
Return true if inputs should be frozen before being passed to react.
shouldMinimizeInputKeys() - Static method in class react4j.React
Return true if the input keys should be minimized.
shouldStoreDebugDataAsState() - Static method in class react4j.React
Return true if react state should be used to store debug data.
shouldValidateInputValues() - Static method in class react4j.React
Return true if the input value should be validated when initially set or when changed.
state() - Method in class react4j.internal.NativeView
 
storeDebugDataAsState() - Static method in class react4j.ReactTestUtil
Set the `react4j.store_debug_data_as_state` setting to true.
SuppressReact4jWarnings - Annotation Type in react4j.annotations
Indicate that the named React4j compiler warnings should be suppressed in the annotated element (and in all program elements contained in the annotated element).

U

UNMOUNTED - Static variable in class react4j.internal.ViewState
The view has been unmounted and should not be re-rendered.

V

validateInputValues() - Static method in class react4j.ReactTestUtil
Set the `react4j.validate_input_values` setting to true.
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.
valueOf(String) - Static method in enum react4j.annotations.Input.Source
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum react4j.annotations.OnInputChange.Phase
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum react4j.annotations.View.Type
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.
values() - Static method in enum react4j.annotations.Input.Source
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum react4j.annotations.OnInputChange.Phase
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum react4j.annotations.View.Type
Returns an array containing the constants of this enum type, in the order they are declared.
View - Annotation Type in react4j.annotations
Annotation used to identify a React4j view.
View.Type - Enum in react4j.annotations
Enum indicating type of view.
ViewConstructorFunction - Interface in react4j.internal
A function interface to create component instances.
ViewState - Class in react4j.internal
Constants representing the state of a view.
B C D E F G I K M N O P R S U V 
Skip navigation links