LibreOffice
LibreOffice 24.2 SDK API Reference
XTabPageContainer.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 module com { module sun { module star { module awt { module tab {
21 
22 
29 published interface XTabPageContainer
30 {
35  short getTabPageCount();
36 
37 
44  boolean isTabPageActive([in] short tabPageIndex);
45 
46 
53  XTabPage getTabPage([in] short tabPageIndex);
54 
55 
62  XTabPage getTabPageByID([in] short tabPageID);
63 
64 
71 
72 
78 
81  [attribute] short ActiveTabPageID;
82 };
83 
84 
85 }; }; }; }; };
86 
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
An instance of this interface is used by the XTabPageContainer to get notifications about changes in ...
Definition: XTabPageContainerListener.idl:30
An interface to a control that displays tab pages.
Definition: XTabPageContainer.idl:30
short getTabPageCount()
Returns the number of tab pages.
XTabPage getTabPageByID([in] short tabPageID)
Returns tab page for the given ID.
XTabPage getTabPage([in] short tabPageIndex)
Returns tab page for the given index.
void addTabPageContainerListener([in] XTabPageContainerListener listener)
Adds a listener for the TabPageActivedEvent posted after the tab page was activated.
void removeTabPageContainerListener([in] XTabPageContainerListener listener)
Removes a listener previously added with addTabPageListener().
boolean isTabPageActive([in] short tabPageIndex)
Checks whether a tab page is activated.
short ActiveTabPageID
Specifies the ID of the current active tab page.
Definition: XTabPageContainer.idl:81
An interface to a control that displays a tab page.
Definition: XTabPage.idl:30
Definition: Ambiguous.idl:20