|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.iastate.metnet.metaomgraph.chart.DataSorter
public class DataSorter
Constructs sort-order arrays for MetaOmChartPanels.
| Constructor Summary | |
|---|---|
DataSorter(MetaOmChartPanel mcp)
|
|
| Method Summary | |
|---|---|
int[] |
defaultOrder()
Sorts the data as it appeared in the original data file. |
java.util.Vector<RangeMarker> |
getRangeMarkers()
Gets a Vector of RangeMarkers from the last
sort operation. |
void |
setRangeMarkers(java.util.Vector<RangeMarker> rangeMarkers)
|
int[] |
sortByColumnName()
Sorts the data alphabetically by column name. |
int[] |
sortByExtendedInfo()
Displays a frame that allows the user to construct a query, then searches the active project's extended info tree for hits. |
int[] |
sortByPOs()
Sorts data by Plant Ontology information. |
int[] |
sortByYValue(double[] yvalues)
Sorts the data according to a second array of values, such that the index of the highest value in the passed array appears in the first cell of the result array. |
int[] |
sortCustom()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataSorter(MetaOmChartPanel mcp)
| Method Detail |
|---|
public int[] sortByColumnName()
public int[] defaultOrder()
public int[] sortByYValue(double[] yvalues)
yvalues - The array to sort by. Its length must be the same as the
number of data columns in the active project.
public int[] sortByExtendedInfo()
public int[] sortByPOs()
public int[] sortCustom()
public java.util.Vector<RangeMarker> getRangeMarkers()
Vector of RangeMarkers from the last
sort operation.
Vector of RangeMarkers from the last
sort operation.public void setRangeMarkers(java.util.Vector<RangeMarker> rangeMarkers)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||