Class TableData
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.layout_control.dbe.TableData
- Direct Known Subclasses:
AlternativeIdentifierTableData
public class TableData extends Object
- Author:
- Christian Klukas (c) 2004 IPK-Gatersleben
-
Field Summary
Fields Modifier and Type Field Description static intMAX_COLUMN -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidaddCellData(int col, int row, Object data)ObjectgetCellData(int col, Integer row, Object expectIfNULL)StringgetCellDataDate(int col, int row, String expectIfNULL)DategetCellDataDateObject(int col, int row, Date expectIfNULL)JScrollPanegetDataInScrollbars(HashMap<Integer,String> optHeaders)static StringgetExcelColumnName(int column)converts the column from an integer to Excel column notationintgetMaximumCol()intgetMaximumRow()intgetMaximumRow(int column)static ArrayList<String>getRelevantAffymetrixAnnotationColumnHeaders()ArrayList<SampleEntry>getSamples(SubstanceColumnInformation sci, int plantOrGenotypeColumnRefID)StringgetSampleValues(boolean headerRow, int col, int maxValues, String div, String ifNoValues)org.apache.poi.hssf.record.SSTRecordgetStringRec()Collection<SubstanceColumnInformation>getSubstanceColumnInformation(String firstCol)Collection<SubstanceColumnInformation>getSubstanceColumnInformation(String firstCol, boolean keepDoubleSubstancenames)StringgetTableStringData(int startRow, int endRow, int startCol, int endCol, String rowDivider, String colDivider)TableDatagetTransposedDataset()StringgetUnicodeStringCellData(int col, int row)Converts cell data to unicode strings.booleanisDBEinputForm()booleanisDBEtransposedInputForm()booleanisGeneExpressionFileFormatForm()intprocessAdditionaldentifiers(boolean processAllIDs, boolean processAllNewIDs, ExperimentInterface substanceNodes, BackgroundTaskStatusProviderSupportingExternalCall optStatus, double optStartProgress, double optEndProgress, StringBuilder statusMessage, boolean skipFirstRow, HashSet<Integer> ignoreColumns)HashSet<Integer>processAffymetrixAnnotationColumns(boolean processAffyGO, boolean processAffyEntrez)voidprocessCellContentRemoveStringTags(String start, String end)voidprocessGOanno(String splitChar, String preString, int minNumericLength)voidsetStringRec(org.apache.poi.hssf.record.SSTRecord stringRec)voidshowDataDialog()voidshowDataDialog(HashMap<Integer,String> optHeaders)voidsplitCells(String splitChar)StringtoString()
-
Field Details
-
MAX_COLUMN
public static final int MAX_COLUMN- See Also:
- Constant Field Values
-
-
Constructor Details
-
TableData
public TableData() -
TableData
-
-
Method Details
-
processAdditionaldentifiers
public int processAdditionaldentifiers(boolean processAllIDs, boolean processAllNewIDs, ExperimentInterface substanceNodes, BackgroundTaskStatusProviderSupportingExternalCall optStatus, double optStartProgress, double optEndProgress, StringBuilder statusMessage, boolean skipFirstRow, HashSet<Integer> ignoreColumns) -
isDBEinputForm
public boolean isDBEinputForm() -
isGeneExpressionFileFormatForm
public boolean isGeneExpressionFileFormatForm() -
isDBEtransposedInputForm
public boolean isDBEtransposedInputForm() -
getTableStringData
-
addCellData
- Parameters:
col- Column 0..n (different from getCellData)row- Row 0..n (different from getCellData)data-
-
getCellData
- Parameters:
col- Column (1...n)row- Row (1..n)expectIfNULL- Return value in case cell is empty- Returns:
-
getCellDataDate
-
getCellDataDateObject
-
getUnicodeStringCellData
Converts cell data to unicode strings.- Parameters:
col-row-- Returns:
-
setStringRec
public void setStringRec(org.apache.poi.hssf.record.SSTRecord stringRec) -
getStringRec
public org.apache.poi.hssf.record.SSTRecord getStringRec() -
getMaximumRow
public int getMaximumRow() -
getMaximumCol
public int getMaximumCol() -
getSamples
public ArrayList<SampleEntry> getSamples(SubstanceColumnInformation sci, int plantOrGenotypeColumnRefID) -
getExcelColumnName
converts the column from an integer to Excel column notationcolumn 1..26 -> A..Z
column 27..702 -> AA..ZZ
column 703..16384 -> AAA..XFD -
getSubstanceColumnInformation
-
getSubstanceColumnInformation
public Collection<SubstanceColumnInformation> getSubstanceColumnInformation(String firstCol, boolean keepDoubleSubstancenames) -
showDataDialog
public void showDataDialog() -
showDataDialog
-
getDataInScrollbars
-
getMaximumRow
public int getMaximumRow(int column) -
getTransposedDataset
-
toString
-
splitCells
-
processGOanno
-
processCellContentRemoveStringTags
-
getRelevantAffymetrixAnnotationColumnHeaders
-
processAffymetrixAnnotationColumns
public HashSet<Integer> processAffymetrixAnnotationColumns(boolean processAffyGO, boolean processAffyEntrez)- Returns:
- set of processed columns which should be ignored by other annotation column processing
-
getSampleValues
-