Interface TableDataTransferObject

  • All Superinterfaces:
    IJCTransferObject

    public interface TableDataTransferObject
    extends IJCTransferObject
    TransferObject (data holder which is put into clipboard) for copy/paste of tabular data.
    • Method Detail

      • getFieldsCount

        int getFieldsCount()
        Returns:
        number of fields (columns).
      • getFields

        java.util.List<com.im.df.api.ddl.DFField> getFields()
        Returns:
        all fields (columns).
      • getFieldAt

        com.im.df.api.ddl.DFField getFieldAt​(int index)
        Parameters:
        index - field position
        Returns:
        field at specified position.
      • getRowsCount

        int getRowsCount()
        Returns:
        number of rows of data in clipboard.
      • getRowAt

        com.chemaxon.ijc.commons.datarequest.api.RelationalData.Row getRowAt​(int index)
        Parameters:
        index - row index
        Returns:
        specified row's data. Keys of the map are DFItem.getId() and values are real data.
      • isFormatAvailable

        boolean isFormatAvailable()
        Returns:
        true if formatting is part of this transfer object, otherwise false
      • getFormatAt

        java.util.Map<java.lang.String,​TableDataTransferObject.Format> getFormatAt​(int index)
        Parameters:
        index - index of the row
        Returns:
        formatting for specified row. Keys of the map are DFItem.getId() and values are formatting for each value. If formatting is not supported this method can return null.