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 Details

  • Constructor Details

    • TableData

      public TableData()
    • TableData

      public TableData​(TableData copyData, boolean transposedWrote, int fromRow)
  • 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

      public String getTableStringData​(int startRow, int endRow, int startCol, int endCol, String rowDivider, String colDivider)
    • addCellData

      public void addCellData​(int col, int row, Object data)
      Parameters:
      col - Column 0..n (different from getCellData)
      row - Row 0..n (different from getCellData)
      data -
    • getCellData

      public Object getCellData​(int col, Integer row, Object expectIfNULL)
      Parameters:
      col - Column (1...n)
      row - Row (1..n)
      expectIfNULL - Return value in case cell is empty
      Returns:
    • getCellDataDate

      public String getCellDataDate​(int col, int row, String expectIfNULL)
    • getCellDataDateObject

      public Date getCellDataDateObject​(int col, int row, Date expectIfNULL)
    • getUnicodeStringCellData

      public String getUnicodeStringCellData​(int col, int row)
      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

      public static String getExcelColumnName​(int column)
      converts the column from an integer to Excel column notation

      column 1..26 -> A..Z
      column 27..702 -> AA..ZZ
      column 703..16384 -> AAA..XFD

    • getSubstanceColumnInformation

      public Collection<SubstanceColumnInformation> getSubstanceColumnInformation​(String firstCol)
    • getSubstanceColumnInformation

      public Collection<SubstanceColumnInformation> getSubstanceColumnInformation​(String firstCol, boolean keepDoubleSubstancenames)
    • showDataDialog

      public void showDataDialog()
    • showDataDialog

      public void showDataDialog​(HashMap<Integer,​String> optHeaders)
    • getDataInScrollbars

      public JScrollPane getDataInScrollbars​(HashMap<Integer,​String> optHeaders)
    • getMaximumRow

      public int getMaximumRow​(int column)
    • getTransposedDataset

      public TableData getTransposedDataset()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • splitCells

      public void splitCells​(String splitChar)
    • processGOanno

      public void processGOanno​(String splitChar, String preString, int minNumericLength)
    • processCellContentRemoveStringTags

      public void processCellContentRemoveStringTags​(String start, String end)
    • getRelevantAffymetrixAnnotationColumnHeaders

      public static ArrayList<String> 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

      public String getSampleValues​(boolean headerRow, int col, int maxValues, String div, String ifNoValues)