com.partnersoft.v3x.apps.MapBrowser
Class MapLocationMultiTranslator

java.lang.Object
  extended by com.partnersoft.v3x.apps.MapBrowser.MapLocationMultiTranslator
All Implemented Interfaces:
CustomerMapLocationTranslator

public class MapLocationMultiTranslator
extends java.lang.Object
implements CustomerMapLocationTranslator


Constructor Summary
MapLocationMultiTranslator()
           
 
Method Summary
 Coord3D coordFor(java.lang.String locationName)
          Returns the coordinate for the center of the given customer map location name.
 java.util.ArrayList getSubTranslators()
           
 java.lang.String nameFor(Coord3D coord)
          Returns the customer's map location name for the given coordinate.
 java.lang.String nameFor(Coord3D coord, int scaleIndex)
          Returns the customer's map location name for the given coordinate, at the given scale level.
 int scaleFor(java.lang.String locationName)
          Returns the scale index for the given customer map location name.
 void setSubTranslators(java.util.ArrayList newTranslators)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapLocationMultiTranslator

public MapLocationMultiTranslator()
Method Detail

nameFor

public java.lang.String nameFor(Coord3D coord)
Returns the customer's map location name for the given coordinate.

Specified by:
nameFor in interface CustomerMapLocationTranslator

nameFor

public java.lang.String nameFor(Coord3D coord,
                                int scaleIndex)
Returns the customer's map location name for the given coordinate, at the given scale level.

Specified by:
nameFor in interface CustomerMapLocationTranslator

coordFor

public Coord3D coordFor(java.lang.String locationName)
Returns the coordinate for the center of the given customer map location name.

Specified by:
coordFor in interface CustomerMapLocationTranslator

scaleFor

public int scaleFor(java.lang.String locationName)
Returns the scale index for the given customer map location name.

Specified by:
scaleFor in interface CustomerMapLocationTranslator

getSubTranslators

public java.util.ArrayList getSubTranslators()

setSubTranslators

public void setSubTranslators(java.util.ArrayList newTranslators)