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

B

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

C

call() - Method in interface react4j.annotations.Callback.Procedure
Perform an action.
call() - Method in interface react4j.Procedure
Perform an action.
Callback - Annotation Type in react4j.annotations
Annotation used to specify a callback passed to react components.
Callback.Procedure - Interface in react4j.annotations
Interface for performing an action that does not return a value.
checkComponentStateInvariants() - Static method in class react4j.ReactConfig
Return true if we should check that the user interacts with React component in a way compatible with the state.
child(ReactNode) - Method in class react4j.Context.ProviderBuilder
 
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.
Component - Class in react4j
The base java class that mirrors the react component.
Component() - Constructor for class react4j.Component
 
Component.SetStateCallback - Interface in react4j
Callback function for updating state.
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(JsPropertyMap<Object>, JsPropertyMap<Object>) - 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.
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.
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.
createContext(T) - Static method in class react4j.React
Creates a context with specified default value.
createElement(ComponentConstructorFunction) - Static method in class react4j.React
Create a ReactElement for the specified React component with no props or children.
createElement(ComponentConstructorFunction, JsPropertyMap<Object>) - Static method in class react4j.React
Create a ReactElement for the specified React component with no children.
createElement(ComponentConstructorFunction, JsPropertyMap<Object>, ReactNode) - Static method in class react4j.React
Create a ReactElement for the specified React component.
createElement(ComponentConstructorFunction, JsPropertyMap<Object>, JsArray<ReactNode>) - Static method in class react4j.React
Create a ReactElement for the specified React component.
createElement(ComponentConstructorFunction, JsPropertyMap<Object>, ReactNode...) - Static method in class react4j.React
Create a ReactElement for the specified React component.
createElement(String, Object) - Static method in class react4j.React
Create and return a new ReactElement of the given type.
createElement(String, Object, 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(JsArray<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.
createStrictMode(ReactNode...) - Static method in class react4j.React
Create a StrictMode component with the specified children.

E

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.

G

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

I

isProductionMode() - Static method in class react4j.ReactConfig
Return true if in production mode.
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 - Interface in react4j
 

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(int) - Static method in interface react4j.Key
 
of(String) - Static method in interface react4j.Key
 
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
 
onSetState(JsPropertyMap<Object>, JsPropertyMap<Object>) - Method in interface react4j.Component.SetStateCallback
Callback used to update state.

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>, JsPropertyMap<Object>) - Method in class react4j.NativeAdapterComponent
Call componentDidUpdate on the target component.
performComponentWillUnmount() - Method in class react4j.Component
Wrapper method invoked when unmounting the component.
performComponentWillUnmount() - Method in class react4j.NativeAdapterComponent
Call componentWillUnmount on the target component.
performPostConstruct() - Method in class react4j.Component
Wrapper method for constructing the component.
performRender() - Method in class react4j.Component
Wrapper method for rendering the component.
performShouldComponentUpdate(JsPropertyMap<Object>, JsPropertyMap<Object>) - Method in class react4j.NativeAdapterComponent
Call shouldComponentUpdate on the target component.
postConstruct() - Method in class react4j.Component
This method is invoked after the component is constructed and bound to a native react component.
Procedure - Interface in react4j
Interface for performing an action that does not return a value.
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.
provider() - Method in class react4j.Context
Create a builder for the Provider component.

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.
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
 

S

scheduleRender(boolean) - Method in class react4j.Component
Schedule this component for re-rendering.
scheduleStateUpdate(JsPropertyMap<Object>) - Method in class react4j.Component
Schedule a shallow merge of supplied state into current state.
scheduleStateUpdate(JsPropertyMap<Object>, Procedure) - Method in class react4j.Component
Schedule a shallow merge of supplied state into current state.
scheduleStateUpdate(Component.SetStateCallback) - Method in class react4j.Component
Schedule a shallow merge of supplied state into current state.
scheduleStateUpdate(Component.SetStateCallback, Procedure) - Method in class react4j.Component
Schedule a shallow merge of supplied state into current state.
setInitialState(JsPropertyMap<Object>) - Method in class react4j.Component
Set the initial state of the component.
shouldCheckInvariants() - Static method in class react4j.ReactConfig
Return true if invariants will be checked.
shouldComponentUpdate(JsPropertyMap<Object>, JsPropertyMap<Object>) - Method in class react4j.Component
Use this method to let React know if a component's output is not affected by the current change in state or props.
State - Annotation Type in react4j.annotations
Annotation used to annotate a pair of methods to access and mutate reacts underlying state object.
state() - Method in class react4j.Component
Return the component state from the native component.

V

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 N O P R S V 
Skip navigation links