Sophie

Sophie

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

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

<html>
<head>
<title>Constants' Group ControlActions</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">constants group ControlActions</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>Control actions for common and extended controls of a FilePicker.

 </dd>
<dt><b>See also</b></dt>
<dd><a href="XFilePickerControlAccess.html">XFilePickerControlAccess</a>, <a href="CommonFilePickerElementIds.html">CommonFilePickerElementIds</a>, <a href="ExtendedFilePickerElementIds.html">ExtendedFilePickerElementIds</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>
<tr>
<td class="imsum_left"><a href="#GET_SELECTED_ITEM_INDEX">GET_SELECTED_ITEM_INDEX</a></td>
<td class="imsum_right">Returns the zero based index of the currently selected item. 
 If the listbox is empty or there is no item selected -1 will be 
 returned. The returned value is a sal_Int32.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#SET_HELP_URL">SET_HELP_URL</a></td>
<td class="imsum_right">Sets the help URL of a control.
 &nbsp;</td>
</tr>
<tr>
<td class="imsum_left"><a href="#GET_HELP_URL">GET_HELP_URL</a></td>
<td class="imsum_right">Retrieves the help URL of a control.
 &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>
<tr>
<td class="imdetail"><a name="GET_SELECTED_ITEM_INDEX" class="membertitle">GET_SELECTED_ITEM_INDEX</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_INDEX</b> = 8;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Returns the zero based index of the currently selected item. 
 If the listbox is empty or there is no item selected -1 will be 
 returned. The returned value is a sal_Int32.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="SET_HELP_URL" class="membertitle">SET_HELP_URL</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>SET_HELP_URL</b> = 100;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Sets the help URL of a control.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="imdetail"><a name="GET_HELP_URL" class="membertitle">GET_HELP_URL</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td>const short <b>GET_HELP_URL</b> = 101;<hr>
<dl>
<dt><b>Description</b></dt>
<dd>Retrieves the help URL of a control.
 </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>