Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: 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
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
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

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.