Align
enum Align
Package: dev.joid.lib.utils.align · Module: core · Source: Align.java
A side or the middle along one axis: start, center or end.
Description
Section titled “Description”It sets the anchor of a node, the alignment of a layout, of a text or of a UI on the window.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
boolean | isStart() | If true, the value is START. |
boolean | isEnd() | If true, the value is END. |
boolean | isCenter() | If true, the value is CENTER. |
Values
Section titled “Values”| Value | Summary |
|---|---|
START | The left side horizontally, the top side vertically. |
CENTER | The middle. |
END | The right side horizontally, the bottom side vertically. |
Method details
Section titled “Method details”isStart
Section titled “isStart”boolean isStart()
If true, the value is START.
boolean isEnd()
If true, the value is END.
isCenter
Section titled “isCenter”boolean isCenter()
If true, the value is CENTER.
Value details
Section titled “Value details”START
The left side horizontally, the top side vertically.
CENTER
Section titled “CENTER”CENTER
The middle.
END
The right side horizontally, the bottom side vertically.
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
