Skip to content

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.

UI.getDebug returns it. Each option has a getter and a setter of the same name, such as hotreload() and hotreload(boolean).

ReturnsSignatureSummary
UIDataDebugObjectcreate() factoryCreates the options with the default values of UIDataDebug.

PropertyTypeDefaultSummary
profilerbooleantrueIf true, dev mode prints the load time of the UI and warns about slow frames.
hotreloadbooleantrueIf true, dev mode reloads the UI when its classes change.

ReturnsSignatureSummary
StringtoString()Returns the class and the value of every option, for logs.

UIDataDebugObject create() factory

Creates the options with the default values of UIDataDebug.

  • this profiler(boolean profiler) fluent
  • boolean profiler()

Default: true

If true, dev mode prints the load time of the UI and warns about slow frames.

  • this hotreload(boolean hotreload) fluent
  • boolean hotreload()

Default: true

If true, dev mode reloads the UI when its classes change.

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

Report a problem with this page