Skip to content

UIDataScale

@interface UIDataScale
Package: dev.joid.lib.ui.core.data · Module: core · Source: UIDataScale.java

Annotation that sets how the interface scale of the UI bridge applies to a UI.

Without it, a UI follows the interface scale of its bridge.

TypeElementDefaultSummary
doublelimit1DLargest interface scale applied to the UI when limited is true.
booleanactivetrueIf false, the UI ignores the interface scale and stays at a scale of 1.
booleanlimitedfalseIf true, the interface scale applied to the UI never goes above limit.

double limit() default 1D

Largest interface scale applied to the UI when limited is true.

boolean active() default true

If false, the UI ignores the interface scale and stays at a scale of 1.

boolean limited() default false

If true, the interface scale applied to the UI never goes above limit.


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