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.
Description
Section titled “Description”Without it, a UI follows the interface scale of its bridge.
Learn more
Section titled “Learn more”Elements
Section titled “Elements”| Type | Element | Default | Summary |
|---|---|---|---|
double | limit | 1D | Largest interface scale applied to the UI when limited is true. |
boolean | active | true | If false, the UI ignores the interface scale and stays at a scale of 1. |
boolean | limited | false | If true, the interface scale applied to the UI never goes above limit. |
Element details
Section titled “Element details”double limit() default 1D
Largest interface scale applied to the UI when limited is true.
active
Section titled “active”boolean active() default true
If false, the UI ignores the interface scale and stays at a scale of 1.
limited
Section titled “limited”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
