TabRecordComunicator
Esta página aún no está disponible en tu idioma.
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 selected record of the user interface. |
| isWidgetExtensionVisible(Widget widget) | boolean | read | Return true when the widget is visible in record tabs. |
Sample
Section titled “Sample”int selectedTab = TabRecordComunicator.getSelectedTab();if (selectedTab==0) { Window.alert("First tab enabled");} else { Window.alert("Other tab");}