<html> <head> <title>Service CommandButton</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="CommandButton-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="#IncludedServices" class="navisub">Included Services</a></td> <td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td> <td class="navisub"><a href="#PropertiesSummary" class="navisub">Properties' Summary</a></td> <td class="navisub"><a href="#PropertiesDetails" class="navisub">Properties' 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">form</a> :: <a href="module-ix.html" class="namechain">component</a> :: </p> </td> </tr> <tr> <td class="title">service CommandButton</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>specifies the control model for a clickable button which is part of a form component hierarchy. </dd> <dt><b>See also</b></dt> <dd><a href="ImageButton.html">ImageButton</a></dd> </dl> </td> </tr> </table> <hr> <a name="IncludedServices"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Included Services</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/UnoControlButtonModel.html">UnoControlButtonModel</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>specifies the standard model of an ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/UnoControlButton.html">UnoControlButton</a>. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../FormControlModel.html">FormControlModel</a></td> <td class="imsum_right"><dl> <dt>(referenced entity's summary:)</dt> <dd>specifies a control model within a form. </dd> </dl> </td> </tr> </table> <a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../XImageProducerSupplier.html">XImageProducerSupplier</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>supplies the image producer when the button is to display an image. </dd> <dd><p>If the ::com::sun::star::<a href="../../awt/module-ix.html">awt</a>::<a href="../../awt/UnoControlButtonModel.html">UnoControlButtonModel</a>::<a href="../../awt/UnoControlButtonModel.html#ImageURL">ImageURL</a> points to the location of an image to be displayed on the button, this interface can be used to retrieve an image producer, which itself will supply the image.</p> <p>Usually, a control belonging to the model will use this interface to obtain the image to be painted</p> </dd> </dl> </td> </tr> </table> <a name="PropertiesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Properties' Summary</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../FormButtonType.html">FormButtonType</a><br> <a href="#ButtonType">ButtonType</a></td> <td class="imsum_right">describes the action to be executed by the button when pressed. </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#TargetFrame">TargetFrame</a></td> <td class="imsum_right">describes the frame, where to open the document specified by the TargetURL. </td> </tr> <tr> <td class="imsum_left">string<br> <a href="#TargetURL">TargetURL</a></td> <td class="imsum_right">specifies the URL, which should be opened if the button was clicked. </td> </tr> </table> <a name="PropertiesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Properties' Details</td> </tr> <tr> <td class="imdetail"><a name="ButtonType" class="membertitle">ButtonType</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../FormButtonType.html">FormButtonType</a> <b>ButtonType</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>describes the action to be executed by the button when pressed. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="TargetFrame" class="membertitle">TargetFrame</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>TargetFrame</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>describes the frame, where to open the document specified by the TargetURL. </dd> <dd><p>This property is evaluated if the button is of type URL.</p> <p>As always, there is a number of target names which have a special meaning, and force a special ::com::sun::star::<a href="../../frame/module-ix.html">frame</a>::<a href="../../frame/Frame.html">Frame</a> to be used.</p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="TargetURL" class="membertitle">TargetURL</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>TargetURL</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies the URL, which should be opened if the button was clicked. </dd> <dd><p>This property is evaluated if the button is of type URL.</p> </dd> <dt><b>See also</b></dt> <dd>::com::sun::star::<a href="../module-ix.html">form</a>::<a href="../FormButtonType.html">FormButtonType</a></dd> </dl> </td> </tr> </table> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>