UIDataDebugObject
final class UIDataDebugObject
Package: dev.joid.lib.ui.core.data · Module: core · Source: UIDataDebugObject.java
The dev-mode options of @UIDataDebug for a running UI.
Description
Section titled “Description”UI.getDebug returns it.
Each option has a getter and a setter of the same name, such as hotreload() and hotreload(boolean).
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
UIDataDebugObject | create() factory | Creates the options with the default values of UIDataDebug. |
Properties
Section titled “Properties”| Property | Type | Default | Summary |
|---|---|---|---|
| profiler | boolean | true | If true, dev mode prints the load time of the UI and warns about slow frames. |
| hotreload | boolean | true | If true, dev mode reloads the UI when its classes change. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
String | toString() | Returns the class and the value of every option, for logs. |
Creation details
Section titled “Creation details”create
Section titled “create”UIDataDebugObject create() factory
Creates the options with the default values of UIDataDebug.
Property details
Section titled “Property details”profiler
Section titled “profiler”this profiler(boolean profiler)fluentboolean profiler()
Default: true
If true, dev mode prints the load time of the UI and warns about slow frames.
hotreload
Section titled “hotreload”this hotreload(boolean hotreload)fluentboolean hotreload()
Default: true
If true, dev mode reloads the UI when its classes change.
Method details
Section titled “Method details”toString
Section titled “toString”String toString()
Returns the class and the value of every option, for logs.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
