Difference between revisions of "TabFolderComunicator"

From OpenKM Documentation
Jump to: navigation, search
(Created page with '== Read Methods == int getSelectedTab() GWTFolder getFolder() boolean isVisibleButton() == Example == <source lang="java"> int selectedTab = TabFolderComunicator.getSelecte…')
 
Line 1: Line 1:
 
== Read Methods ==
 
== Read Methods ==
 
 
int getSelectedTab()
+
* int getSelectedTab()
GWTFolder getFolder()
+
* GWTFolder getFolder()
boolean isVisibleButton()
+
* boolean isVisibleButton()
  
 
== Example ==
 
== Example ==
Line 15: Line 15:
 
</source>
 
</source>
  
[[Category: OpenKM plugin extensions]]
+
[[Category: Extension Guide]]

Revision as of 13:37, 2 December 2010

Read Methods

  • int getSelectedTab()
  • GWTFolder getFolder()
  • boolean isVisibleButton()

Example

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