You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Attribute 'value' of annotation 'java.lang.annotation.Target' changed value from '{java.lang.annotation.ElementType.METHOD}' to '{java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER}'.",
<divclass="block">Annotation used to specify an abstract method that returns a prop.</div>
168
+
<divclass="block">Annotation used to specify an input.</div>
169
169
</div>
170
170
<divclass="col-first even-row-color all-classes-table all-classes-table-tab3"><ahref="react4j/annotations/Input.Source.html" title="enum class in react4j.annotations">Input.Source</a></div>
<dt><a href="react4j/annotations/Input.html" class="type-name-link" title="annotation interface in react4j.annotations">Input</a> - Annotation Interface in <a href="react4j/annotations/package-summary.html">react4j.annotations</a></dt>
2638
2638
<dd>
2639
-
<div class="block">Annotation used to specify an abstract method that returns a prop.</div>
2639
+
<div class="block">Annotation used to specify an input.</div>
2640
2640
</dd>
2641
2641
<dt><a href="react4j/annotations/Input.Source.html" class="type-name-link" title="enum class in react4j.annotations">Input.Source</a> - Enum Class in <a href="react4j/annotations/package-summary.html">react4j.annotations</a></dt>
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Enum.html" title="class or interface in java.lang" class="external-link">Enum</a><<ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a>></span></div>
90
90
<divclass="block">Enum where the input is sourced from.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.Source.html#line-181">DEFAULT</a></span></div>
167
+
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.Source.html#line-184">DEFAULT</a></span></div>
168
168
<divclass="block">The input value is passed to the view during construction.</div>
169
169
</section>
170
170
</li>
171
171
<li>
172
172
<sectionclass="detail" id="CONTEXT">
173
173
<h3>CONTEXT</h3>
174
-
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.Source.html#line-185">CONTEXT</a></span></div>
174
+
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.Source.html#line-188">CONTEXT</a></span></div>
175
175
<divclass="block">The input value is retrieved from the react context.</div>
176
176
</section>
177
177
</li>
@@ -186,7 +186,7 @@ <h2>Method Details</h2>
186
186
<li>
187
187
<sectionclass="detail" id="values()">
188
188
<h3>values</h3>
189
-
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a>[]</span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.Source.html#line-176">values</a></span>()</div>
189
+
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a>[]</span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.Source.html#line-179">values</a></span>()</div>
190
190
<divclass="block">Returns an array containing the constants of this enum class, in
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.Source.html#line-176">valueOf</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> name)</span></div>
201
+
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.Source.html#line-179">valueOf</a></span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a> name)</span></div>
202
202
<divclass="block">Returns the enum constant of this class with the specified name.
203
203
The string must match <i>exactly</i> an identifier used to declare an
204
204
enum constant in this class. (Extraneous whitespace characters are
<divclass="type-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Documented.html" title="class or interface in java.lang.annotation" class="external-link">@Documented</a>
70
-
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation" class="external-link">@Target</a>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/ElementType.html#METHOD" title="class or interface in java.lang.annotation" class="external-link">METHOD</a>)
<divclass="block">Annotation used to specify an abstract method that returns a prop.
73
-
The property is extracted from Reacts underlying props object. By default the prop is passed as
74
-
a value in when creating the view but it can also be retrieved from the react context.
70
+
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/Target.html" title="class or interface in java.lang.annotation" class="external-link">@Target</a>({<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/ElementType.html#METHOD" title="class or interface in java.lang.annotation" class="external-link">METHOD</a>,<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/annotation/ElementType.html#PARAMETER" title="class or interface in java.lang.annotation" class="external-link">PARAMETER</a>})
</span><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-57">name</a></span></div>
196
+
</span><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-60">name</a></span></div>
194
197
<divclass="block">Return the name of the input.
195
198
The name is the key used when accessing the input from the inputs object. It is also used when creating
196
199
the builder steps associated with the inputs that set <ahref="#source()"><code>source()</code></a> to <ahref="Input.Source.html#DEFAULT"><code>Input.Source.DEFAULT</code></a>.</div>
</span><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-66">qualifier</a></span></div>
214
+
</span><spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-69">qualifier</a></span></div>
212
215
<divclass="block">Return the qualifier used to access value from context.
213
216
It must only be specified if <ahref="#source()"><code>source()</code></a> is set to <ahref="Input.Source.html#CONTEXT"><code>Input.Source.CONTEXT</code></a>.</div>
214
217
<dlclass="notes">
@@ -224,7 +227,7 @@ <h3>qualifier</h3>
224
227
<li>
225
228
<sectionclass="detail" id="source()">
226
229
<h3>source</h3>
227
-
<divclass="member-signature"><spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-77">source</a></span></div>
230
+
<divclass="member-signature"><spanclass="return-type"><ahref="Input.Source.html" title="enum class in react4j.annotations">Input.Source</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-80">source</a></span></div>
228
231
<divclass="block">The setting controlling where the input value is source from.
229
232
If the source is set to <ahref="Input.Source.html#CONTEXT"><code>Input.Source.CONTEXT</code></a> then the input is sometimes described as a "TreeInput"
230
233
as it is transparently passed from a parent view to all child views. A "TreeInput" does not
@@ -242,7 +245,7 @@ <h3>source</h3>
242
245
<li>
243
246
<sectionclass="detail" id="require()">
244
247
<h3>require</h3>
245
-
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-91">require</a></span></div>
248
+
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-94">require</a></span></div>
246
249
<divclass="block">Setting indicating whether the input should be supplied when the view is constructed.
247
250
This influences validation when enabled and how the Builder class is created.
248
251
If set to <ahref="Feature.html#ENABLE"><code>Feature.ENABLE</code></a> then the user MUST supply the input and the builder will require the user
@@ -264,7 +267,7 @@ <h3>require</h3>
264
267
<li>
265
268
<sectionclass="detail" id="observable()">
266
269
<h3>observable</h3>
267
-
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-104">observable</a></span></div>
270
+
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-107">observable</a></span></div>
268
271
<divclass="block">Indicate whether the input should be annotated by <ahref="https://arez.github.io/api/arez/annotations/Observable.html" title="class or interface in arez.annotations" class="external-link"><code>Observable</code></a>.
269
272
270
273
<p>If set to <ahref="Feature.html#AUTODETECT"><code>Feature.AUTODETECT</code></a> then the input will be observable if and only if:</p>
@@ -285,7 +288,7 @@ <h3>observable</h3>
285
288
<li>
286
289
<sectionclass="detail" id="disposable()">
287
290
<h3>disposable</h3>
288
-
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-115">disposable</a></span></div>
291
+
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-118">disposable</a></span></div>
289
292
<divclass="block">Return an enum indicating whether the view should check whether the value of the input is disposed
290
293
prior to rendering. If the value is disposed then the render method will exit early and return null.
291
294
If this parameter is set to <ahref="Feature.html#AUTODETECT"><code>Feature.AUTODETECT</code></a> then the annotation processor will inspect the
@@ -304,7 +307,7 @@ <h3>disposable</h3>
304
307
<li>
305
308
<sectionclass="detail" id="observeOnRender()">
306
309
<h3>observeOnRender</h3>
307
-
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-134">observeOnRender</a></span></div>
310
+
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-137">observeOnRender</a></span></div>
308
311
<divclass="block">Return an enum indicating whether tracked renders should observe the input value during the generated render
309
312
prelude so that disposing the input can invalidate the render and trigger a rerender.
310
313
This parameter is independent of <ahref="#disposable()"><code>disposable()</code></a> and is only relevant to views with render tracking enabled.
@@ -331,7 +334,7 @@ <h3>observeOnRender</h3>
331
334
<li>
332
335
<sectionclass="detail" id="dependency()">
333
336
<h3>dependency</h3>
334
-
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-146">dependency</a></span></div>
337
+
<divclass="member-signature"><spanclass="return-type"><ahref="Feature.html" title="enum class in react4j.annotations">Feature</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/Input.html#line-149">dependency</a></span></div>
335
338
<divclass="block">Return an enum indicating whether the view should be disposed if the input is disposed. To enable this feature,
336
339
the input MUST set <ahref="#immutable()"><code>immutable()</code></a> to <code>true</code>, <ahref="#disposable()"><code>disposable()</code></a> MUST resolve to
337
340
<ahref="Feature.html#ENABLE"><code>Feature.ENABLE</code></a>. The type of the input is expected to implement the <ahref="https://arez.github.io/api/arez/component/DisposeNotifier.html" title="class or interface in arez.component" class="external-link"><code>DisposeNotifier</code></a>
0 commit comments