Interface WidgetLoader

    • Method Detail

      • init

        void init​(Spreadsheet spreadsheet)
        Initial a widget loader with a spreadsheet
        Parameters:
        spreadsheet -
      • invalidate

        void invalidate()
        indicate the spreadsheet is invalidated.
      • onSheetSelected

        void onSheetSelected​(SSheet sheet)
        indicate the selected sheet of a spreadsheet is changed.
        Parameters:
        sheet -
      • onSheetClean

        void onSheetClean​(SSheet sheet)
        indicate the sheet is dis-selected
        Parameters:
        sheet -
      • onSheetFreeze

        void onSheetFreeze​(SSheet sheet)
        indicate the sheet's freeze panel is changed.
        Parameters:
        sheet -
      • addChartWidget

        void addChartWidget​(SSheet sheet,
                            SChart chart)
        call when spreadsheet try to load a block of cell to client side. handler should take care this method and load corresponding widgets, which in the block , to client side. this method will be invoked by spreadsheet, you should not call this method directly.
      • deleteChartWidget

        void deleteChartWidget​(SSheet sheet,
                               String chartId)
      • updateChartWidget

        void updateChartWidget​(SSheet sheet,
                               SChart chart)
      • addPictureWidget

        void addPictureWidget​(SSheet sheet,
                              SPicture picture)
      • deletePictureWidget

        void deletePictureWidget​(SSheet sheet,
                                 String pictureId)
      • updatePictureWidget

        void updatePictureWidget​(SSheet sheet,
                                 SPicture picture)
      • onColumnChange

        void onColumnChange​(SSheet sheet,
                            int left,
                            int right)
      • onRowChange

        void onRowChange​(SSheet sheet,
                         int top,
                         int bottom)
      • onRowColumnChange

        void onRowColumnChange​(SSheet sheet,
                               CellRegion region)
      • onResetSparklineAnchor

        void onResetSparklineAnchor​(SSheet sheet,
                                    CellRegion region)