Package com.macrofocus.common.interval
Class AbstractMutableInterval
java.lang.Object
com.macrofocus.common.interval.AbstractMutableInterval
- All Implemented Interfaces:
Interval,MutableInterval
- Direct Known Subclasses:
AbstractBoundedInterval,ClosedInterval
This class provides a skeletal implementation of the MutableInterval interface to minimize the effort required to implement this interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIntervalListener(IntervalListener listener) voidaddWeakIntervalListener(IntervalListener listener) protected voidvoidremoveIntervalListener(IntervalListener listener) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.macrofocus.common.interval.Interval
contains, containsInterval, containsStartEnd, getEnd, getExtent, getStart, isDegenerate, isInverted, overlaps, overlapsIntervalMethods inherited from interface com.macrofocus.common.interval.MutableInterval
getEndProperty, getStartProperty, setEnd, setExtent, setStart, setValue
-
Constructor Details
-
AbstractMutableInterval
protected AbstractMutableInterval()
-
-
Method Details
-
addIntervalListener
- Specified by:
addIntervalListenerin interfaceInterval
-
addWeakIntervalListener
- Specified by:
addWeakIntervalListenerin interfaceInterval
-
removeIntervalListener
- Specified by:
removeIntervalListenerin interfaceInterval
-
removeIntervalListeners
public void removeIntervalListeners()- Specified by:
removeIntervalListenersin interfaceInterval
-
notifyIntervalChanged
-