net.maizegenetics.gui.TaxaAvailableListModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tassel Show documentation
Show all versions of tassel Show documentation
TASSEL is a software package to evaluate traits associations, evolutionary patterns, and linkage
disequilibrium.
/*
* TaxaAvailableListModel
*
* Created on Jul 2, 2014
*/
package net.maizegenetics.gui;
import net.maizegenetics.taxa.TaxaList;
/**
*
* @author Terry Casstevens
*/
public class TaxaAvailableListModel extends AbstractAvailableListModel {
private final TaxaList myTaxa;
public TaxaAvailableListModel(TaxaList taxa) {
super(taxa.numberOfTaxa());
myTaxa = taxa;
}
@Override
public String getRealElementAt(int index) {
return myTaxa.taxaName(index);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy