Difference between revisions of "TabFolderComunicator"
From OpenKM Documentation
(Created page with '== Read Methods == int getSelectedTab() GWTFolder getFolder() boolean isVisibleButton() == Example == <source lang="java"> int selectedTab = TabFolderComunicator.getSelecte…') |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== Read Methods == | == Read Methods == | ||
− | + | * int getSelectedTab() | |
− | + | * GWTFolder getFolder() | |
− | + | * boolean isVisibleButton() | |
+ | * boolean isWidgetExtensionVisible(Widget widget) | ||
== Example == | == Example == | ||
Line 15: | Line 16: | ||
</source> | </source> | ||
− | [[Category: | + | [[Category: Extension Guide]] |
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");
}