Package com.macrofocus.interval
Class PropertyClosedInterval
- java.lang.Object
-
- com.macrofocus.interval.AbstractMutableInterval
-
- com.macrofocus.interval.ClosedInterval
-
- com.macrofocus.interval.PropertyClosedInterval
-
- All Implemented Interfaces:
Interval
,MutableInterval
- Direct Known Subclasses:
OpenInterval
@JsType public class PropertyClosedInterval extends ClosedInterval
A closed interval is an interval that includes all of its limit points.
-
-
Constructor Summary
Constructors Constructor Description PropertyClosedInterval(double start, double extent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getEnd()
MutableProperty<java.lang.Double>
getEndProperty()
double
getStart()
MutableProperty<java.lang.Double>
getStartProperty()
void
setEnd(double value)
void
setExtent(double extent)
void
setStart(double value)
void
setValue(double value, double extent)
java.lang.String
toString()
-
Methods inherited from class com.macrofocus.interval.ClosedInterval
contains, contains, contains, getExtent, isDegenerate, isInverted, overlaps, overlaps
-
Methods inherited from class com.macrofocus.interval.AbstractMutableInterval
addIntervalListener, addWeakIntervalListener, notifyIntervalChanged, removeIntervalListener, removeIntervalListeners
-
-
-
-
Method Detail
-
getStartProperty
public MutableProperty<java.lang.Double> getStartProperty()
-
getEndProperty
public MutableProperty<java.lang.Double> getEndProperty()
-
setStart
public void setStart(double value)
-
setEnd
public void setEnd(double value)
-
setExtent
public void setExtent(double extent)
-
setValue
public void setValue(double value, double extent)
-
getStart
public double getStart()
-
getEnd
public double getEnd()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-