Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt :: tab ::

interface XTabPageContainer
Description
An interface to a control that displays tab pages.
Since
OOo 3.4
See also
UnoControlTabPageContainer

Methods' Summary
getTabPageCount Returns the number of tab pages.  
isTabPageActive Checks whether a tab page is activated.  
getTabPage Returns tab page for the given index.  
getTabPageByID Returns tab page for the given ID.  
addTabPageContainerListener Adds a listener for the ::TabPageActivedEvent posted after the tab page was activated.  
removeTabPageContainerListener Removes a listener previously added with addTabPageListener().  
Attributes' Summary
ActiveTabPageID Specifies the ID of the current active tab page.  
Methods' Details
getTabPageCount
short
getTabPageCount();

Description
Returns the number of tab pages.
Returns
the number of tab pages.
isTabPageActive
boolean
isTabPageActive( [in] short  tabPageIndex );

Description
Checks whether a tab page is activated.
Parameter the
tab page to be checked.
Returns
true if tab page is activated, else false.
getTabPage
XTabPage
getTabPage( [in] short  tabPageIndex );

Description
Returns tab page for the given index.
Parameter tabPageIndex
- index of the tab page in the IndexContainer.
Returns
tab page which has tabPageIndex.
getTabPageByID
XTabPage
getTabPageByID( [in] short  tabPageID );

Description
Returns tab page for the given ID.
Parameter tabPageID
- ID of the tab page.
Returns
tab page which has tabPageID.
addTabPageContainerListener
[oneway] void
addTabPageContainerListener( [in] XTabPageContainerListener  listener );

Description
Adds a listener for the ::TabPageActivedEvent posted after the tab page was activated.
Parameter listener
the listener to add.
removeTabPageContainerListener
[oneway] void
removeTabPageContainerListener( [in] XTabPageContainerListener  listener );

Description
Removes a listener previously added with addTabPageListener().
Parameter listener
the listener to remove.
Attributes' Details
ActiveTabPageID
short ActiveTabPageID;
Description
Specifies the ID of the current active tab page.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.