|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.jaret.util.misc.PropertyObservableBase de.jaret.util.date.IntervalImpl de.jaret.util.ui.timebars.model.RelationalInterval
public class RelationalInterval
Simple implementation of the relational interval based on the standard interval. Handles the relation when a relation
is removed (setting the appropriate field in the relation to null
. Does handle
Field Summary | |
---|---|
protected java.util.List<IIntervalRelation> |
_relations
list of relations. |
Fields inherited from class de.jaret.util.date.IntervalImpl |
---|
_begin, _end |
Fields inherited from class de.jaret.util.misc.PropertyObservableBase |
---|
_propertyChangeSupport |
Fields inherited from interface de.jaret.util.ui.timebars.model.IRelationalInterval |
---|
RELATIONS |
Fields inherited from interface de.jaret.util.date.Interval |
---|
PROP_BEGIN, PROP_END |
Constructor Summary | |
---|---|
RelationalInterval()
|
Method Summary | |
---|---|
void |
addRelation(IIntervalRelation relation)
Add an interval relation. |
java.util.List<IIntervalRelation> |
getRelations()
Retrieve all relations of the interval. |
void |
removeRelation(IIntervalRelation relation)
Remove a relation. |
Methods inherited from class de.jaret.util.date.IntervalImpl |
---|
contains, contains, containsNonIncluding, containsStatic, getBegin, getEnd, getSeconds, intersect, intersectNonIncluding, intersects, propertyChange, setBegin, setEnd, toString |
Methods inherited from class de.jaret.util.misc.PropertyObservableBase |
---|
addPropertyChangeListener, firePropertyChange, isRealModification, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.jaret.util.date.Interval |
---|
contains, contains, getBegin, getEnd, getSeconds, intersects, setBegin, setEnd |
Methods inherited from interface de.jaret.util.misc.PropertyObservable |
---|
addPropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
protected java.util.List<IIntervalRelation> _relations
Constructor Detail |
---|
public RelationalInterval()
Method Detail |
---|
public void addRelation(IIntervalRelation relation)
addRelation
in interface IRelationalInterval
relation
- relation to be addedpublic java.util.List<IIntervalRelation> getRelations()
getRelations
in interface IRelationalInterval
public void removeRelation(IIntervalRelation relation)
removeRelation
in interface IRelationalInterval
relation
- relation to be removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |