|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.MQObject
com.mapquest.Primitive
The base class for drawing objects that can be added to the map.
CoordinateType,
DrawTrigger| Field Summary |
| Fields inherited from class com.mapquest.MQObject |
CLASS_ID, CLASS_NAME, DEFAULT_ID, DEFAULT_NAME, DEFAULT_VERSION, FORMAT_NUMERIC_ID, FORMAT_TEXT_NAME, INVALID_ID, INVALID_NAME, INVALID_VERSION |
| Constructor Summary | |
Primitive()
Default constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
CoordinateType |
getCoordinateType()
Returns the value of the Coordinate Type member. |
DrawTrigger |
getDrawTrigger()
Returns the value of the draw trigger member. |
java.lang.String |
getKey()
Returns the Key member. |
long |
getOpacity()
Opacity of the primitve 0-255, 0 being invisible, 255 being opaque 255 or opaque is default. |
DefaultTrigger |
getTriggerDT()
Deprecated. Use getDrawTrigger() instead. |
int |
hashCode()
Returns a hash code for this Primitive. |
void |
init()
Initializes object. |
void |
setCoordinateType(CoordinateType coordinateType)
Sets the coordinate type for this primitive. |
void |
setDrawTrigger(DrawTrigger drawTrigger)
Sets the trigger for order of drawing primitives on a map. |
void |
setKey(java.lang.String sKey)
Sets the key. |
void |
setOpacity(long lOpacity)
Opacity of the primitve 0-255, 0 being invisible, 255 being opaque 255 or opaque is default. |
void |
setTriggerDT(DefaultTrigger lTriggerDT)
Deprecated. Use setDrawTrigger(DrawTrigger) instead. |
| Methods inherited from class com.mapquest.MQObject |
clone, getClassId, getClassName, getFormat, getIdWithVersion, getNameWithVersion, getObjectVersion, getTypeId, getTypeName, getVerboseConsoleOutput, setFormat, setObjectVersion, setVerboseConsoleOutput, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Primitive()
| Method Detail |
public void init()
init in class MQObjectpublic void setKey(java.lang.String sKey)
sKey - The new key to be assigned to this
object.public java.lang.String getKey()
public void setDrawTrigger(DrawTrigger drawTrigger)
drawTrigger - The new value assigned to the draw trigger member.public void setTriggerDT(DefaultTrigger lTriggerDT)
setDrawTrigger(DrawTrigger) instead.
lTriggerDT - The new value assigned to the Trigger DT
member.public DrawTrigger getDrawTrigger()
public DefaultTrigger getTriggerDT()
getDrawTrigger() instead.
public void setCoordinateType(CoordinateType coordinateType)
coordinateType - The new value assigned to the Coordinate Type
member.public CoordinateType getCoordinateType()
public void setOpacity(long lOpacity)
lOpacity - The transparency value.public long getOpacity()
public boolean equals(java.lang.Object otherObject)
equals in class MQObjectotherObject - the object to compare this Primitive against.
public int hashCode()
hashCode in class MQObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||