TabRecordComunicator
Methods
Section titled “Methods”| method | return | type | Description |
|---|---|---|---|
| getSelectedTab() | int | read | Get the selected tab ID. |
| getRecord() | GWTRecord | read | Retrieve the GWT record object from the selected record in the user interface. |
| isWidgetExtensionVisible(Widget widget) | boolean | read | Return true when the widget is visible in the record tabs. |
Sample
Section titled “Sample”int selectedTab = TabRecordComunicator.getSelectedTab();if (selectedTab == 0) { Window.alert("First tab enabled");} else { Window.alert("Other tab");}