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
<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="View.Type.html" title="enum class in react4j.annotations">View.Type</a>></span></div>
90
90
<divclass="block">Enum indicating type of view.</div>
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-31">STATEFUL</a></span></div>
178
+
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-32">STATEFUL</a></span></div>
179
179
<divclass="block">The view can store state in fields, can declared lifecycle methods and may contain methods annotated by
180
180
the <ahref="ScheduleRender.html" title="annotation interface in react4j.annotations"><code>ScheduleRender</code></a> annotation.
181
181
The view will be scheduled to re-render if the views container re-renders and any input has changed
@@ -187,23 +187,23 @@ <h3>STATEFUL</h3>
187
187
<li>
188
188
<sectionclass="detail" id="TRACKING">
189
189
<h3>TRACKING</h3>
190
-
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-36">TRACKING</a></span></div>
190
+
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-37">TRACKING</a></span></div>
191
191
<divclass="block">The view is a <ahref="#STATEFUL"><code>STATEFUL</code></a> view <b>and</b> will re-render the view if any Arez
192
192
dependencies change. The framework uses the <ahref="https://arez.github.io/api/arez/annotations/Observe.html" title="class or interface in arez.annotations" class="external-link"><code>Observe</code></a> annotation to track Arez dependencies.</div>
193
193
</section>
194
194
</li>
195
195
<li>
196
196
<sectionclass="detail" id="MAYBE_TRACKING">
197
197
<h3>MAYBE_TRACKING</h3>
198
-
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-41">MAYBE_TRACKING</a></span></div>
198
+
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-42">MAYBE_TRACKING</a></span></div>
199
199
<divclass="block">The view is a <ahref="#TRACKING"><code>TRACKING</code></a> view but it will not generate an invariant failure if a
200
200
render results in zero Arez dependencies.</div>
201
201
</section>
202
202
</li>
203
203
<li>
204
204
<sectionclass="detail" id="NO_RENDER">
205
205
<h3>NO_RENDER</h3>
206
-
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-47">NO_RENDER</a></span></div>
206
+
<divclass="member-signature"><spanclass="modifiers">public static final</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-48">NO_RENDER</a></span></div>
207
207
<divclass="block">The view must not have a method annotated with <ahref="Render.html" title="annotation interface in react4j.annotations"><code>Render</code></a>.
208
208
This is useful for "view" instances that provide capabilities or interact
209
209
with services and thus need not have a render method.</div>
@@ -220,7 +220,7 @@ <h2>Method Details</h2>
220
220
<li>
221
221
<sectionclass="detail" id="values()">
222
222
<h3>values</h3>
223
-
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a>[]</span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-21">values</a></span>()</div>
223
+
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a>[]</span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-22">values</a></span>()</div>
224
224
<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="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-21">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>
235
+
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.Type.html#line-22">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>
236
236
<divclass="block">Returns the enum constant of this class with the specified name.
237
237
The string must match <i>exactly</i> an identifier used to declare an
238
238
enum constant in this class. (Extraneous whitespace characters are
</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/View.html#line-60">name</a></span></div>
133
+
</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/View.html#line-61">name</a></span></div>
134
134
<divclass="block">Return the name of the view.
135
135
The value defaults to the simple name of the class. If the value is specified, the
136
136
value must conform to the requirements of a java identifier. It should also be unique
</span><spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.html#line-70">type</a></span></div>
154
+
</span><spanclass="return-type"><ahref="View.Type.html" title="enum class in react4j.annotations">View.Type</a></span> <spanclass="element-name"><ahref="../../src-html/react4j/annotations/View.html#line-71">type</a></span></div>
155
155
<divclass="block">Enum indicating the capabilities of the view.
156
156
See the <ahref="View.Type.html" title="enum class in react4j.annotations"><code>View.Type</code></a> enum for further details.</div>
157
157
<dlclass="notes">
@@ -173,7 +173,7 @@ <h3>type</h3>
173
173
<li>
174
174
<sectionclass="detail" id="sting()">
175
175
<h3>sting</h3>
176
-
<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/View.html#line-84">sting</a></span></div>
176
+
<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/View.html#line-85">sting</a></span></div>
177
177
<divclass="block">Enum controlling whether Sting injection integration is generated for the view.
178
178
The generated class is the same name as the view with the "Factory" suffix.
179
179
React4j only supports constructor injection and thus this MUST NOT be set to <ahref="Feature.html#ENABLE"><code>Feature.ENABLE</code></a>
0 commit comments