edu.psu.geovista.data.geog
Class ShapeFileDataReader
java.lang.Object
edu.psu.geovista.data.geog.ShapeFileDataReader
- All Implemented Interfaces:
- java.io.Serializable
- public class ShapeFileDataReader
- extends java.lang.Object
- implements java.io.Serializable
Takes a file name and returns an Object[] with:
Object[0] = names of variables
0bject[1] = data (double[], int[], or String[])
0bject[1] = data (double[], int[], or String[])
...
Object[n-1] = the shapefile data
also see DBaseFile, ShapeFile
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMAND_DATA_SET_MADE
public static final java.lang.String COMMAND_DATA_SET_MADE
- See Also:
- Constant Field Values
FILE_TYPE_DBF
public static final int FILE_TYPE_DBF
- See Also:
- Constant Field Values
FILE_TYPE_CSV
public static final int FILE_TYPE_CSV
- See Also:
- Constant Field Values
ShapeFileDataReader
public ShapeFileDataReader()
setDataForApps
public void setDataForApps(edu.psu.geovista.data.geog.DataSetForApps dataForApps)
getDataForApps
public edu.psu.geovista.data.geog.DataSetForApps getDataForApps()
getDataSet
public java.lang.Object[] getDataSet()
setFileName
public void setFileName(java.lang.String fileName)
setFileNameCSV
public void setFileNameCSV(java.lang.String fileName)
setFileName
public void setFileName(java.lang.String fileName,
int fileType)
getFileName
public java.lang.String getFileName()
convertShpToShape
public java.lang.Object[] convertShpToShape(java.lang.Object[] dataIn)
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
Copyright © 1996-2003 GeoVista Center. All Rights Reserved.