Index

A B C D E F G I K L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

APPLICATION - Static variable in class react4j.annotations.SortOrder
Start of range for methods defined by applications.
AUTODETECT - Enum constant in enum class react4j.annotations.Feature
Feature should be present if supporting infrastructure is detected.

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.
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 - Enum constant in enum class react4j.annotations.Input.Source
The input value is retrieved from the react 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

DEFAULT - Enum constant in enum class react4j.annotations.Input.Source
The input value is passed to the view during construction.
dependency() - Element in annotation interface react4j.annotations.Input
Return an enum indicating whether the view should be disposed if the input is disposed.
DISABLE - Enum constant in enum class react4j.annotations.Feature
Feature should not be present.
disableViewNames() - Static method in class react4j.ReactTestUtil
Set the `react4j.enable_view_names` setting to false.
disposable() - Element in annotation interface react4j.annotations.Input
Return an enum indicating whether the view should check whether the value of the input is disposed prior to rendering.
dup() - Method in class react4j.ReactElement
 

E

ENABLE - Enum constant in enum class react4j.annotations.Feature
Feature should be present.
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 Class in react4j.annotations
Enum to declare whether a specific feature should be present.
forceUpdate() - Method in class react4j.internal.NativeView
 

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
 
immutable() - Element in annotation interface react4j.annotations.Input
True if the input is not expected to change after initial value is set.
input(String, Object) - Method in class react4j.ReactElement
 
Input - Annotation Interface in react4j.annotations
Annotation used to specify an abstract method that returns a prop.
Input.Source - Enum Class in react4j.annotations
Enum where the input is sourced from.
InputDefault - Annotation Interface in react4j.annotations
Annotation used to specify the default value for a input.
InputRef - Annotation Interface 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 Interface 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() - Method in class react4j.ReactElement
 
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.
Keyed - Interface in react4j
Interface implemented by objects so that they can be marked as Input.immutable()

L

LIBRARY_AFTER - Static variable in class react4j.annotations.SortOrder
Start of range for late methods defined by extension libraries.
LIBRARY_BEFORE - Static variable in class react4j.annotations.SortOrder
Start of range for early methods defined by extension libraries.

M

MAYBE_TRACKING - Enum constant in enum class react4j.annotations.View.Type
The view is a View.Type.TRACKING view but it will not generate an invariant failure if a render results in zero Arez dependencies.
minimizeInputKeys() - Static method in class react4j.ReactTestUtil
Set the `react4j.minimize_input_keys` setting to true.

N

name() - Element in annotation interface react4j.annotations.Input
Return the name of the input.
name() - Element in annotation interface react4j.annotations.InputDefault
Return the name of the associated input.
name() - Element in annotation interface react4j.annotations.InputValidate
Return the name of the associated input.
name() - Element in annotation interface react4j.annotations.View
Return the name of the view.
NativeView - Class in react4j.internal
The react native component.
NativeView(JsPropertyMap<Object>) - Constructor for class react4j.internal.NativeView
 
NO_RENDER - Enum constant in enum class react4j.annotations.View.Type
The view must not have a method annotated with Render.
noCheckInvariants() - Static method in class react4j.ReactTestUtil
Set the `react4j.check_invariants` 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

observable() - Element in annotation interface react4j.annotations.Input
Indicate whether the input should be annotated by Observable.
of(byte) - Static method in interface react4j.ReactNode
 
of(double) - Static method in interface react4j.ReactNode
 
of(float) - Static method in interface react4j.ReactNode
 
of(int) - Static method in interface react4j.ReactNode
 
of(long) - Static method in interface react4j.ReactNode
 
of(short) - Static method in interface react4j.ReactNode
 
of(JsArray<ReactNode>) - Static method in interface react4j.ReactNode
 
of(String) - 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 Interface 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 Interface in react4j.annotations
Identifies a method that is called when the value of one of the specified inputs is changed.
OnInputChange.Phase - Enum Class 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.
phase() - Element in annotation interface react4j.annotations.OnInputChange
The phase in which the method should be invoked.
POST - Enum constant in enum class react4j.annotations.OnInputChange.Phase
Method should be invoked after update.
PostMount - Annotation Interface in react4j.annotations
Identifies a method that is called after a view is mounted or attached to the DOM.
PostMountOrUpdate - Annotation Interface in react4j.annotations
Identifies a method that is called after a view is rendered.
PostRender - Annotation Interface in react4j.annotations
Identifies a method that is called immediately after the render method.
PostUpdate - Annotation Interface in react4j.annotations
Identifies a method that is called after a view is updated or re-rendered.
PRE - Enum constant in enum class react4j.annotations.OnInputChange.Phase
Method should be invoked before update.
prepareStateUpdate(JsPropertyMap<Object>, JsPropertyMap<Object>) - Static method in class react4j.internal.IntrospectUtil
Prepare the newState value to be updated given specified current state.
PreRender - Annotation Interface in react4j.annotations
Identifies a method that is called immediately prior to render method.
PreUpdate - Annotation Interface 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 Interface in react4j.annotations
Annotation to mark a method that returns a value to be published in context for child components.

Q

qualifier() - Element in annotation interface react4j.annotations.Input
Return the qualifier used to access value from context.
qualifier() - Element in annotation interface react4j.annotations.Publish
Return the qualifier used to publish value to the context.

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>, 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.
register(Class<T>, T) - Static method in class react4j.Contexts
Register the context with the specified type, an empty "" qualifier and a default value.
render() - Method in class react4j.internal.NativeView
 
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 - Annotation Interface in react4j.annotations
Identifies the method that is invoked to render the view.
require() - Element in annotation interface react4j.annotations.Input
Setting indicating whether the input should be supplied when the view is constructed.
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 Interface 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
 
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.
skipShouldViewUpdate() - Element in annotation interface react4j.annotations.ScheduleRender
Determines whether the view will invoke the shouldComponentUpdate() before invoking the render method.
sortOrder() - Element in annotation interface react4j.annotations.PostRender
The parameter to determine the ordering of PreRender annotated methods if multiple methods are defined.
sortOrder() - Element in annotation interface react4j.annotations.PreRender
The parameter to determine the ordering of PreRender annotated methods if multiple methods are defined.
SortOrder - Class in react4j.annotations
SortOrder define the orders in which methods are invoked.
source() - Element in annotation interface react4j.annotations.Input
The setting controlling where the input value is source from.
state() - Method in class react4j.internal.NativeView
 
STATEFUL - Enum constant in enum class react4j.annotations.View.Type
The view can store state in fields, can declared lifecycle methods and may contain methods annotated by the ScheduleRender annotation.
sting() - Element in annotation interface react4j.annotations.View
Enum controlling whether Sting injection integration is generated for the view.
storeDebugDataAsState() - Static method in class react4j.ReactTestUtil
Set the `react4j.store_debug_data_as_state` setting to true.
SuppressReact4jWarnings - Annotation Interface 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).

T

TRACKING - Enum constant in enum class react4j.annotations.View.Type
The view is a View.Type.STATEFUL view and will re-render the view if any Arez dependencies change.
type() - Element in annotation interface react4j.annotations.View
Enum indicating the capabilities of the view.

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() - Element in annotation interface react4j.annotations.InputRef
Return the name of the associated input.
value() - Element in annotation interface react4j.annotations.SuppressReact4jWarnings
The set of warnings that are to be suppressed by the compiler in the annotated element.
value(ST) - Method in class react4j.Context.ProviderBuilder
 
valueOf(String) - Static method in enum class react4j.annotations.Feature
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class react4j.annotations.Input.Source
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class react4j.annotations.OnInputChange.Phase
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class react4j.annotations.View.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class react4j.annotations.Feature
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class react4j.annotations.Input.Source
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class react4j.annotations.OnInputChange.Phase
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class react4j.annotations.View.Type
Returns an array containing the constants of this enum class, in the order they are declared.
View - Annotation Interface in react4j.annotations
Annotation used to identify a React4j view.
View.Type - Enum Class 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.
A B C D E F G I K L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values