com.mapquest
Class BaseDTStyle

java.lang.Object
  extended bycom.mapquest.MQObject
      extended bycom.mapquest.BaseDTStyle
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
DTFeatureStyleEx, DTStyle, DTStyleEx

public abstract class BaseDTStyle
extends MQObject

This is the base class for the DTStyle and DTStyleEx objects.

See Also:
DTStyle, DTStyleEx

Field Summary
static int DT_NULL
          Defines a NULL DT.
 
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
BaseDTStyle()
          Default Constructor.
 
Method Summary
 boolean equals(java.lang.Object otherObject)
          Compares this object to the specified object.
 int getDT()
          Get the Display Type
 long getHighScale()
          Get the Maximum Scale for this Display Type.
 long getLowScale()
          Get the Minimum Scale for this Display Type.
 int hashCode()
          Returns a hash code for this BaseDTStyle.
 void init()
          Initializes object.
 void setDT(int nDT)
          Set the Display Type
 void setHighScale(long lHighScale)
          Set the Maximum Scale for this Display Type.
 void setLowScale(long lLowScale)
          Set the Minimum Scale for this Display Type.
 
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
 

Field Detail

DT_NULL

public static final int DT_NULL
Defines a NULL DT.

See Also:
Constant Field Values
Constructor Detail

BaseDTStyle

public BaseDTStyle()
Default Constructor.

Method Detail

init

public void init()
Initializes object.

Overrides:
init in class MQObject

setLowScale

public void setLowScale(long lLowScale)
Set the Minimum Scale for this Display Type. Remarks: The minimum scale to which display type style applies

Parameters:
lLowScale - The minimum scale for this Display Type

getLowScale

public long getLowScale()
Get the Minimum Scale for this Display Type. Remarks: The minimum scale to which display type style applies

Returns:
The minimum scale for this Display Type

setHighScale

public void setHighScale(long lHighScale)
Set the Maximum Scale for this Display Type. Remarks: The maximum scale to which display type style applies

Parameters:
lHighScale - The maximum scale for this Display Type

getHighScale

public long getHighScale()
Get the Maximum Scale for this Display Type. Remarks: The maximum scale to which display type style applies

Returns:
The maximum scale for this Display Type

equals

public boolean equals(java.lang.Object otherObject)
Compares this object to the specified object. The result is true if and only if the argument is not null and is a BaseDTStyle object that has same attributes as this object.

Overrides:
equals in class MQObject
Parameters:
otherObject - the object to compare this BaseDTStyle against.
Returns:
true if the BaseDTStyle objects are equal; false otherwise.

hashCode

public int hashCode()
Returns a hash code for this BaseDTStyle.

Overrides:
hashCode in class MQObject
Returns:
a hash code value for this BaseDTStyle.

setDT

public void setDT(int nDT)
Set the Display Type

Parameters:
nDT - The Display Type

getDT

public int getDT()
Get the Display Type

Returns:
The Display Type