DraggableProperty.DraggableSnapType
enum DraggableProperty.DraggableSnapType
Package: dev.joid.lib.ui.node.property · Module: core · Source: DraggableProperty.java
How a dropped node picks its snap target.
Learn more
Section titled “Learn more”Values
Section titled “Values”| Value | Summary |
|---|---|
NEAREST | The target whose center is closest to the center of the node. |
OVERLAP | The first target that the node overlaps; none when it overlaps none. |
Value details
Section titled “Value details”NEAREST
Section titled “NEAREST”NEAREST
The target whose center is closest to the center of the node.
OVERLAP
Section titled “OVERLAP”OVERLAP
The first target that the node overlaps; none when it overlaps none.
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
