|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.MQObjectCollection
com.mapquest.PointCollection
A collection of Point objects.
Point| Field Summary | |
static int |
CLASS_ID
|
static java.lang.String |
CLASS_NAME
|
| Fields inherited from class com.mapquest.MQObject |
DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Constructor Summary | |
PointCollection()
Default constructor. |
|
| Method Summary | |
void |
addXY(int nX,
int nY)
Constructs a new Point Object and adds it to the collection. |
Point |
getAt(int index)
Returns the element at the specified position in this collection. |
int |
getClassId()
Returns the numeric id of this class. |
java.lang.String |
getClassName()
Returns the text name of this class. |
void |
init()
Initializes object. |
| Methods inherited from class com.mapquest.MQObjectCollection |
add, append, equals, get, getSize, hashCode, remove, removeAll, removeAt |
| Methods inherited from class com.mapquest.MQObject |
clone, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int CLASS_ID
public static final java.lang.String CLASS_NAME
| Constructor Detail |
public PointCollection()
| Method Detail |
public void init()
init in class MQObjectCollectionpublic int getClassId()
getClassId in class MQObjectpublic java.lang.String getClassName()
getClassName in class MQObjectpublic Point getAt(int index)
get(int).
index - index of element to return.
MQObjectCollection.get(int)
public void addXY(int nX,
int nY)
add(MQObject).
nX - the x coordinate.nY - the y coordinate.MQObjectCollection.add(MQObject)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||