|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.MapBrowser.DummyTranslator
public class DummyTranslator
A simple no-op translator that is handy for debugging Nomenclature.tof files.
| Constructor Summary | |
|---|---|
DummyTranslator()
|
|
| Method Summary | |
|---|---|
Coord3D |
coordFor(java.lang.String locationName)
Returns the coordinate for the center of the given customer map location name. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyTranslator()
| Method Detail |
|---|
public java.lang.String nameFor(Coord3D coord)
nameFor in interface CustomerMapLocationTranslator
public java.lang.String nameFor(Coord3D coord,
int scaleIndex)
nameFor in interface CustomerMapLocationTranslatorpublic Coord3D coordFor(java.lang.String locationName)
coordFor in interface CustomerMapLocationTranslatorpublic int scaleFor(java.lang.String locationName)
scaleFor in interface CustomerMapLocationTranslator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||