edu.psu.geovista.data.geog
Class ShapeFileProjection

java.lang.Object
  extended byedu.psu.geovista.data.geog.ShapeFileProjection
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class ShapeFileProjection
extends java.lang.Object
implements java.awt.event.ActionListener

This class, when passed a ShapeFile, will project it using it's current projection. The original spatial data will not be changed. An ActionEvent will be fired as well. It will also project and fire an ActionEvent on being passed a new projection.


Constructor Summary
ShapeFileProjection()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void addActionListener(java.awt.event.ActionListener l)
          implements ActionListener
 void addChangeListener(javax.swing.event.ChangeListener l)
          implements ChangeListener
 void addDataSetListener(edu.psu.geovista.ui.event.DataSetListener l)
          implements DataSetListener
protected  void fireActionPerformed(java.lang.String command)
          Notify all listeners that have registered interest for notification on this event type.
protected  void fireChangePerformed(java.lang.String command)
          Notify all listeners that have registered interest for notification on this event type.
protected  void fireDataSetChanged(java.lang.Object[] dataSet)
          Notify all listeners that have registered interest for notification on this event type.
 javax.swing.event.EventListenerList getListenerList()
           
 java.lang.Object[] getOutputAuxiliarySpatialData()
           
 edu.psu.geovista.data.geog.DataSetForApps getOutputAuxiliarySpatialDataForApps()
           
 java.lang.Object[] getOutputDataSet()
           
 edu.psu.geovista.data.geog.DataSetForApps getOutputDataSetForApps()
           
 Projection getProj()
           
 java.awt.Shape[] project(java.awt.Shape[] shpFile)
           
 void removeActionListener(java.awt.event.ActionListener l)
          removes an ActionListener from the button
 void removeChangeListener(javax.swing.event.ChangeListener l)
          removes an ChangeListener from the button
 void removeDataSetListener(edu.psu.geovista.ui.event.DataSetListener l)
          removes an DataSetListener from the button
 void setInputAuxiliaryData(edu.psu.geovista.data.geog.DataSetForApps auxDataSet)
           
 void setInputAuxiliaryData(java.lang.Object[] auxDataSet)
           
 void setInputDataSet(java.lang.Object[] inputDataSet)
           
 void setInputDataSetForApps(edu.psu.geovista.data.geog.DataSetForApps inputDataSet)
           
 void setListenerList(javax.swing.event.EventListenerList listenerList)
           
 void setProj(Projection proj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapeFileProjection

public ShapeFileProjection()
Method Detail

project

public java.awt.Shape[] project(java.awt.Shape[] shpFile)

setInputDataSetForApps

public void setInputDataSetForApps(edu.psu.geovista.data.geog.DataSetForApps inputDataSet)

getOutputDataSetForApps

public edu.psu.geovista.data.geog.DataSetForApps getOutputDataSetForApps()

getOutputDataSet

public java.lang.Object[] getOutputDataSet()

setInputDataSet

public void setInputDataSet(java.lang.Object[] inputDataSet)

setInputAuxiliaryData

public void setInputAuxiliaryData(java.lang.Object[] auxDataSet)

setInputAuxiliaryData

public void setInputAuxiliaryData(edu.psu.geovista.data.geog.DataSetForApps auxDataSet)

getOutputAuxiliarySpatialData

public java.lang.Object[] getOutputAuxiliarySpatialData()

getOutputAuxiliarySpatialDataForApps

public edu.psu.geovista.data.geog.DataSetForApps getOutputAuxiliarySpatialDataForApps()

setProj

public void setProj(Projection proj)

getProj

public Projection getProj()

setListenerList

public void setListenerList(javax.swing.event.EventListenerList listenerList)

getListenerList

public javax.swing.event.EventListenerList getListenerList()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

addActionListener

public void addActionListener(java.awt.event.ActionListener l)
implements ActionListener


removeActionListener

public void removeActionListener(java.awt.event.ActionListener l)
removes an ActionListener from the button


fireActionPerformed

protected void fireActionPerformed(java.lang.String command)
Notify all listeners that have registered interest for notification on this event type. The event instance is lazily created using the parameters passed into the fire method.

See Also:
EventListenerList

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener l)
implements ChangeListener


removeChangeListener

public void removeChangeListener(javax.swing.event.ChangeListener l)
removes an ChangeListener from the button


fireChangePerformed

protected void fireChangePerformed(java.lang.String command)
Notify all listeners that have registered interest for notification on this event type. The event instance is lazily created using the parameters passed into the fire method.

See Also:
EventListenerList

addDataSetListener

public void addDataSetListener(edu.psu.geovista.ui.event.DataSetListener l)
implements DataSetListener


removeDataSetListener

public void removeDataSetListener(edu.psu.geovista.ui.event.DataSetListener l)
removes an DataSetListener from the button


fireDataSetChanged

protected void fireDataSetChanged(java.lang.Object[] dataSet)
Notify all listeners that have registered interest for notification on this event type. The event instance is lazily created using the parameters passed into the fire method.

See Also:
EventListenerList


Copyright © 1996-2003 GeoVista Center. All Rights Reserved.