|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bbn.openmap.omGraphics.geom.BasicGeometry
com.bbn.openmap.omGraphics.OMGraphicAdapter
com.bbn.openmap.omGraphics.OMList<OMGraphic>
com.bbn.openmap.omGraphics.OMGraphicList
com.bbn.openmap.omGraphics.time.TemporalOMGraphicList
public class TemporalOMGraphicList
A TemporalOMGeometryList object contains OMGeometries that change over time. The time is milliseconds, generally from the unix epoch. This list can also hold regular OMGeometries.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.bbn.openmap.omGraphics.OMList |
---|
OMList.OMDist<T> |
Field Summary |
---|
Fields inherited from class com.bbn.openmap.omGraphics.OMList |
---|
allowDuplicates, FIRST_ADDED_ON_TOP, graphics, LAST_ADDED_ON_TOP, NONE, processAllGeometries, traverseMode, vague |
Fields inherited from class com.bbn.openmap.omGraphics.OMGraphicAdapter |
---|
declutterType, displayPaint, edgeMatchesFill, fillPaint, hasLabel, linePaint, matted, mattingPaint, renderType, selected, selectPaint, showEditablePalette, stroke, textureMask |
Fields inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
---|
APP_OBJECT_KEY, appObject, ATT_MAP_KEY, lineType, needToRegenerate, shape, visible |
Constructor Summary | |
---|---|
TemporalOMGraphicList()
Construct an TemporalOMGraphicList. |
|
TemporalOMGraphicList(int initialCapacity)
Construct an TemporalOMGraphicList with an initial capacity. |
|
TemporalOMGraphicList(java.util.List<OMGraphic> list)
Construct an TemporalOMGraphicList around a List of OMGraphics. |
Method Summary | |
---|---|
void |
addTimeStamp(TemporalRecord timeStamp)
Add a location at a time to every TemporalGeometry contained within. |
void |
clearTimeStamps()
Clear all time stamps. |
void |
generate(Projection proj,
long time)
Calls generate(proj, time) on temporal geometries, regular generate(proj) on non-temporal OMGeometries. |
boolean |
removeTimeStamp(TemporalRecord timeStamp)
Remove a location at a certain time. |
Methods inherited from class com.bbn.openmap.omGraphics.OMGraphicList |
---|
add, add, addAll, addAll, clone, create, createDist, get, getOMGraphicAt, getTargets, iteratorCopy, listIteratorCopy, listIteratorCopy, objectToOMGraphic, readGraphics, readGraphics, remove, set, setFillPaint, setGridGenerator, setLinePaint, setMatted, setMattingPaint, setOMGraphicAt, setSelectPaint, setStroke, setTargets, setTextureMask, sort, writeGraphics, writeGraphics |
Methods inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry |
---|
_distance, appendShapeEdge, appendShapeEdge, appendShapeEdge, appendShapeEdge, checkAttributeMap, checkAttributeMap, clearAttributes, contains, createAttributeMap, createBoxShape, createShape, createShape, describeShapeDetail, describeShapeDetail, distanceToEdge, distanceToEdge, draw, draw, fill, fill, getAppObject, getAppObject, getAttribute, getAttributeMap, getAttributes, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, putAttribute, removeAttribute, replaceAppObjectWithAttributeMap, setAppObject, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bbn.openmap.omGraphics.OMGeometry |
---|
clearAttributes, contains, distance, distanceToEdge, draw, draw, fill, fill, generate, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, getShape, isRenderable, isRenderable, isVisible, putAttribute, removeAttribute, render, restore, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, setVisible |
Methods inherited from interface java.util.List |
---|
equals, hashCode |
Constructor Detail |
---|
public TemporalOMGraphicList()
public TemporalOMGraphicList(int initialCapacity)
initialCapacity
- the initial capacity of the listpublic TemporalOMGraphicList(java.util.List<OMGraphic> list)
list
- List of OMGraphics.Method Detail |
---|
public void generate(Projection proj, long time)
generate
in interface TemporalOMGraphic
public void addTimeStamp(TemporalRecord timeStamp)
addTimeStamp
in interface TemporalOMGraphic
public boolean removeTimeStamp(TemporalRecord timeStamp)
removeTimeStamp
in interface TemporalOMGraphic
public void clearTimeStamps()
clearTimeStamps
in interface TemporalOMGraphic
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |