edu.ucla.stat.SOCR.chart.j3d.gui
Class SOCRBinnedBinary2DData

java.lang.Object
  extended by edu.ucla.stat.SOCR.chart.j3d.gui.SOCRBinned2DData
      extended by edu.ucla.stat.SOCR.chart.j3d.gui.SOCRBinnedBinary2DData
All Implemented Interfaces:
org.freehep.j3d.plot.Binned2DData

public class SOCRBinnedBinary2DData
extends SOCRBinned2DData

A trivial implementation of Binned2DData for test purposes

Version:
$Id: SOCRBinnedBinary2DData.java,v 1.4 2010/12/09 19:18:56 jiecui Exp $
Author:
Joy Kyriakopulos (joyk@fnal.gov)

Field Summary
 
Fields inherited from class edu.ucla.stat.SOCR.chart.j3d.gui.SOCRBinned2DData
data, rainbow, rangeZFound, xBins, yBins, zMax, zMin
 
Constructor Summary
SOCRBinnedBinary2DData()
           
SOCRBinnedBinary2DData(java.net.URL url, int x, int y)
           
SOCRBinnedBinary2DData(java.net.URL base, java.lang.String fileName)
           
SOCRBinnedBinary2DData(java.net.URL base, java.lang.String fileName, int x, int y)
           
 
Method Summary
 byte[] getBytesFromFile(java.io.BufferedInputStream bis)
           
 byte[] getBytesFromFile(java.io.File file)
           
 byte[] getBytesFromRemoteFile(java.io.InputStream is)
           
 byte[] getBytesFromRemoteFile2(java.io.File file)
           
 void loadDataFloat(byte[] bytes)
           
 void loadDataFloat(java.net.URL url)
           
 
Methods inherited from class edu.ucla.stat.SOCR.chart.j3d.gui.SOCRBinned2DData
colorAt, findZRange, getDataFromJTable, loadBinSizes, loadBinSizes, loadBinSizes, loadDataFloat, loadDataFloat, loadDataFloat, setDataAt, xBins, xMax, xMin, yBins, yMax, yMin, zAt, zMax, zMin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOCRBinnedBinary2DData

public SOCRBinnedBinary2DData()
                       throws java.io.IOException
Throws:
java.io.IOException

SOCRBinnedBinary2DData

public SOCRBinnedBinary2DData(java.net.URL base,
                              java.lang.String fileName)
                       throws java.io.IOException
Throws:
java.io.IOException

SOCRBinnedBinary2DData

public SOCRBinnedBinary2DData(java.net.URL url,
                              int x,
                              int y)
                       throws java.io.IOException
Throws:
java.io.IOException

SOCRBinnedBinary2DData

public SOCRBinnedBinary2DData(java.net.URL base,
                              java.lang.String fileName,
                              int x,
                              int y)
                       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

loadDataFloat

public void loadDataFloat(java.net.URL url)
                   throws java.io.IOException
Overrides:
loadDataFloat in class SOCRBinned2DData
Throws:
java.io.IOException

loadDataFloat

public void loadDataFloat(byte[] bytes)
                   throws java.io.IOException
Throws:
java.io.IOException

getBytesFromFile

public byte[] getBytesFromFile(java.io.BufferedInputStream bis)
                        throws java.io.IOException
Throws:
java.io.IOException

getBytesFromFile

public byte[] getBytesFromFile(java.io.File file)
                        throws java.io.IOException
Throws:
java.io.IOException

getBytesFromRemoteFile

public byte[] getBytesFromRemoteFile(java.io.InputStream is)
                              throws java.io.IOException
Throws:
java.io.IOException

getBytesFromRemoteFile2

public byte[] getBytesFromRemoteFile2(java.io.File file)
                               throws java.io.IOException
Throws:
java.io.IOException