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>
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
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
Modifier and TypeFieldDescriptionprotected com.google.gwt.event.shared.HandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration
protected com.google.gwt.event.shared.HandlerRegistration
protected JmixMainTabSheetWidget.JmixTabBar
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
assignAdditionalCellStyles
(int navIndex) 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
onUnload()
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 io.jmix.ui.widget.client.addon.dragdroplayouts.ui.tabsheet.VDDTabSheet
deEmphasis, dragStart, emphasis, getDragCaptionProvider, getDragFilter, getDragMode, getDropHandler, getGrabFilter, getMouseHandler, getTabContentPosition, getTabLeftRightDropRatio, getTabPosition, iframeShimsEnabled, isIframeShimsEnabled, onLoad, postEnterHook, postLeaveHook, postOverHook, setDragCaptionProvider, setDragFilter, setDragImageProvider, setDragMode, setDropHandler, setGrabFilter, setTabLeftRightDropRatio
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
-
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 classVDDTabSheet
-
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 classVDDTabSheet
- Parameters:
event
- The drag event
-
onUnload
protected void onUnload()- Overrides:
onUnload
in classVDDTabSheet
-
onTabContextMenu
protected void onTabContextMenu(int tabIndex, com.google.gwt.event.dom.client.ContextMenuEvent event) - Overrides:
onTabContextMenu
in classcom.vaadin.client.ui.VTabsheet
-
createTabBar
protected com.vaadin.client.ui.VTabsheet.TabBar createTabBar()- Overrides:
createTabBar
in classcom.vaadin.client.ui.VTabsheet
-
assignAdditionalCellStyles
public void assignAdditionalCellStyles() -
assignAdditionalCellStyles
public void assignAdditionalCellStyles(int navIndex) -
updateContentNodeHeight
public void updateContentNodeHeight()- Overrides:
updateContentNodeHeight
in classcom.vaadin.client.ui.VTabsheet
-
loadTabSheet
public boolean loadTabSheet(int tabIndex) - Overrides:
loadTabSheet
in classcom.vaadin.client.ui.VTabsheet
-
createTabSelectionHandler
- Overrides:
createTabSelectionHandler
in classcom.vaadin.client.ui.VTabsheet
-