Class DelegatingGridData

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.uberfire.ext.wires.core.grids.client.model.GridData

        org.uberfire.ext.wires.core.grids.client.model.GridData.Range, org.uberfire.ext.wires.core.grids.client.model.GridData.SelectedCell
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendColumn​(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)  
      void appendRow​(org.uberfire.ext.wires.core.grids.client.model.GridRow row)  
      void clearSelections()  
      void collapseCell​(int rowIndex, int columnIndex)  
      org.uberfire.ext.wires.core.grids.client.model.GridData.Range deleteCell​(int rowIndex, int columnIndex)  
      void deleteColumn​(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)  
      org.uberfire.ext.wires.core.grids.client.model.GridData.Range deleteRow​(int rowIndex)  
      void expandCell​(int rowIndex, int columnIndex)  
      org.uberfire.ext.wires.core.grids.client.model.GridCell<?> getCell​(int rowIndex, int columnIndex)  
      int getColumnCount()  
      List<org.uberfire.ext.wires.core.grids.client.model.GridColumn<?>> getColumns()  
      int getHeaderRowCount()  
      org.uberfire.ext.wires.core.grids.client.model.GridRow getRow​(int rowIndex)  
      int getRowCount()  
      List<org.uberfire.ext.wires.core.grids.client.model.GridRow> getRows()  
      List<org.uberfire.ext.wires.core.grids.client.model.GridData.SelectedCell> getSelectedCells()  
      org.uberfire.ext.wires.core.grids.client.model.GridData.SelectedCell getSelectedCellsOrigin()  
      List<org.uberfire.ext.wires.core.grids.client.model.GridData.SelectedCell> getSelectedHeaderCells()  
      int getVisibleHeight()  
      int getVisibleWidth()  
      void insertColumn​(int index, org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)  
      void insertRow​(int rowIndex, org.uberfire.ext.wires.core.grids.client.model.GridRow row)  
      boolean isColumnDraggingEnabled()  
      boolean isMerged()  
      boolean isRowDraggingEnabled()  
      void moveColumnsTo​(int index, List<org.uberfire.ext.wires.core.grids.client.model.GridColumn<?>> columns)  
      void moveColumnTo​(int index, org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)  
      void moveRowsTo​(int index, List<org.uberfire.ext.wires.core.grids.client.model.GridRow> rows)  
      void moveRowTo​(int index, org.uberfire.ext.wires.core.grids.client.model.GridRow row)  
      boolean refreshWidth()  
      boolean refreshWidth​(double currentWidth)  
      org.uberfire.ext.wires.core.grids.client.model.GridData.Range selectCell​(int rowIndex, int columnIndex)  
      org.uberfire.ext.wires.core.grids.client.model.GridData.Range selectCells​(int rowIndex, int columnIndex, int width, int height)  
      org.uberfire.ext.wires.core.grids.client.model.GridData.Range selectHeaderCell​(int headerRowIndex, int headerColumnIndex)  
      org.uberfire.ext.wires.core.grids.client.model.GridData.Range setCell​(int rowIndex, int columnIndex, Supplier<org.uberfire.ext.wires.core.grids.client.model.GridCell<?>> cellSupplier)  
      org.uberfire.ext.wires.core.grids.client.model.GridData.Range setCellValue​(int rowIndex, int columnIndex, org.uberfire.ext.wires.core.grids.client.model.GridCellValue<?> value)  
      void setColumnDraggingEnabled​(boolean enabled)  
      void setHeaderRowCount​(int headerRowCount)  
      void setMerged​(boolean isMerged)  
      void setRowDraggingEnabled​(boolean enabled)  
      boolean setVisibleSizeAndRefresh​(int width, int height)  
      void updateColumn​(int index, org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)  
    • Constructor Detail

      • DelegatingGridData

        public DelegatingGridData​(DMNGridData delegate)
    • Method Detail

      • moveRowTo

        public void moveRowTo​(int index,
                              org.uberfire.ext.wires.core.grids.client.model.GridRow row)
        Specified by:
        moveRowTo in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • moveRowsTo

        public void moveRowsTo​(int index,
                               List<org.uberfire.ext.wires.core.grids.client.model.GridRow> rows)
        Specified by:
        moveRowsTo in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • moveColumnTo

        public void moveColumnTo​(int index,
                                 org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)
        Specified by:
        moveColumnTo in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • moveColumnsTo

        public void moveColumnsTo​(int index,
                                  List<org.uberfire.ext.wires.core.grids.client.model.GridColumn<?>> columns)
        Specified by:
        moveColumnsTo in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • selectCell

        public org.uberfire.ext.wires.core.grids.client.model.GridData.Range selectCell​(int rowIndex,
                                                                                        int columnIndex)
        Specified by:
        selectCell in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • selectCells

        public org.uberfire.ext.wires.core.grids.client.model.GridData.Range selectCells​(int rowIndex,
                                                                                         int columnIndex,
                                                                                         int width,
                                                                                         int height)
        Specified by:
        selectCells in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • selectHeaderCell

        public org.uberfire.ext.wires.core.grids.client.model.GridData.Range selectHeaderCell​(int headerRowIndex,
                                                                                              int headerColumnIndex)
        Specified by:
        selectHeaderCell in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getSelectedHeaderCells

        public List<org.uberfire.ext.wires.core.grids.client.model.GridData.SelectedCell> getSelectedHeaderCells()
        Specified by:
        getSelectedHeaderCells in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • setCell

        public org.uberfire.ext.wires.core.grids.client.model.GridData.Range setCell​(int rowIndex,
                                                                                     int columnIndex,
                                                                                     Supplier<org.uberfire.ext.wires.core.grids.client.model.GridCell<?>> cellSupplier)
        Specified by:
        setCell in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • setCellValue

        public org.uberfire.ext.wires.core.grids.client.model.GridData.Range setCellValue​(int rowIndex,
                                                                                          int columnIndex,
                                                                                          org.uberfire.ext.wires.core.grids.client.model.GridCellValue<?> value)
        Specified by:
        setCellValue in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • deleteCell

        public org.uberfire.ext.wires.core.grids.client.model.GridData.Range deleteCell​(int rowIndex,
                                                                                        int columnIndex)
        Specified by:
        deleteCell in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getColumns

        public List<org.uberfire.ext.wires.core.grids.client.model.GridColumn<?>> getColumns()
        Specified by:
        getColumns in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • appendColumn

        public void appendColumn​(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)
        Specified by:
        appendColumn in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • insertColumn

        public void insertColumn​(int index,
                                 org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)
        Specified by:
        insertColumn in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • deleteColumn

        public void deleteColumn​(org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)
        Specified by:
        deleteColumn in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getRows

        public List<org.uberfire.ext.wires.core.grids.client.model.GridRow> getRows()
        Specified by:
        getRows in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • expandCell

        public void expandCell​(int rowIndex,
                               int columnIndex)
        Specified by:
        expandCell in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • collapseCell

        public void collapseCell​(int rowIndex,
                                 int columnIndex)
        Specified by:
        collapseCell in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • setColumnDraggingEnabled

        public void setColumnDraggingEnabled​(boolean enabled)
        Specified by:
        setColumnDraggingEnabled in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • isColumnDraggingEnabled

        public boolean isColumnDraggingEnabled()
        Specified by:
        isColumnDraggingEnabled in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • setRowDraggingEnabled

        public void setRowDraggingEnabled​(boolean enabled)
        Specified by:
        setRowDraggingEnabled in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • isRowDraggingEnabled

        public boolean isRowDraggingEnabled()
        Specified by:
        isRowDraggingEnabled in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • setMerged

        public void setMerged​(boolean isMerged)
        Specified by:
        setMerged in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • isMerged

        public boolean isMerged()
        Specified by:
        isMerged in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • updateColumn

        public void updateColumn​(int index,
                                 org.uberfire.ext.wires.core.grids.client.model.GridColumn<?> column)
        Specified by:
        updateColumn in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • clearSelections

        public void clearSelections()
        Specified by:
        clearSelections in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getSelectedCells

        public List<org.uberfire.ext.wires.core.grids.client.model.GridData.SelectedCell> getSelectedCells()
        Specified by:
        getSelectedCells in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getSelectedCellsOrigin

        public org.uberfire.ext.wires.core.grids.client.model.GridData.SelectedCell getSelectedCellsOrigin()
        Specified by:
        getSelectedCellsOrigin in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getCell

        public org.uberfire.ext.wires.core.grids.client.model.GridCell<?> getCell​(int rowIndex,
                                                                                  int columnIndex)
        Specified by:
        getCell in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • setHeaderRowCount

        public void setHeaderRowCount​(int headerRowCount)
        Specified by:
        setHeaderRowCount in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getHeaderRowCount

        public int getHeaderRowCount()
        Specified by:
        getHeaderRowCount in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getRowCount

        public int getRowCount()
        Specified by:
        getRowCount in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • deleteRow

        public org.uberfire.ext.wires.core.grids.client.model.GridData.Range deleteRow​(int rowIndex)
        Specified by:
        deleteRow in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • insertRow

        public void insertRow​(int rowIndex,
                              org.uberfire.ext.wires.core.grids.client.model.GridRow row)
        Specified by:
        insertRow in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • appendRow

        public void appendRow​(org.uberfire.ext.wires.core.grids.client.model.GridRow row)
        Specified by:
        appendRow in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getRow

        public org.uberfire.ext.wires.core.grids.client.model.GridRow getRow​(int rowIndex)
        Specified by:
        getRow in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • refreshWidth

        public boolean refreshWidth()
        Specified by:
        refreshWidth in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • refreshWidth

        public boolean refreshWidth​(double currentWidth)
        Specified by:
        refreshWidth in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • setVisibleSizeAndRefresh

        public boolean setVisibleSizeAndRefresh​(int width,
                                                int height)
        Specified by:
        setVisibleSizeAndRefresh in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getVisibleWidth

        public int getVisibleWidth()
        Specified by:
        getVisibleWidth in interface org.uberfire.ext.wires.core.grids.client.model.GridData
      • getVisibleHeight

        public int getVisibleHeight()
        Specified by:
        getVisibleHeight in interface org.uberfire.ext.wires.core.grids.client.model.GridData