TabRecordComunicator

From OpenKM Documentation
Revision as of 07:34, 24 September 2012 by Jllort (talk | contribs) (Created page with '== Read Methods == * int getSelectedTab() * GWTRecord getRecord() * boolean isWidgetExtensionVisible(Widget widget) == Example == <source lang="java"> int selectedTab = TabRec…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Read Methods

  • int getSelectedTab()
  • GWTRecord getRecord()
  • boolean isWidgetExtensionVisible(Widget widget)

Example

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