|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Interval
This interface represents the current state of an interval.
| Method Summary | |
|---|---|
void |
addIntervalListener(IntervalListener listener)
|
void |
addWeakIntervalListener(IntervalListener listener)
|
boolean |
contains(double value)
Tests if this interval contains the specified value? |
double |
getEnd()
|
double |
getExtent()
|
double |
getStart()
|
boolean |
isDegenerate()
Tests whether the starting and ending values are the same |
boolean |
overlaps(Interval interval)
Tests if this interval overlaps the specified interval. |
void |
removeIntervalListener(IntervalListener listener)
|
void |
removeIntervalListeners()
|
| Method Detail |
|---|
double getStart()
double getEnd()
double getExtent()
boolean contains(double value)
value - the value to test
boolean overlaps(Interval interval)
interval - the interval to test
boolean isDegenerate()
void addIntervalListener(IntervalListener listener)
void addWeakIntervalListener(IntervalListener listener)
void removeIntervalListener(IntervalListener listener)
void removeIntervalListeners()
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||