org.geworkbench.builtin.projects
Class ImageData

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by org.geworkbench.bison.datastructure.complex.panels.CSItemList<T>
                  extended by org.geworkbench.bison.datastructure.complex.panels.CSSequentialItemList<T>
                      extended by org.geworkbench.bison.datastructure.biocollections.CSDataSet<T>
                          extended by org.geworkbench.bison.datastructure.biocollections.CSAncillaryDataSet<DSBioObject>
                              extended by org.geworkbench.builtin.projects.ImageData
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<DSBioObject>, java.util.Collection<DSBioObject>, java.util.List<DSBioObject>, java.util.RandomAccess, DSAncillaryDataSet<DSBioObject>, DSDataSet<DSBioObject>, DSItemList<DSBioObject>, DSDescribable, DSExtendable, DSIdentifiable, DSNamed

public class ImageData
extends CSAncillaryDataSet<DSBioObject>

Title: Bioworks

Description: Modular Application Framework for Gene Expession, Sequence and Genotype Analysis

Copyright: Copyright (c) 2003 -2004

Company: Columbia University

Version:
$Id: ImageData.java 7966 2011-06-07 20:29:16Z zji $
Author:
Califano Lab
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geworkbench.bison.datastructure.biocollections.CSDataSet
columnOrder, compatibilityLabel, dataSetProperties, description, experimentInfo, extend, file, label
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ImageData(java.io.File image)
           
 
Method Summary
 boolean equals(java.lang.Object ads)
           
 java.io.File getDataSetFile()
           
 java.lang.String getDataSetName()
          The name of data set.
 java.io.File getFile()
          The underlying file associated with this data set.
 javax.swing.ImageIcon getImageIcon()
           
 boolean isDirty()
           
 void setDataSetFile(java.io.File image)
           
 void setDirty(boolean dirty)
           
 void setImageIcon(javax.swing.ImageIcon icon)
           
 void writeToFile(java.lang.String fileName)
          Writes the data set to the provided filename.
 
Methods inherited from class org.geworkbench.bison.datastructure.biocollections.CSAncillaryDataSet
getParentDataSet, setParent
 
Methods inherited from class org.geworkbench.bison.datastructure.biocollections.CSDataSet
addNameValuePair, addObject, allowMultipleValues, clearName, forceUniqueValue, getColumnOrder, getCompatibilityLabel, getDescription, getExperimentInformation, getID, getLabel, getObject, getValuesForName, isActive, isUniqueValue, setColumnOrder, setDescription, setExperimentInformation, setFile, setID, setLabel, toString
 
Methods inherited from class org.geworkbench.bison.datastructure.complex.panels.CSSequentialItemList
add, add, remove
 
Methods inherited from class org.geworkbench.bison.datastructure.complex.panels.CSItemList
addAll, clear, get, hashCode, set, setLabel
 
Methods inherited from class java.util.ArrayList
addAll, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.geworkbench.bison.datastructure.biocollections.DSDataSet
addObject, getColumnOrder, getCompatibilityLabel, getExperimentInformation, getObject, isActive, setColumnOrder, setExperimentInformation, setFile
 
Methods inherited from interface org.geworkbench.bison.datastructure.properties.DSDescribable
getDescription, setDescription
 
Methods inherited from interface org.geworkbench.bison.datastructure.properties.DSNamed
getLabel, setLabel
 
Methods inherited from interface org.geworkbench.bison.datastructure.properties.DSExtendable
addNameValuePair, allowMultipleValues, clearName, forceUniqueValue, getValuesForName, isUniqueValue
 
Methods inherited from interface org.geworkbench.bison.datastructure.complex.panels.DSItemList
get
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 
Methods inherited from interface org.geworkbench.bison.datastructure.properties.DSIdentifiable
getID, setID
 

Constructor Detail

ImageData

public ImageData(java.io.File image)
Method Detail

getDataSetFile

public java.io.File getDataSetFile()

setImageIcon

public void setImageIcon(javax.swing.ImageIcon icon)

getImageIcon

public javax.swing.ImageIcon getImageIcon()

setDataSetFile

public void setDataSetFile(java.io.File image)

equals

public boolean equals(java.lang.Object ads)
Specified by:
equals in interface java.util.Collection<DSBioObject>
Specified by:
equals in interface java.util.List<DSBioObject>
Overrides:
equals in class CSItemList<DSBioObject>

getDataSetName

public java.lang.String getDataSetName()
Description copied from class: CSDataSet
The name of data set.

Specified by:
getDataSetName in interface DSDataSet<DSBioObject>
Overrides:
getDataSetName in class CSDataSet<DSBioObject>
Returns:
the data set name.

getFile

public java.io.File getFile()
Description copied from class: CSDataSet
The underlying file associated with this data set.

Specified by:
getFile in interface DSDataSet<DSBioObject>
Overrides:
getFile in class CSDataSet<DSBioObject>
Returns:
the file for this data set.

writeToFile

public void writeToFile(java.lang.String fileName)
Description copied from interface: DSDataSet
Writes the data set to the provided filename.

Specified by:
writeToFile in interface DSDataSet<DSBioObject>
Overrides:
writeToFile in class CSDataSet<DSBioObject>
Parameters:
fileName - the filename (path) to which to write this file.

setDirty

public void setDirty(boolean dirty)

isDirty

public boolean isDirty()