LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | Public Attributes | List of all members
XTabPageContainer Interface Referencepublished

An interface to a control that displays tab pages. More...

import"XTabPageContainer.idl";

Inheritance diagram for XTabPageContainer:
UnoControlTabPageContainer

Public Member Functions

short getTabPageCount ()
 Returns the number of tab pages. More...
 
boolean isTabPageActive ([in] short tabPageIndex)
 Checks whether a tab page is activated. More...
 
XTabPage getTabPage ([in] short tabPageIndex)
 Returns tab page for the given index. More...
 
XTabPage getTabPageByID ([in] short tabPageID)
 Returns tab page for the given ID. More...
 
void addTabPageContainerListener ([in] XTabPageContainerListener listener)
 Adds a listener for the TabPageActivedEvent posted after the tab page was activated. More...
 
void removeTabPageContainerListener ([in] XTabPageContainerListener listener)
 Removes a listener previously added with addTabPageListener(). More...
 

Public Attributes

short ActiveTabPageID
 Specifies the ID of the current active tab page. More...
 

Detailed Description

An interface to a control that displays tab pages.

See also
UnoControlTabPageContainer
Since
OOo 3.4

Member Function Documentation

◆ addTabPageContainerListener()

void addTabPageContainerListener ( [in] XTabPageContainerListener  listener)

Adds a listener for the TabPageActivedEvent posted after the tab page was activated.

Parameters
listenerthe listener to add.

◆ getTabPage()

XTabPage getTabPage ( [in] short  tabPageIndex)

Returns tab page for the given index.

Parameters
tabPageIndex- index of the tab page in the IndexContainer.
Returns
tab page which has tabPageIndex.

◆ getTabPageByID()

XTabPage getTabPageByID ( [in] short  tabPageID)

Returns tab page for the given ID.

Parameters
tabPageID- ID of the tab page.
Returns
tab page which has tabPageID.

◆ getTabPageCount()

short getTabPageCount ( )

Returns the number of tab pages.

Returns
the number of tab pages.

◆ isTabPageActive()

boolean isTabPageActive ( [in] short  tabPageIndex)

Checks whether a tab page is activated.

Parameters
tabPageIndexthe tab page to be checked.
Returns
TRUE if tab page is activated, else FALSE.

◆ removeTabPageContainerListener()

void removeTabPageContainerListener ( [in] XTabPageContainerListener  listener)

Removes a listener previously added with addTabPageListener().

Parameters
listenerthe listener to remove.

Member Data Documentation

◆ ActiveTabPageID

short ActiveTabPageID
attribute

Specifies the ID of the current active tab page.


The documentation for this interface was generated from the following file: