public interface IlvCrossingOwner
IlvCrossingCalculation.removeCrossings(java.util.Iterator)
which takes care of removing crossings from active and passive owners
and marks the caches automatically invalid when needed.Modifier and Type | Method and Description |
---|---|
void |
addCrossing(IlvCrossing crossing,
boolean active)
Adds a crossing.
|
IlvCrossingAwareObject |
getObject()
Returns the corresponding crossing aware object.
|
boolean |
isCachingCrossings()
Returns whether the crossing owner is caching the crossings.
|
void |
markCrossingCacheInvalid()
Marks the cache of the crossing owner as invalid.
|
void |
removeCrossing(IlvCrossing crossing)
Removes a crossing.
|
IlvCrossingAwareObject getObject()
void addCrossing(IlvCrossing crossing, boolean active)
active
is true, the crossing is active for this
crossing owner, i.e. it is drawn as a jog.void removeCrossing(IlvCrossing crossing)
boolean isCachingCrossings()
void markCrossingCacheInvalid()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.