Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 5fb1c39f9f9130a3cc01e8b1ffa5c0f8 > files > 7775

libreoffice-devel-3.5.4-4.x86_64.rpm

<html>
<head>
<title>Constants' Group ListboxControlActions</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="navimainnone">Use</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="#Constants" class="navisub">Constants</a></td>
<td class="navisub"><a href="#ConstantDetails" class="navisub">Constants' Details</a></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">ui</a> :: <a href="module-ix.html" class="namechain">dialogs</a> :: </p>
</td>
</tr>
<tr>
<td class="title"><table class="title-table" width="99%">
<tr>
<td width="25%" class="title2">deprecated </td>
<td width="50%" class="title">constants group ListboxControlActions</td>
<td width="*"/></tr>
</table>
</td>
</tr>
<tr>
<td><dl>
<dt><b>Usage Restrictions</b></dt>
<dd><i>deprecated</i></dd>
<dt><b>Description</b></dt>
<dd>These constants are deprecated and should not be used anymore. They're superseded
 by <a href="ControlActions.html">ControlActions</a>.
 </dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="Constants"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Constants</td>
</tr>
<tr>
<td class="imsum_left"><a href="#ADD_ITEM">ADD_ITEM</a></td>
<td class="imsum_right">Adds an item to the content of the listbox. The given item has to
 be a string.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#ADD_ITEMS">ADD_ITEMS</a></td>
<td class="imsum_right">Adds a sequence of strings to the content of the listbox.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#DELETE_ITEM">DELETE_ITEM</a></td>
<td class="imsum_right">Removes an item from a listbox. The given value has to be a
 position. If the position is invalid an exception will be thrown.
 The index of the first position is 0.
 The value should be a sal_Int32.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#DELETE_ITEMS">DELETE_ITEMS</a></td>
<td class="imsum_right">Removes all items from the listbox.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#SET_SELECT_ITEM">SET_SELECT_ITEM</a></td>
<td class="imsum_right">Selects an item in a listbox. The given value has to be a position.
 The index of the first position is 0. A value of -1 removes the
 selection.
 If the given position is invalid an exception will be thrown.
 The value should be a sal_Int32.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#GET_ITEMS">GET_ITEMS</a></td>
<td class="imsum_right">Returns all items of the listbox as a sequence of strings.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#GET_SELECTED_ITEM">GET_SELECTED_ITEM</a></td>
<td class="imsum_right">Returns the currently selected item. The returned item is an empty
 string if the listbox is empty or no item is selected.
 &nbsp;</td>
</tr>
</table>
<a name="ConstantDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle">Constants' Details</td>
</tr>
<tr>
<td class="imdetail"><a name="ADD_ITEM" class="membertitle">ADD_ITEM</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>ADD_ITEM</b> = 1;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Adds an item to the content of the listbox. The given item has to
 be a string.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="ADD_ITEMS" class="membertitle">ADD_ITEMS</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>ADD_ITEMS</b> = 2;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Adds a sequence of strings to the content of the listbox.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="DELETE_ITEM" class="membertitle">DELETE_ITEM</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>DELETE_ITEM</b> = 3;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Removes an item from a listbox. The given value has to be a
 position. If the position is invalid an exception will be thrown.
 The index of the first position is 0.
 The value should be a sal_Int32.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="DELETE_ITEMS" class="membertitle">DELETE_ITEMS</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>DELETE_ITEMS</b> = 4;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Removes all items from the listbox.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="SET_SELECT_ITEM" class="membertitle">SET_SELECT_ITEM</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>SET_SELECT_ITEM</b> = 5;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Selects an item in a listbox. The given value has to be a position.
 The index of the first position is 0. A value of -1 removes the
 selection.
 If the given position is invalid an exception will be thrown.
 The value should be a sal_Int32.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="GET_ITEMS" class="membertitle">GET_ITEMS</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>GET_ITEMS</b> = 6;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Returns all items of the listbox as a sequence of strings.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="GET_SELECTED_ITEM" class="membertitle">GET_SELECTED_ITEM</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>GET_SELECTED_ITEM</b> = 7;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Returns the currently selected item. The returned item is an empty
 string if the listbox is empty or no item is selected.
 </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; 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.</p><p class="copyright" align="center">LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.</p><p class="copyright" align="center">The Document Foundation acknowledges all community members, please find more info <a href="http://www.libreoffice.org/about-us/credits/" target="_blank">at our website</a>.<p>&nbsp;</p><p class="copyright" align="center"><a href="http://www.libreoffice.org/privacy" target="_blank">Privacy Policy</a> | <a href="http://www.libreoffice.org/imprint" target="_blank">Impressum (Legal Info)</a> | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (<a href="http://www.libreoffice.org/download/license/" target="_blank">LGPLv3</a>). "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 <a href="http://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>.</p>

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

</html>