Difference between revisions of "TabMailComunicator"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '== Read Methods == * int getSelectedTab() * GWTMail getMail() == Example == <source lang="java"> int selectedTab = TabMailComunicator.getSelectedTab(); if (selectedTab==0) { …')
 
 
Line 3: Line 3:
 
* int getSelectedTab()
 
* int getSelectedTab()
 
* GWTMail getMail()
 
* GWTMail getMail()
 +
* boolean isWidgetExtensionVisible(Widget widget)
  
 
== Example ==
 
== Example ==

Latest revision as of 17:36, 17 January 2012

Read Methods

  • int getSelectedTab()
  • GWTMail getMail()
  • boolean isWidgetExtensionVisible(Widget widget)

Example

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