Class JmixScrollTableWidget.JmixScrollTableHeaderCell

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.vaadin.v7.client.ui.VScrollTable.HeaderCell
io.jmix.ui.widget.client.table.JmixScrollTableWidget.JmixScrollTableHeaderCell
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.IsWidget
Direct Known Subclasses:
JmixGroupTableWidget.GroupDividerHeaderCell
Enclosing class:
JmixScrollTableWidget

protected class JmixScrollTableWidget.JmixScrollTableHeaderCell extends com.vaadin.v7.client.ui.VScrollTable.HeaderCell
  • 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     

    Fields inherited from class com.vaadin.v7.client.ui.VScrollTable.HeaderCell

    captionContainer, cid, td

    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 boolean
     
    void
    onBrowserEvent(com.google.gwt.user.client.Event event)
     
    void
    setText(String headerText)
     
    void
    setWidth(int w, boolean ensureDefinedWidth)
     
    void
     
    protected void
     

    Methods inherited from class com.vaadin.v7.client.ui.VScrollTable.HeaderCell

    disableAutoWidthCalculation, getAlign, getCaption, getCaptionContainer, getColKey, getColResize, getExpandRatio, getMinWidth, getNaturalColumnWidth, getSortIndicator, getWidth, getWidthWithIndent, handleCaptionEvent, isDefinedWidth, isEnabled, isSorted, resizeCaptionContainer, saveNaturalColumnWidthIfNotSaved, setAlign, setExpandRatio, setNaturalMinimumColumnWidth, setSortable, setUndefinedWidth, updateStyleNames

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

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, 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, sinkBitlessEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • sortClickCounter

      protected int sortClickCounter
  • Constructor Details

    • JmixScrollTableHeaderCell

      public JmixScrollTableHeaderCell(String colId, String headerText)
  • Method Details

    • 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.vaadin.v7.client.ui.VScrollTable.HeaderCell
    • setText

      public void setText(String headerText)
      Overrides:
      setText in class com.vaadin.v7.client.ui.VScrollTable.HeaderCell
    • sortColumn

      protected void sortColumn()
      Overrides:
      sortColumn in class com.vaadin.v7.client.ui.VScrollTable.HeaderCell
    • setWidth

      public void setWidth(int w, boolean ensureDefinedWidth)
      Overrides:
      setWidth in class com.vaadin.v7.client.ui.VScrollTable.HeaderCell
    • setWidth

      public void setWidth(String width)
      Overrides:
      setWidth in class com.google.gwt.user.client.ui.UIObject
    • leaveRoomForSortIndicator

      protected boolean leaveRoomForSortIndicator()
      Overrides:
      leaveRoomForSortIndicator in class com.vaadin.v7.client.ui.VScrollTable.HeaderCell