Sets the snap unit.
Namespace: com.mindfusion.scheduling
Package: com.mindfusion.scheduling
Java Copy Code |
---|
public void setSnapUnit ( |
One of the TimeUnit constants. Set to null to use the corresponding value from the current theme.
Specifies the time unit of the nearest value to align to when an item is being modified interactively. For example specifying TimeUnit.Day causes the manipulated item to always be aligned to the nearest day. To practically disable snapping, specify TimeUnit.Second for this property.
JPlanner Programmer's Guide | © 2023 MindFusion |