| Modifier and Type | Field and Description |
|---|---|
Naming |
data |
int |
dataID |
java.util.ArrayList |
hiliteEntities |
int[] |
pieces |
RoverSet |
roverSet |
java.lang.Object |
sourceObject |
| Constructor and Description |
|---|
MapDataItem() |
MapDataItem(Cog state) |
MapDataItem(RoverSet roverSet,
Naming data,
int dataID) |
MapDataItem(RoverSet roverSet,
Naming data,
int dataID,
ByteBuffer hilite) |
MapDataItem(RoverSet roverSet,
Naming data,
int dataID,
java.lang.Object sourceObject) |
| Modifier and Type | Method and Description |
|---|---|
MapConnectivityNode |
connectivityNodeFor(java.lang.String networkName) |
boolean |
equals(java.lang.Object nother) |
Naming |
getData() |
int |
getDataID() |
RoverSet |
getDataSet()
For backwards compatibility only.
|
java.lang.String |
getDataType() |
java.util.ArrayList |
getHiliteEntities() |
double |
getLineLength()
Tries to determine the length of the first line found in the associated
graphics.
|
Point |
getLocation() |
Point |
getLocation(double scale) |
Point |
getLocationNearest(double x,
double y,
double scale) |
MapSet |
getMapSet() |
XyPoint |
getParentPoint()
This is currently kind of a kludge.
|
int[] |
getPieces()
Merged find items are composed of multiple "pieces", each of which is an
independent map data item in its own right.
|
XyPoint |
getPoint() |
java.lang.String |
getQuickDescription() |
RoverBytes |
getRoverBytes()
Returns the binary rover data used to highlight this item.
|
RoverSet |
getRoverSet() |
java.util.List<MapDataGraphic> |
getRoverShapes()
Deprecated.
|
java.lang.Object |
getSourceObject() |
boolean |
isArea()
Returns true if the first associated graphics is an Area geometry.
|
boolean |
isLine()
Returns true if the first associated graphics is a Line geometry.
|
boolean |
isPoint()
Returns true if the first associated graphics is a Point geometry.
|
boolean |
isText()
Returns true if the first associated graphics is a Text geometry.
|
java.util.List<MapDataGraphic> |
listMapDataGraphics()
Lists all MapDataGraphics associated with this item.
|
java.util.List<RoverShape> |
listShapes()
Lists all RoverShapes associated with this item.
|
XyPoint |
pointNearest(double x,
double y,
double scale,
java.lang.String legend)
Legend-aware point nearest method.
|
void |
setData(Naming argData) |
void |
setDataID(int argId) |
void |
setHiliteEntities(java.util.ArrayList argHiliteEntities) |
void |
setRoverSet(RoverSet argRoverSet) |
void |
setSourceObject(java.lang.Object newSource) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
XyPolyline |
toPolyline()
Attempts to turn the graphics for this data item into a polyline.
|
java.lang.String |
toString() |
TracingNodeContext |
tracingNodeContextFor(java.lang.String networkName) |
public RoverSet roverSet
public Naming data
public int dataID
public java.util.ArrayList hiliteEntities
public java.lang.Object sourceObject
public int[] pieces
public MapDataItem()
public MapDataItem(Cog state)
public MapDataItem(RoverSet roverSet, Naming data, int dataID, java.lang.Object sourceObject)
public MapDataItem(RoverSet roverSet, Naming data, int dataID, ByteBuffer hilite)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getQuickDescription()
public boolean equals(java.lang.Object nother)
equals in class java.lang.Objectpublic RoverSet getDataSet()
public RoverSet getRoverSet()
public void setRoverSet(RoverSet argRoverSet)
public MapSet getMapSet()
public Naming getData()
public void setData(Naming argData)
public int getDataID()
public void setDataID(int argId)
public int[] getPieces()
public java.lang.String getDataType()
public java.util.ArrayList getHiliteEntities()
public void setHiliteEntities(java.util.ArrayList argHiliteEntities)
public java.lang.Object getSourceObject()
public void setSourceObject(java.lang.Object newSource)
public Point getLocation()
public Point getLocation(double scale)
public XyPoint pointNearest(double x, double y, double scale, java.lang.String legend)
public Point getLocationNearest(double x, double y, double scale)
public boolean isPoint()
public boolean isLine()
public boolean isText()
public boolean isArea()
public RoverBytes getRoverBytes()
public java.util.List<MapDataGraphic> getRoverShapes()
public java.util.List<RoverShape> listShapes()
public java.util.List<MapDataGraphic> listMapDataGraphics()
public XyPolyline toPolyline()
public double getLineLength()
public XyPoint getPoint()
public XyPoint getParentPoint()
public MapConnectivityNode connectivityNodeFor(java.lang.String networkName)
public TracingNodeContext tracingNodeContextFor(java.lang.String networkName)