Class TableAggregationRow

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
io.jmix.ui.widget.client.aggregation.TableAggregationRow
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, 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.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class TableAggregationRow extends com.google.gwt.user.client.ui.Panel
Special aggregation row for JmixScrollTableWidget and JmixTreeTableWidget
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

    com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

    com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected char[]
     
    protected com.google.gwt.dom.client.Element
     
    protected boolean
     
     
    protected TableWidget
     
     
    protected com.google.gwt.dom.client.Element
     

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addCell(String text, char align, String style, boolean sorted)
     
    protected void
    addCellsFromUIDL(com.vaadin.client.UIDL uidl)
     
    protected void
    addCellWithField(String text, char align, int colIndex)
     
    protected boolean
    addSpecificCell(String columnId, int colIndex)
     
    getAggregationInputInfo(com.google.gwt.dom.client.Element input)
     
    double
    getRealCellWidth(int colIdx)
     
    protected boolean
    isAggregationEditable(com.vaadin.client.UIDL uidl, int colIndex)
     
    boolean
     
    boolean
     
    Iterator<com.google.gwt.user.client.ui.Widget>
     
    void
    onBrowserEvent(com.google.gwt.user.client.Event event)
     
    boolean
    remove(com.google.gwt.user.client.ui.Widget child)
     
    protected void
    setAlign(char align, com.google.gwt.dom.client.Element container)
     
    void
    setCellWidth(int cellIx, int width)
     
    void
     
    void
     
    void
    updateFromUIDL(com.vaadin.client.UIDL uidl)
     

    Methods inherited from class com.google.gwt.user.client.ui.Panel

    add, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove

    Methods inherited from class com.google.gwt.user.client.ui.Widget

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents

    Methods inherited from class com.google.gwt.user.client.ui.UIObject

    addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Field Details

    • initialized

      protected boolean initialized
    • aligns

      protected char[] aligns
    • container

      protected com.google.gwt.dom.client.Element container
    • tr

      protected com.google.gwt.dom.client.Element tr
    • tableWidget

      protected TableWidget tableWidget
    • totalAggregationInputHandler

      protected TotalAggregationInputListener totalAggregationInputHandler
    • inputsList

      protected List<AggregationInputFieldInfo> inputsList
  • Constructor Details

    • TableAggregationRow

      public TableAggregationRow(TableWidget tableWidget)
  • Method Details

    • iterator

      public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
    • remove

      public boolean remove(com.google.gwt.user.client.ui.Widget child)
      Specified by:
      remove in interface com.google.gwt.user.client.ui.HasWidgets
      Specified by:
      remove in class com.google.gwt.user.client.ui.Panel
    • onBrowserEvent

      public void onBrowserEvent(com.google.gwt.user.client.Event event)
      Specified by:
      onBrowserEvent in interface com.google.gwt.user.client.EventListener
      Overrides:
      onBrowserEvent in class com.google.gwt.user.client.ui.Widget
    • updateFromUIDL

      public void updateFromUIDL(com.vaadin.client.UIDL uidl)
    • setCellWidth

      public void setCellWidth(int cellIx, int width)
    • isInitialized

      public boolean isInitialized()
    • setHorizontalScrollPosition

      public void setHorizontalScrollPosition(int scrollLeft)
    • setTotalAggregationInputHandler

      public void setTotalAggregationInputHandler(TotalAggregationInputListener totalAggregationInputHandler)
    • isAggregationRowEditable

      public boolean isAggregationRowEditable()
    • getRealCellWidth

      public double getRealCellWidth(int colIdx)
    • addCellsFromUIDL

      protected void addCellsFromUIDL(com.vaadin.client.UIDL uidl)
    • isAggregationEditable

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

      protected boolean addSpecificCell(String columnId, int colIndex)
    • addCellWithField

      protected void addCellWithField(String text, char align, int colIndex)
    • addCell

      protected void addCell(String text, char align, String style, boolean sorted)
    • setAlign

      protected void setAlign(char align, com.google.gwt.dom.client.Element container)
    • getAggregationInputInfo

      protected AggregationInputFieldInfo getAggregationInputInfo(com.google.gwt.dom.client.Element input)