de.jaret.util.ui.timebars.mod
Interface IIntervalModificator
- All Superinterfaces:
- IntervalModificator
- All Known Implementing Classes:
- DefaultIntervalModificator
public interface IIntervalModificator
- extends IntervalModificator
Extension of the interval modificator interface that includes a more specific method for getting the gridsnap for an interval.
The specific grid snap will be used if returned (instead of t he unspecific snap)
- Version:
- $Id$
- Author:
- kliem
|
Method Summary |
double |
getSecondGridSnap(TimeBarRow row,
de.jaret.util.date.Interval interval)
If this method returns a positive value this is used as the modification interval. |
getSecondGridSnap
double getSecondGridSnap(TimeBarRow row,
de.jaret.util.date.Interval interval)
- If this method returns a positive value this is used as the modification interval. The value is given in seconds.
- Parameters:
row - row of the intervalinterval - interval in question
- Returns:
- the positive grid snap or a negative value indicating no grid snap
Copyright © 2011. All Rights Reserved.