specifies the basic operations for a tab controller, but does not require XControl as type of tabs.
More...
import"XSimpleTabController.idl";
specifies the basic operations for a tab controller, but does not require XControl as type of tabs.
◆ activateTab()
activate the specified tab.
The new tab will be activated and all listener will get an event describing this. Of course there will be an event too, which notifies listener about the deactivation of the last active tab.
- Parameters
-
ID | the ID of the new active tab. |
- Exceptions
-
◆ addTabListener()
register listener for inserting/removing tabs and changing their properties.
- Parameters
-
Listener | the listener to register. |
◆ getActiveTabID()
return the unique ID of the current active tab.
- Returns
- [long] the ID of the active tab.
◆ getTabProps()
retrieve the set of properties for the specified tab.
- Parameters
-
- Exceptions
-
◆ insertTab()
create a new tab and return a unique ID, which can be used further to address this tab by using other methods of this interface.
- Returns
- [long a unique ID for this new tab.
◆ removeTab()
remove a tab with the given ID.
- Parameters
-
ID | the ID of the tab, which should be removed. |
- Exceptions
-
◆ removeTabListener()
unregister listener for inserting/removing tabs and changing their properties.
- Parameters
-
Listener | the listener to unregister. |
◆ setTabProps()
change some properties of the specified tab.
- Parameters
-
Properties | Such properties can be:
Property | Type | Description |
Title | string | the title of the tab, which is shown at the UI. |
Position | int | describe the order of this tab in relation to all other tabs inside this control. |
|
- Attention
- Not all properties must be supported by all implementations of this interface. Of course some important ones should be handled by every implementation ... as e.g. "Title".
- Parameters
-
ID | the ID of the tab, which should be changed. |
- Exceptions
-
The documentation for this interface was generated from the following file: