Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-testing > by-pkgid > 2c50825dd66d0497b96a67f7fab2ee84 > files > 2863

openoffice.org64-devel-doc-2.4.1.10-1mdv2008.1.x86_64.rpm

<html>
<head>
<title>Interface XTabBar</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="XTabBar-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#MethodsSummary" class="navisub">Methods' Summary</a></td>
<td class="navisub"><a href="#MethodsDetails" class="navisub">Methods' Details</a></td>
<td class="navisub">Attributes' Summary</td>
<td class="navisub">Attributes' Details</td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../../module-ix.html" class="namechain">::</a> <a href="../../../../module-ix.html" class="namechain">com</a> :: <a href="../../../module-ix.html" class="namechain">sun</a> :: <a href="../../module-ix.html" class="namechain">star</a> :: <a href="../module-ix.html" class="namechain">drawing</a> :: <a href="module-ix.html" class="namechain">framework</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">unpublished </td>
<td width="50%" class="title">interface XTabBar</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td/></tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>UI control for the selection of views in a pane.
 </dd>
<dd><p>Every tab of a tab bar has, besides its localized title and help
 text, the URL of a view. A possible alternative would be to use a
 command URL instead of the view URL.</p>
 <p>In the current Impress implementation a tab bar is only used for the
 center pane to switch between views in the center pane. Tab bars can
 make sense for other panes as well, i.e. for showing either the slide
 sorter or the outline view in the left pane.</p>
 <p>Tab bar buttons are identified by their resource id. Note that
 because the resource anchors are all the same (the tab bar), it is the
 resource URL that really identifies a button. There can not be two
 buttons with the same resource id.</p>
 </p>
 <p>A better place for this interface (in an extended version) would be
 <code>com::sun::star::awt</code></p>
 </dd>
<dt><b>See also</b></dt>
<dd><a href="TabBarButton.html">TabBarButton</a></dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="MethodsSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Methods' Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="#addTabBarButtonAfter">addTabBarButtonAfter</a></td>
<td class="imsum_right">Add a tab bar button to the right of another one.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#appendTabBarButton">appendTabBarButton</a></td>
<td class="imsum_right">Add a tab bar button at the right most position.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#removeTabBarButton">removeTabBarButton</a></td>
<td class="imsum_right">Remove a tab bar button.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#hasTabBarButton">hasTabBarButton</a></td>
<td class="imsum_right">Test whether the specified button exists in the tab bar.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#getTabBarButtons">getTabBarButtons</a></td>
<td class="imsum_right">Return a sequence of all the tab bar buttons.
 &nbsp;</td>
</tr>
</table>
<a name="MethodsDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Methods' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="addTabBarButtonAfter" class="membertitle">addTabBarButtonAfter</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>addTabBarButtonAfter</b>(</td>
<td valign="top">[in] <a href="TabBarButton.html">TabBarButton</a></td>
<td valign="bottom">&nbsp;aButton,</td>
</tr>
<tr>
<td/><td valign="top">[in] <a href="TabBarButton.html">TabBarButton</a></td>
<td valign="bottom">&nbsp;aAnchor );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Add a tab bar button to the right of another one.
 </dd>
<dt><b>Parameter aButton</b></dt>
<dd>The new tab bar button that is to be inserted. If a button with
 the same resource id is already present than that is removed before the
 new button is inserted.
 </dd>
<dt><b>Parameter aAnchor</b></dt>
<dd>The new button is inserted to the right of this button. When
 its ResourceId is empty then the new button is inserted at the left
 most position.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="appendTabBarButton" class="membertitle">appendTabBarButton</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>appendTabBarButton</b>(</td>
<td valign="top">[in] <a href="TabBarButton.html">TabBarButton</a></td>
<td valign="bottom">&nbsp;aButton );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Add a tab bar button at the right most position.
 </dd>
<dt><b>Parameter aButton</b></dt>
<dd>The new tab bar button that is to be inserted.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="removeTabBarButton" class="membertitle">removeTabBarButton</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">void</td>
</tr>
<tr>
<td valign="top"><b>removeTabBarButton</b>(</td>
<td valign="top">[in] <a href="TabBarButton.html">TabBarButton</a></td>
<td valign="bottom">&nbsp;aButton );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Remove a tab bar button.
 </dd>
<dt><b>Parameter aButton</b></dt>
<dd>The tab bar button to remove. When there is no button with the
 specified resource id then this call is silently ignored.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="hasTabBarButton" class="membertitle">hasTabBarButton</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">boolean</td>
</tr>
<tr>
<td valign="top"><b>hasTabBarButton</b>(</td>
<td valign="top">[in] <a href="TabBarButton.html">TabBarButton</a></td>
<td valign="bottom">&nbsp;aButton );</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Test whether the specified button exists in the tab bar.
 </dd>
<dt><b>Parameter aButton</b></dt>
<dd>The tab bar button whose existence is tested.
 </dd>
<dt><b>Returns</b></dt>
<dd>Returns <b>true</b> when the button exists.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="getTabBarButtons" class="membertitle">getTabBarButtons</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-method" bgcolor="#ffffff" align="center">
<tr>
<td><table class="table-in-method" border="0">
<tr>
<td valign="top" colspan="3">sequence&lt; <a href="TabBarButton.html">TabBarButton</a> &gt;</td>
</tr>
<tr>
<td valign="top"><b>getTabBarButtons</b>();</td>
</tr>
</table>
<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Return a sequence of all the tab bar buttons.
 </dd>
<dd><p>Their order reflects the visible order in the tab bar.</p>
 <p>This method can be used when
 <a href="#addTabBarButtonAfter()">addTabBarButtonAfter()</a> does not provide enough
 control as to where to insert a new button.</p>
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2008 Sun Microsystems, Inc.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>