com.bbn.openmap.graphicLoader.netmap
Class LineCache
java.lang.Object
com.bbn.openmap.graphicLoader.netmap.LineCache
public class LineCache
- extends java.lang.Object
The holder for Lines on the map. This cache is smart enough to
add/delete/modify Lines as needed based on line labels and nodes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineCache
public LineCache()
LineCache
public LineCache(int initialCapacity)
flush
public void flush()
elements
public java.util.Enumeration elements()
add
public Line add(java.lang.String label,
int index,
int shape,
int color,
Node node1,
Node node2)
move
public void move(Node atNode)
move
public void move(Node atNode1,
Node atNode2)
get
public Line[] get(Node atNode)
get
public Line get(Node atNode1,
Node atNode2)
get
public Line get(java.lang.String label)
get
public Line get(int index)
del
public void del(Node atNode)
del
public void del(Line[] lines)
del
public void del(Node atNode1,
Node atNode2)
del
public void del(int index)
del
public void del(java.lang.String label)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details