Class JmixGroupTableWidget

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
com.vaadin.v7.client.ui.VScrollTable
io.jmix.ui.widget.client.table.JmixScrollTableWidget
io.jmix.ui.widget.client.grouptable.JmixGroupTableWidget
All Implemented Interfaces:
com.google.gwt.event.dom.client.BlurHandler, com.google.gwt.event.dom.client.FocusHandler, com.google.gwt.event.dom.client.ScrollHandler, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.vaadin.client.DeferredWorker, com.vaadin.client.Focusable, com.vaadin.client.ui.ActionOwner, com.vaadin.client.ui.dd.VHasDropHandler, com.vaadin.client.ui.ShortcutActionHandler.ShortcutActionHandlerOwner, com.vaadin.client.ui.SubPartAware, TableWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class JmixGroupTableWidget extends JmixScrollTableWidget
  • Field Details

  • Constructor Details

    • JmixGroupTableWidget

      public JmixGroupTableWidget()
  • Method Details

    • updateGroupColumns

      public void updateGroupColumns(Set<String> groupColumns)
    • setColWidth

      public void setColWidth(int colIndex, int w, boolean isDefinedWidth)
      Specified by:
      setColWidth in interface TableWidget
      Overrides:
      setColWidth in class JmixScrollTableWidget
    • isGroupColumn

      protected boolean isGroupColumn(String cid)
    • getVisibleColsCount

      protected int getVisibleColsCount(String[] strings)
      Overrides:
      getVisibleColsCount in class com.vaadin.v7.client.ui.VScrollTable
    • updateHeaderColumns

      protected void updateHeaderColumns(String[] strings, int colIndex)
      Overrides:
      updateHeaderColumns in class com.vaadin.v7.client.ui.VScrollTable
    • isAggregationEditable

      protected boolean isAggregationEditable()
      Overrides:
      isAggregationEditable in class JmixScrollTableWidget
    • updateBody

      public void updateBody(com.vaadin.client.UIDL uidl, int firstRow, int reqRows)
      Overrides:
      updateBody in class JmixScrollTableWidget
    • updateFooterColumns

      protected void updateFooterColumns(String[] strings, int colIndex)
      Overrides:
      updateFooterColumns in class com.vaadin.v7.client.ui.VScrollTable
    • reOrderColumn

      protected void reOrderColumn(String columnKey, int newIndex)
      Overrides:
      reOrderColumn in class JmixScrollTableWidget
    • checkColumnForUpdateWidth

      protected boolean checkColumnForUpdateWidth(com.vaadin.v7.client.ui.VScrollTable.HeaderCell cell)
      Overrides:
      checkColumnForUpdateWidth in class com.vaadin.v7.client.ui.VScrollTable
    • createScrollBody

      protected com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody createScrollBody()
      Overrides:
      createScrollBody in class JmixScrollTableWidget
    • createTableHead

      protected com.vaadin.v7.client.ui.VScrollTable.TableHead createTableHead()
      Overrides:
      createTableHead in class JmixScrollTableWidget
    • createTableFooter

      protected com.vaadin.v7.client.ui.VScrollTable.TableFooter createTableFooter()
      Overrides:
      createTableFooter in class com.vaadin.v7.client.ui.VScrollTable
    • createAggregationRow

      protected TableAggregationRow createAggregationRow()
      Overrides:
      createAggregationRow in class JmixScrollTableWidget
    • handleNavigation

      protected boolean handleNavigation(int keycode, boolean ctrl, boolean shift)
      Overrides:
      handleNavigation in class com.vaadin.v7.client.ui.VScrollTable
    • isGenericRow

      public boolean isGenericRow(com.google.gwt.user.client.ui.Widget rowWidget)
      Specified by:
      isGenericRow in interface TableWidget
      Overrides:
      isGenericRow in class JmixScrollTableWidget
    • isCustomColumn

      public boolean isCustomColumn(int colIndex)
      Specified by:
      isCustomColumn in interface TableWidget
      Overrides:
      isCustomColumn in class JmixScrollTableWidget
    • getRenderedGroupRowByKey

    • isColumnCollapsingEnabled

      protected boolean isColumnCollapsingEnabled()
      Overrides:
      isColumnCollapsingEnabled in class JmixScrollTableWidget
    • updateTextSelection

      public void updateTextSelection()
      Overrides:
      updateTextSelection in class JmixScrollTableWidget
    • updateGroupRowsWithAggregation

      public void updateGroupRowsWithAggregation(com.vaadin.client.UIDL uidl)
    • isAggregationEditable

      protected boolean isAggregationEditable(com.vaadin.client.UIDL uidl, int colIndex)