Difference between revisions of "TabFolderComunicator"

From OpenKM Documentation
Jump to: navigation, search
 
Line 4: Line 4:
 
* GWTFolder getFolder()
 
* GWTFolder getFolder()
 
* boolean isVisibleButton()
 
* boolean isVisibleButton()
 +
* boolean isWidgetExtensionVisible(Widget widget)
  
 
== Example ==
 
== Example ==

Latest revision as of 17:36, 17 January 2012

Read Methods

  • int getSelectedTab()
  • GWTFolder getFolder()
  • boolean isVisibleButton()
  • boolean isWidgetExtensionVisible(Widget widget)

Example

int selectedTab = TabFolderComunicator.getSelectedTab();
if (selectedTab==0) {
  Window.alert("First tab enabled");
} else {
  Window.alert("Other tab");
}