|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.rover.AbstractRoverShape<RoverArea>
com.partnersoft.maps.rover.RoverArea
public class RoverArea
A geographic area described by a polygon.
Copyright 2008 Partner Software, Inc.
| Constructor Summary | |
|---|---|
RoverArea(int drawId,
boolean selectable,
XyPolygon polygon)
Creates a RoverArea with zero id and dataId. |
|
RoverArea(int id,
int dataId,
int drawId,
boolean selectable,
XyPolygon polygon)
Construct a RoverArea with all parameters set. |
|
RoverArea(int id,
int dataId,
int drawId,
XyPolygon polygon)
Construct a selectable RoverArea. |
|
RoverArea(int drawId,
XyPolygon polygon)
Creates a RoverArea with zero id and dataId. |
|
| Method Summary | |
|---|---|
XyBounds |
getBounds()
The bounds of the shape. |
XyPoint |
getCentroid()
The center of the bounds of the shape. |
XyPoint |
getEndPoint()
The last point in the shape. |
XyPolygon |
getPolygon()
Polygon geometry for this area. |
XyPoint |
getStartPoint()
The first point in the shape. |
java.lang.String |
toString()
|
RoverArea |
withDataId(int dataId)
Returns a copy of this shape with the given data ID. |
RoverArea |
withDrawId(int drawId)
Returns a copy of this shape with the given drawable ID. |
RoverArea |
withId(int id)
Returns a copy of this shape with the given ID. |
RoverArea |
withIds(int id,
int dataId,
int drawId)
Returns a copy of this shape with the given IDs set. |
| Methods inherited from class com.partnersoft.maps.rover.AbstractRoverShape |
|---|
getDataId, getDrawId, getId, hasZ, isOffset, isRotated, isSelectable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RoverArea(int id,
int dataId,
int drawId,
boolean selectable,
XyPolygon polygon)
public RoverArea(int drawId,
boolean selectable,
XyPolygon polygon)
public RoverArea(int id,
int dataId,
int drawId,
XyPolygon polygon)
public RoverArea(int drawId,
XyPolygon polygon)
| Method Detail |
|---|
public XyBounds getBounds()
RoverShape
public XyPoint getCentroid()
RoverShape
public XyPoint getEndPoint()
RoverShape
public XyPoint getStartPoint()
RoverShape
public RoverArea withDataId(int dataId)
RoverShape
public RoverArea withDrawId(int drawId)
RoverShape
public RoverArea withId(int id)
RoverShape
public RoverArea withIds(int id,
int dataId,
int drawId)
RoverShape
public java.lang.String toString()
toString in class AbstractRoverShape<RoverArea>public XyPolygon getPolygon()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||