Interface IJCWidget.Downloadable

  • Enclosing interface:
    IJCWidget

    public static interface IJCWidget.Downloadable
    Extension of IJCWidget which allows to download files (formats like pdf, doc, image) loaded in binary-data fields.
    • Method Detail

      • isSelectionDownloadable

        boolean isSelectionDownloadable()
        Test current possibility to download files (formats like pdf, doc, image). It's disabled when more than one cell is selected and it's also disabled when non-binary field is selected.
        Returns:
        boolean as test result
      • getDataFile

        byte[] getDataFile()
        Get binary data of downloaded files (formats like pdf, doc, image).
        Returns:
        binary data of file