Class MantleTabPanel
- 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.google.gwt.user.client.ui.CellPanel
-
- com.google.gwt.user.client.ui.VerticalPanel
-
- org.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
- org.pentaho.mantle.client.ui.tabs.MantleTabPanel
-
- 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.HasAlignment,com.google.gwt.user.client.ui.HasHorizontalAlignment,com.google.gwt.user.client.ui.HasVerticalAlignment,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.InsertPanel,com.google.gwt.user.client.ui.InsertPanel.ForIsWidget,com.google.gwt.user.client.ui.IsWidget,Iterable<com.google.gwt.user.client.ui.Widget>
public class MantleTabPanel extends org.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
-
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.HasHorizontalAlignment
com.google.gwt.user.client.ui.HasHorizontalAlignment.AutoHorizontalAlignmentConstant, com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
-
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant
-
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
-
-
Field Summary
-
Fields inherited from class org.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
selectedTab, tabBar, tabDeck
-
-
Constructor Summary
Constructors Constructor Description MantleTabPanel()MantleTabPanel(boolean setupNativeHooks)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTab(String text, String tooltip, boolean closeable, com.google.gwt.user.client.ui.Widget content)voidallTabsClosed()static voidclearClosingFrame(com.google.gwt.user.client.Element frame)voidcloseAllTabs()voidcloseOtherTabs(org.pentaho.gwt.widgets.client.tabs.PentahoTab exceptThisTab)voidcloseTab(org.pentaho.gwt.widgets.client.tabs.PentahoTab closeTab, boolean invokePreTabCloseHook)voidenableContentEdit(boolean enable)booleanexistingTabMatchesName(String name)static voidfireCloseTab(String frameId)IFrameTabPanelgetCurrentFrame()StringgetCurrentFrameElementId()This method returns the current frame element id.IFrameTabPanelgetFrame(org.pentaho.gwt.widgets.client.tabs.PentahoTab tab)com.google.gwt.user.client.ElementgetFrameElement(org.pentaho.gwt.widgets.client.tabs.PentahoTab tab)static StringgetReadyState(com.google.gwt.user.client.Element frameElement)static booleanhasUnsavedChanges(com.google.gwt.user.client.Element frameElement)voidhideLoadingIndicator()static voidonTabSelect(com.google.gwt.user.client.Element element)static booleanpreTabCloseHook(com.google.gwt.user.client.Element frameElement)voidregisterContentOverlay(String id)voidselectTab(org.pentaho.gwt.widgets.client.tabs.PentahoTab selectedTab)voidsetContentEditSelected(boolean selected)voidsetCurrentTabSaveEnabled(boolean enabled)voidsetFileInfoInFrame(FileItem selectedFileItem)Store representation of file in the frame for reference later when save is calledvoidsetTabSaveEnabled(String frameId, boolean enabled)voidsetTabSaveEnabled(org.pentaho.gwt.widgets.client.tabs.PentahoTab tab, boolean enabled)voidshowLoadingIndicator()voidshowNewURLTab(String tabName, String tabTooltip, String url, boolean setFileInfoInFrame)voidshowNewURLTab(String tabName, String tabTooltip, String url, boolean setFileInfoInFrame, String frameName)static booleansupportsReadyFeedback(com.google.gwt.user.client.Element frameElement)-
Methods inherited from class org.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
closeTab, getSelectedTab, getSelectedTabIndex, getTab, getTabBar, getTabCount, getTabDeck, selectTab, selectTab, setSelectedTab, setTabBar, setTabDeck
-
Methods inherited from class com.google.gwt.user.client.ui.VerticalPanel
add, getHorizontalAlignment, getVerticalAlignment, insert, insert, onEnsureDebugId, remove, setHorizontalAlignment, setVerticalAlignment
-
Methods inherited from class com.google.gwt.user.client.ui.CellPanel
getBody, getSpacing, getTable, setBorderWidth, setCellHeight, setCellHeight, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellWidth, setCellWidth, setSpacing
-
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
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
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, onBrowserEvent, 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, 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 com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
-
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
addTab
public void addTab(String text, String tooltip, boolean closeable, com.google.gwt.user.client.ui.Widget content)
- Overrides:
addTabin classorg.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
showNewURLTab
public void showNewURLTab(String tabName, String tabTooltip, String url, boolean setFileInfoInFrame, String frameName)
-
showNewURLTab
public void showNewURLTab(String tabName, String tabTooltip, String url, boolean setFileInfoInFrame)
-
existingTabMatchesName
public boolean existingTabMatchesName(String name)
-
fireCloseTab
public static void fireCloseTab(String frameId)
-
showLoadingIndicator
public void showLoadingIndicator()
-
hideLoadingIndicator
public void hideLoadingIndicator()
-
setCurrentTabSaveEnabled
public void setCurrentTabSaveEnabled(boolean enabled)
-
setTabSaveEnabled
public void setTabSaveEnabled(org.pentaho.gwt.widgets.client.tabs.PentahoTab tab, boolean enabled)
-
setTabSaveEnabled
public void setTabSaveEnabled(String frameId, boolean enabled)
-
registerContentOverlay
public void registerContentOverlay(String id)
-
enableContentEdit
public void enableContentEdit(boolean enable)
-
setContentEditSelected
public void setContentEditSelected(boolean selected)
-
setFileInfoInFrame
public void setFileInfoInFrame(FileItem selectedFileItem)
Store representation of file in the frame for reference later when save is called- Parameters:
selectedFileItem-
-
getCurrentFrame
public IFrameTabPanel getCurrentFrame()
-
getFrame
public IFrameTabPanel getFrame(org.pentaho.gwt.widgets.client.tabs.PentahoTab tab)
-
getFrameElement
public com.google.gwt.user.client.Element getFrameElement(org.pentaho.gwt.widgets.client.tabs.PentahoTab tab)
-
getCurrentFrameElementId
public String getCurrentFrameElementId()
This method returns the current frame element id.- Returns:
-
getReadyState
public static String getReadyState(com.google.gwt.user.client.Element frameElement)
-
supportsReadyFeedback
public static boolean supportsReadyFeedback(com.google.gwt.user.client.Element frameElement)
-
hasUnsavedChanges
public static boolean hasUnsavedChanges(com.google.gwt.user.client.Element frameElement)
-
preTabCloseHook
public static boolean preTabCloseHook(com.google.gwt.user.client.Element frameElement)
-
closeTab
public void closeTab(org.pentaho.gwt.widgets.client.tabs.PentahoTab closeTab, boolean invokePreTabCloseHook)- Overrides:
closeTabin classorg.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
clearClosingFrame
public static void clearClosingFrame(com.google.gwt.user.client.Element frame)
-
closeOtherTabs
public void closeOtherTabs(org.pentaho.gwt.widgets.client.tabs.PentahoTab exceptThisTab)
- Overrides:
closeOtherTabsin classorg.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
closeAllTabs
public void closeAllTabs()
- Overrides:
closeAllTabsin classorg.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
selectTab
public void selectTab(org.pentaho.gwt.widgets.client.tabs.PentahoTab selectedTab)
- Overrides:
selectTabin classorg.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
allTabsClosed
public void allTabsClosed()
-
onTabSelect
public static void onTabSelect(com.google.gwt.user.client.Element element)
-
-