Skip to content

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.

ValueSummary
NEARESTThe target whose center is closest to the center of the node.
OVERLAPThe first target that the node overlaps; none when it overlaps none.

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.


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