gistoolkit.projection
Class NoProjection

java.lang.Object
  extended bygistoolkit.projection.NoProjection
All Implemented Interfaces:
EditableProjection, EllipsoidProjection, Projection

public class NoProjection
extends java.lang.Object
implements Projection, EditableProjection, EllipsoidProjection

Does no projection, just displays the data in the projection it currently has.


Constructor Summary
NoProjection()
          Creates new NoProjection
 
Method Summary
 java.lang.Object clone()
          clone this object
 ProjectionPanel getEditPanel()
          return the panel needed to edit this projection
 Ellipsoid getEllipsoid()
          Return the Ellipsoid for this projection
 Node getNode()
          Return the configuration information for this projection
 java.lang.String getProjectionName()
          return the name of the projection
 java.lang.String getUnitOfMeasure()
          Returns the units of measure for the projection.
 void projectBackward(Point inPoint)
          do not perform any projection, just return the same point
 void projectForward(Point inPoint)
          do not perform any projection, just return the same point
 void setEllipsoid(Ellipsoid inEllipsoid)
          Set the Ellipsoid for this projection
 void setEnvelope(Envelope inEnvelope)
          set the Envelope of the map.
 void setNode(Node inNode)
          Setup this projection using the configuration information in the node
 java.lang.String toString()
          Display the type of projection
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoProjection

public NoProjection()
Creates new NoProjection

Method Detail

getEllipsoid

public Ellipsoid getEllipsoid()
Return the Ellipsoid for this projection

Specified by:
getEllipsoid in interface EllipsoidProjection

setEllipsoid

public void setEllipsoid(Ellipsoid inEllipsoid)
Set the Ellipsoid for this projection


getUnitOfMeasure

public java.lang.String getUnitOfMeasure()
Returns the units of measure for the projection.

Specified by:
getUnitOfMeasure in interface Projection

projectForward

public void projectForward(Point inPoint)
                    throws java.lang.Exception
do not perform any projection, just return the same point

Specified by:
projectForward in interface Projection
Throws:
java.lang.Exception

projectBackward

public void projectBackward(Point inPoint)
                     throws java.lang.Exception
do not perform any projection, just return the same point

Specified by:
projectBackward in interface Projection
Throws:
java.lang.Exception

getProjectionName

public java.lang.String getProjectionName()
return the name of the projection

Specified by:
getProjectionName in interface Projection

toString

public java.lang.String toString()
Display the type of projection


setEnvelope

public void setEnvelope(Envelope inEnvelope)
                 throws java.lang.Exception
set the Envelope of the map. The projection may do some initialization bassed on this value

Specified by:
setEnvelope in interface Projection
Throws:
java.lang.Exception

getNode

public Node getNode()
Return the configuration information for this projection

Specified by:
getNode in interface Projection

setNode

public void setNode(Node inNode)
             throws java.lang.Exception
Setup this projection using the configuration information in the node

Specified by:
setNode in interface Projection
Throws:
java.lang.Exception

getEditPanel

public ProjectionPanel getEditPanel()
return the panel needed to edit this projection

Specified by:
getEditPanel in interface EditableProjection

clone

public java.lang.Object clone()
clone this object

Specified by:
clone in interface Projection