Class JmixMainTabSheetWidget

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.vaadin.client.ui.VTabsheetBase
com.vaadin.client.ui.VTabsheet
io.jmix.ui.widget.client.addon.dragdroplayouts.ui.tabsheet.VDDTabSheet
io.jmix.ui.widget.client.tabsheet.JmixMainTabSheetWidget
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.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.IsWidget, com.vaadin.client.Focusable, com.vaadin.client.ui.dd.VHasDropHandler, com.vaadin.client.ui.SubPartAware, VDDHasDropHandler<VDDTabsheetDropHandler>, VDDTabContainer, VHasDragCaptionProvider, VHasDragFilter, VHasDragImageReferenceSupport, VHasDragMode, VHasGrabFilter, VHasIframeShims, VLayoutDragDropMouseHandler.DragStartListener, Iterable<com.google.gwt.user.client.ui.Widget>

public class JmixMainTabSheetWidget extends VDDTabSheet
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
    class 
     
    static interface 
     

    Nested classes/interfaces inherited from class com.vaadin.client.ui.VTabsheet

    com.vaadin.client.ui.VTabsheet.FocusBlurManager, com.vaadin.client.ui.VTabsheet.PlaceHolder, com.vaadin.client.ui.VTabsheet.Tab, com.vaadin.client.ui.VTabsheet.TabBar, com.vaadin.client.ui.VTabsheet.TabCaption, com.vaadin.client.ui.VTabsheet.TabSelectionHandler

    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

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

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

    Fields
    Modifier and Type
    Field
    Description
    protected com.google.gwt.event.shared.HandlerRegistration
     
    protected com.google.gwt.event.shared.HandlerRegistration
     
    protected com.google.gwt.event.shared.HandlerRegistration
     
     
     

    Fields inherited from class io.jmix.ui.widget.client.addon.dragdroplayouts.ui.tabsheet.VDDTabSheet

    CLASSNAME_NEW_TAB, CLASSNAME_NEW_TAB_CENTER, CLASSNAME_NEW_TAB_LEFT, CLASSNAME_NEW_TAB_RIGHT

    Fields inherited from class com.vaadin.client.ui.VTabsheet

    CLASSNAME, contentNode, deco, focusBlurManager, SCROLLER_CLASSNAME, tabs, TABS_CLASSNAME, waitingForResponse

    Fields inherited from class com.vaadin.client.ui.VTabsheetBase

    activeTabIndex, client, connector, disabled, disabledTabKeys, readonly, tabKeys

    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
    void
     
    void
     
    protected com.vaadin.client.ui.VTabsheet.TabBar
     
     
    protected void
    handleBadDD(com.google.gwt.dom.client.NativeEvent event)
     
    boolean
    loadTabSheet(int tabIndex)
     
    protected void
    onTabContextMenu(int tabIndex, com.google.gwt.event.dom.client.ContextMenuEvent event)
     
    protected void
     
    protected boolean
    postDropHook(com.vaadin.client.ui.dd.VDragEvent drag)
    A hook for extended components to post process the the drop before it is sent to the server.
    void
    renderTab(com.vaadin.shared.ui.tabsheet.TabState tabState, int index)
     
    void
     
    protected void
    updateDragDetails(com.vaadin.client.ui.dd.VDragEvent event)
    Updates the drop details while dragging.

    Methods inherited from class com.vaadin.client.ui.VTabsheet

    blur, canSelectTab, clearPaintables, focus, getApplicationConnection, getCloseTabKey, getContentAreaBorderWidth, getCurrentlyDisplayedWidget, getNextTabKey, getOtherComponentsWidth, getPreviousTabKey, getRpcProxy, getSelectTabKey, getSubPartElement, getSubPartName, getTab, getTabCount, getWidgetIterator, handleStyleNames, hideTabs, iLayout, onBrowserEvent, removeTab, renderContent, selectTab, setConnector, setTabIndex, showAllTabs, showTabs, tabSizeMightHaveChanged, updateDynamicWidth, updateOpenTabSize

    Methods inherited from class com.vaadin.client.ui.VTabsheetBase

    addTabKey, clearTabKeys, getConnectorForWidget, isDynamicHeight, isDynamicWidth, isEnabled, isTabCaptionsAsHtml, setActiveTabIndex, setClient, setEnabled, setReadonly, setTabCaptionsAsHtml

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

    add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove

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

    • tabContextMenuHandler

      protected JmixMainTabSheetWidget.TabContextMenuHandler tabContextMenuHandler
    • tabBar

    • dragEndHandler

      protected com.google.gwt.event.shared.HandlerRegistration dragEndHandler
    • dropHandler

      protected com.google.gwt.event.shared.HandlerRegistration dropHandler
    • dragLeaveHandler

      protected com.google.gwt.event.shared.HandlerRegistration dragLeaveHandler
  • Constructor Details

    • JmixMainTabSheetWidget

      public JmixMainTabSheetWidget()
  • Method Details

    • postDropHook

      protected boolean postDropHook(com.vaadin.client.ui.dd.VDragEvent drag)
      Description copied from class: VDDTabSheet
      A hook for extended components to post process the the drop before it is sent to the server. Useful if you don't want to override the whole drop handler.
      Overrides:
      postDropHook in class VDDTabSheet
    • handleBadDD

      protected void handleBadDD(com.google.gwt.dom.client.NativeEvent event)
    • updateDragDetails

      protected void updateDragDetails(com.vaadin.client.ui.dd.VDragEvent event)
      Description copied from class: VDDTabSheet
      Updates the drop details while dragging. This is needed to ensure client side criterias can validate the drop location.
      Overrides:
      updateDragDetails in class VDDTabSheet
      Parameters:
      event - The drag event
    • onUnload

      protected void onUnload()
      Overrides:
      onUnload in class VDDTabSheet
    • onTabContextMenu

      protected void onTabContextMenu(int tabIndex, com.google.gwt.event.dom.client.ContextMenuEvent event)
      Overrides:
      onTabContextMenu in class com.vaadin.client.ui.VTabsheet
    • createTabBar

      protected com.vaadin.client.ui.VTabsheet.TabBar createTabBar()
      Overrides:
      createTabBar in class com.vaadin.client.ui.VTabsheet
    • renderTab

      public void renderTab(com.vaadin.shared.ui.tabsheet.TabState tabState, int index)
      Overrides:
      renderTab in class com.vaadin.client.ui.VTabsheet
    • assignAdditionalCellStyles

      public void assignAdditionalCellStyles()
    • assignAdditionalCellStyles

      public void assignAdditionalCellStyles(int navIndex)
    • updateContentNodeHeight

      public void updateContentNodeHeight()
      Overrides:
      updateContentNodeHeight in class com.vaadin.client.ui.VTabsheet
    • loadTabSheet

      public boolean loadTabSheet(int tabIndex)
      Overrides:
      loadTabSheet in class com.vaadin.client.ui.VTabsheet
    • createTabSelectionHandler

      protected JmixMainTabSheetWidget.JmixTabSelectionHandler createTabSelectionHandler()
      Overrides:
      createTabSelectionHandler in class com.vaadin.client.ui.VTabsheet