Class JmixTreeTableWidget.JmixTreeTableBody.JmixTreeTableRow

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.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
com.vaadin.v7.client.ui.VTreeTable.VTreeTableScrollBody.VTreeTableRow
io.jmix.ui.widget.client.treetable.JmixTreeTableWidget.JmixTreeTableBody.JmixTreeTableRow
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, com.vaadin.client.ui.ActionOwner, Iterable<com.google.gwt.user.client.ui.Widget>
Enclosing class:
JmixTreeTableWidget.JmixTreeTableBody

protected class JmixTreeTableWidget.JmixTreeTableBody.JmixTreeTableRow extends com.vaadin.v7.client.ui.VTreeTable.VTreeTableScrollBody.VTreeTableRow
  • 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 String
     

    Fields inherited from class com.vaadin.v7.client.ui.VTreeTable.VTreeTableScrollBody.VTreeTableRow

    widgetInHierarchyColumn

    Fields inherited from class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow

    actionKeys, applyZeroWidthFix, childWidgets, rowKey

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

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    JmixTreeTableRow(com.vaadin.client.UIDL uidl, char[] aligns)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    afterAddCell(String columnKey)
     
    protected void
    beforeAddCell(String columnKey)
     
    List<com.google.gwt.user.client.ui.Widget>
     
    protected com.google.gwt.dom.client.Element
    getElementTdOrTr(com.google.gwt.dom.client.Element eventTarget)
     
    protected void
    handleFocusAndClickEvents(com.google.gwt.event.dom.client.DomEvent e, com.google.gwt.user.client.ui.Widget topWidget)
     
    protected void
     
    protected boolean
     
    protected void
    initCellWithText(String text, char align, String style, boolean textIsHTML, boolean sorted, String description, com.google.gwt.dom.client.TableCellElement td)
     
    protected void
    initCellWithWidget(com.google.gwt.user.client.ui.Widget w, char align, String style, boolean sorted, com.google.gwt.dom.client.TableCellElement td)
     
    protected boolean
    isJmixTableClickableCell(com.google.gwt.user.client.Event event)
     
    protected boolean
    isJmixTableClickableCellText(com.google.gwt.user.client.Event event)
     
    void
    onBrowserEvent(com.google.gwt.user.client.Event event)
     
    protected void
    recursiveAddFocusHandler(com.google.gwt.user.client.ui.Widget w, com.google.gwt.user.client.ui.Widget topWidget)
     
    protected void
    selectRowForContextMenuActions(com.google.gwt.user.client.Event event)
     
    void
    showContextMenu(int left, int top)
     
    void
    showContextMenu(com.google.gwt.user.client.Event event)
     
    protected void
    updateCellStyleNames(com.google.gwt.dom.client.TableCellElement td, String primaryStyleName)
     

    Methods inherited from class com.vaadin.v7.client.ui.VTreeTable.VTreeTableScrollBody.VTreeTableRow

    addCell, addCell, addTreeSpacer, onAttach, setCellWidth

    Methods inherited from class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow

    addCell, addCell, addCellsFromUIDL, addSpecificCell, getActions, getClient, getEventTargetTdOrTr, getIndex, getKey, getPaintableId, getRealCellWidth, getTdOrTr, getTooltip, getTooltipInfo, getWidgetForPaintable, handleClickEvent, initCellWidths, isBefore, isInViewPort, isRenderHtmlInCells, isSelected, iterator, onDetach, remove, startRowDrag, toggleSelection, updateStyleNames

    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, 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

    • currentColumnKey

      protected String currentColumnKey
  • Constructor Details

    • JmixTreeTableRow

      public JmixTreeTableRow(com.vaadin.client.UIDL uidl, char[] aligns)
  • Method Details

    • getChildWidgets

      public List<com.google.gwt.user.client.ui.Widget> getChildWidgets()
    • initCellWithWidget

      protected void initCellWithWidget(com.google.gwt.user.client.ui.Widget w, char align, String style, boolean sorted, com.google.gwt.dom.client.TableCellElement td)
      Overrides:
      initCellWithWidget in class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
    • recursiveAddFocusHandler

      protected void recursiveAddFocusHandler(com.google.gwt.user.client.ui.Widget w, com.google.gwt.user.client.ui.Widget topWidget)
    • handleFocusAndClickEvents

      protected void handleFocusAndClickEvents(com.google.gwt.event.dom.client.DomEvent e, com.google.gwt.user.client.ui.Widget topWidget)
    • handleFocusForWidget

      protected void handleFocusForWidget()
    • 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.VTreeTable.VTreeTableScrollBody.VTreeTableRow
    • isJmixTableClickableCell

      protected boolean isJmixTableClickableCell(com.google.gwt.user.client.Event event)
    • isJmixTableClickableCellText

      protected boolean isJmixTableClickableCellText(com.google.gwt.user.client.Event event)
    • getElementTdOrTr

      protected com.google.gwt.dom.client.Element getElementTdOrTr(com.google.gwt.dom.client.Element eventTarget)
      Overrides:
      getElementTdOrTr in class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
    • beforeAddCell

      protected void beforeAddCell(String columnKey)
      Overrides:
      beforeAddCell in class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
    • afterAddCell

      protected void afterAddCell(String columnKey)
      Overrides:
      afterAddCell in class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
    • initCellWithText

      protected void initCellWithText(String text, char align, String style, boolean textIsHTML, boolean sorted, String description, com.google.gwt.dom.client.TableCellElement td)
      Overrides:
      initCellWithText in class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
    • showContextMenu

      public void showContextMenu(com.google.gwt.user.client.Event event)
      Overrides:
      showContextMenu in class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
    • showContextMenu

      public void showContextMenu(int left, int top)
      Overrides:
      showContextMenu in class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
    • selectRowForContextMenuActions

      protected void selectRowForContextMenuActions(com.google.gwt.user.client.Event event)
    • updateCellStyleNames

      protected void updateCellStyleNames(com.google.gwt.dom.client.TableCellElement td, String primaryStyleName)
      Overrides:
      updateCellStyleNames in class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow
    • hasContextMenuActions

      protected boolean hasContextMenuActions()
      Overrides:
      hasContextMenuActions in class com.vaadin.v7.client.ui.VScrollTable.VScrollTableBody.VScrollTableRow