Skip to content

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.

It sets the anchor of a node, the alignment of a layout, of a text or of a UI on the window.

ReturnsSignatureSummary
booleanisStart()If true, the value is START.
booleanisEnd()If true, the value is END.
booleanisCenter()If true, the value is CENTER.
ValueSummary
STARTThe left side horizontally, the top side vertically.
CENTERThe middle.
ENDThe right side horizontally, the bottom side vertically.

boolean isStart()

If true, the value is START.

boolean isEnd()

If true, the value is END.

boolean isCenter()

If true, the value is CENTER.

START

The left side horizontally, the top side vertically.

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

Report a problem with this page