|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.projection.IlvProjectionDictionary
public class IlvProjectionDictionary
This class implements a dictionary providing facilities to retrieve the name of the available projections as well as instances of these projections.
| Constructor Summary | |
|---|---|
IlvProjectionDictionary()
Creates an instance of the projection dictionary and initializes it with the projections in the package. |
|
| Method Summary | |
|---|---|
IlvProjection |
getProjection(String name)
Returns the projection corresponding to the string passed as argument. |
Enumeration |
getProjectionNames()
Returns a list of the projections supported by the dictionary. |
void |
registerProjection(String name,
Class projectionClass)
Registers a new projection. |
boolean |
unregisterProjection(String name)
Removes a projection from the dictionary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvProjectionDictionary()
| Method Detail |
|---|
public IlvProjection getProjection(String name)
public Enumeration getProjectionNames()
String.
public void registerProjection(String name,
Class projectionClass)
name - the name of the projectionprojectionClass - the class that defines the projection. This projection
class must inherit from the class IlvProjection
and have a constructor
without argument.public boolean unregisterProjection(String name)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||