|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.rover.RoverEntity
public class RoverEntity
A RoverEntity is the standard data component for a RoverSet. It may contain one RoverData, representing non-geometric, associated data, and a list of zero or more RoverShapes, representing the geometric data for the entity.
Neither are required - a RoverEntity may have no data, and it may have no shapes.
Copyright 2008-2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
RoverEntity(java.util.List<RoverShape> shapes)
Creates a RoverEntity with no data and the given list of shapes. |
|
RoverEntity(java.util.Map data,
boolean selectable,
java.util.List<RoverShape> shapes)
|
|
RoverEntity(java.util.Map data,
boolean selectable,
RoverShape... shapes)
|
|
RoverEntity(java.util.Map data,
java.util.List<RoverShape> shapes)
|
|
RoverEntity(java.util.Map data,
RoverShape... shapes)
|
|
RoverEntity(RoverData data,
boolean selectable,
java.util.List<RoverShape> shapes)
Creates a RoverEntity with the given data and list of shapes. |
|
RoverEntity(RoverData data,
boolean selectable,
RoverShape... shapes)
Creates a RoverEntity with the given data and array of shapes. |
|
RoverEntity(RoverData data,
java.util.List<RoverShape> shapes)
Creates a RoverEntity with the given data and list of shapes. |
|
RoverEntity(RoverData data,
RoverShape... shapes)
Creates a RoverEntity with the given data and array of shapes. |
|
RoverEntity(RoverShape... shapes)
Creates a RoverEntity with no data and the given list of shapes. |
|
RoverEntity(RoverType type,
Naming<java.lang.Object> data,
boolean selectable,
java.util.List<RoverShape> shapes)
|
|
RoverEntity(RoverType type,
Naming<java.lang.Object> data,
boolean selectable,
RoverShape... shapes)
|
|
RoverEntity(RoverType type,
Naming<java.lang.Object> data,
java.util.List<RoverShape> shapes)
|
|
RoverEntity(RoverType type,
Naming<java.lang.Object> data,
RoverShape... shapes)
|
|
| Method Summary | |
|---|---|
RoverData |
getData()
|
java.util.List<RoverShape> |
getShapes()
|
boolean |
isSelectable()
|
java.util.List<RoverShape> |
listShapes()
|
XyPoint |
locationNearest(XyPoint reference)
Returns a single geographic location for this shape nearest the given reference point. |
XyPoint |
locationNearest(XyPoint reference,
double scale)
Returns a single geographic location for this shape nearest the given reference point. |
XyPoint |
startLocation()
Returns a reasonable single geographic location for this shape, without any information as to rendering scale or region desired. |
XyPoint |
startLocationAtScale(double scale)
Returns a more accurate single geographic location for this shape, given the rendering scale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoverEntity(java.util.List<RoverShape> shapes)
public RoverEntity(RoverShape... shapes)
public RoverEntity(RoverData data,
java.util.List<RoverShape> shapes)
data - shapes -
public RoverEntity(RoverData data,
RoverShape... shapes)
data - shapes -
public RoverEntity(RoverData data,
boolean selectable,
java.util.List<RoverShape> shapes)
data - shapes -
public RoverEntity(RoverData data,
boolean selectable,
RoverShape... shapes)
data - shapes -
public RoverEntity(RoverType type,
Naming<java.lang.Object> data,
java.util.List<RoverShape> shapes)
public RoverEntity(RoverType type,
Naming<java.lang.Object> data,
RoverShape... shapes)
public RoverEntity(java.util.Map data,
RoverShape... shapes)
public RoverEntity(java.util.Map data,
java.util.List<RoverShape> shapes)
public RoverEntity(RoverType type,
Naming<java.lang.Object> data,
boolean selectable,
java.util.List<RoverShape> shapes)
public RoverEntity(RoverType type,
Naming<java.lang.Object> data,
boolean selectable,
RoverShape... shapes)
public RoverEntity(java.util.Map data,
boolean selectable,
RoverShape... shapes)
public RoverEntity(java.util.Map data,
boolean selectable,
java.util.List<RoverShape> shapes)
| Method Detail |
|---|
public XyPoint startLocation()
public XyPoint startLocationAtScale(double scale)
public XyPoint locationNearest(XyPoint reference)
public XyPoint locationNearest(XyPoint reference,
double scale)
public RoverData getData()
public java.util.List<RoverShape> getShapes()
public java.util.List<RoverShape> listShapes()
public boolean isSelectable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||