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 int
MAX_COLUMN
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
addCellData(int col, int row, Object data)
Object
getCellData(int col, Integer row, Object expectIfNULL)
String
getCellDataDate(int col, int row, String expectIfNULL)
Date
getCellDataDateObject(int col, int row, Date expectIfNULL)
JScrollPane
getDataInScrollbars(HashMap<Integer,String> optHeaders)
static String
getExcelColumnName(int column)
converts the column from an integer to Excel column notationint
getMaximumCol()
int
getMaximumRow()
int
getMaximumRow(int column)
static ArrayList<String>
getRelevantAffymetrixAnnotationColumnHeaders()
ArrayList<SampleEntry>
getSamples(SubstanceColumnInformation sci, int plantOrGenotypeColumnRefID)
String
getSampleValues(boolean headerRow, int col, int maxValues, String div, String ifNoValues)
org.apache.poi.hssf.record.SSTRecord
getStringRec()
Collection<SubstanceColumnInformation>
getSubstanceColumnInformation(String firstCol)
Collection<SubstanceColumnInformation>
getSubstanceColumnInformation(String firstCol, boolean keepDoubleSubstancenames)
String
getTableStringData(int startRow, int endRow, int startCol, int endCol, String rowDivider, String colDivider)
TableData
getTransposedDataset()
String
getUnicodeStringCellData(int col, int row)
Converts cell data to unicode strings.boolean
isDBEinputForm()
boolean
isDBEtransposedInputForm()
boolean
isGeneExpressionFileFormatForm()
int
processAdditionaldentifiers(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)
void
processCellContentRemoveStringTags(String start, String end)
void
processGOanno(String splitChar, String preString, int minNumericLength)
void
setStringRec(org.apache.poi.hssf.record.SSTRecord stringRec)
void
showDataDialog()
void
showDataDialog(HashMap<Integer,String> optHeaders)
void
splitCells(String splitChar)
String
toString()
-
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
-