Methods' Summary |
insertTab |
create a new tab and return an unique ID,
which can be used further to address this tab by using other methods
of this interface.
|
removeTab |
remove a tab with the given ID.
|
setTabProps |
change some properties of the specified tab.
@descr Such properties can be:
|
getTabProps |
retrieve the set of properties for the specified tab.
|
activateTab |
activate the specified tab.
@descr 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.
|
getActiveTabID |
return the unique ID of the current active tab.
|
addTabListener |
register listener for inserting/removing tabs and changing their properties.
|
removeTabListener |
unregister listener for inserting/removing tabs and changing their properties.
|
Methods' Details |
insertTab
- Description
- create a new tab and return an unique ID,
which can be used further to address this tab by using other methods
of this interface.
- Returns
- [long
an unique ID for this new tab.
|
|
removeTab
- Description
- remove a tab with the given ID.
- Parameter ID
- the ID of the tab, which should be removed.
- Throws
- ::com::sun::star::lang::IndexOutOfBoundsException
if the specified ID isn't used inside this tab controller.
|
|
setTabProps
- Description
- change some properties of the specified tab.
@descr 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".
- Parameter ID
- the ID of the tab, which should be changed.
- Throws
- ::com::sun::star::lang::IndexOutOfBoundsException
if the specified ID isn't used inside this tab controller.
|
|
getTabProps
- Description
- retrieve the set of properties for the specified tab.
- Parameter ID
- the ID of the tab.
- Throws
- ::com::sun::star::lang::IndexOutOfBoundsException
if the specified ID isn't used inside this tab controller.
|
|
activateTab
- Description
- activate the specified tab.
@descr 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.
- Parameter ID
- the ID of the new active tab.
- Throws
- ::com::sun::star::lang::IndexOutOfBoundsException
if the specified ID isn't used inside this tab controller.
|
|
getActiveTabID
- Description
- return the unique ID of the current active tab.
- Returns
- [long]
the ID of the active tab.
|
|
addTabListener
- Description
- register listener for inserting/removing tabs and changing their properties.
- Parameter Listener
- the listener to register.
|
|
removeTabListener
- Description
- unregister listener for inserting/removing tabs and changing their properties.
- Parameter Listener
- the listener to unregister.
|
|
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.