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 void
addTab(String text, String tooltip, boolean closeable, com.google.gwt.user.client.ui.Widget content)
void
allTabsClosed()
static void
clearClosingFrame(com.google.gwt.user.client.Element frame)
void
closeAllTabs()
void
closeOtherTabs(org.pentaho.gwt.widgets.client.tabs.PentahoTab exceptThisTab)
void
closeTab(org.pentaho.gwt.widgets.client.tabs.PentahoTab closeTab, boolean invokePreTabCloseHook)
void
enableContentEdit(boolean enable)
boolean
existingTabMatchesName(String name)
static void
fireCloseTab(String frameId)
IFrameTabPanel
getCurrentFrame()
String
getCurrentFrameElementId()
This method returns the current frame element id.IFrameTabPanel
getFrame(org.pentaho.gwt.widgets.client.tabs.PentahoTab tab)
com.google.gwt.user.client.Element
getFrameElement(org.pentaho.gwt.widgets.client.tabs.PentahoTab tab)
static String
getReadyState(com.google.gwt.user.client.Element frameElement)
static boolean
hasUnsavedChanges(com.google.gwt.user.client.Element frameElement)
void
hideLoadingIndicator()
static void
onTabSelect(com.google.gwt.user.client.Element element)
static boolean
preTabCloseHook(com.google.gwt.user.client.Element frameElement)
void
registerContentOverlay(String id)
void
selectTab(org.pentaho.gwt.widgets.client.tabs.PentahoTab selectedTab)
void
setContentEditSelected(boolean selected)
void
setCurrentTabSaveEnabled(boolean enabled)
void
setFileInfoInFrame(FileItem selectedFileItem)
Store representation of file in the frame for reference later when save is calledvoid
setTabSaveEnabled(String frameId, boolean enabled)
void
setTabSaveEnabled(org.pentaho.gwt.widgets.client.tabs.PentahoTab tab, boolean enabled)
void
showLoadingIndicator()
void
showNewURLTab(String tabName, String tabTooltip, String url, boolean setFileInfoInFrame)
void
showNewURLTab(String tabName, String tabTooltip, String url, boolean setFileInfoInFrame, String frameName)
static boolean
supportsReadyFeedback(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:
addTab
in 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:
closeTab
in 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:
closeOtherTabs
in classorg.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
closeAllTabs
public void closeAllTabs()
- Overrides:
closeAllTabs
in classorg.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
selectTab
public void selectTab(org.pentaho.gwt.widgets.client.tabs.PentahoTab selectedTab)
- Overrides:
selectTab
in classorg.pentaho.gwt.widgets.client.tabs.PentahoTabPanel
-
allTabsClosed
public void allTabsClosed()
-
onTabSelect
public static void onTabSelect(com.google.gwt.user.client.Element element)
-
-