<html> <head> <title>Struct FeatureStateEvent</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="FeatureStateEvent-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="#Elements" class="navisub">Elements' Summary</a></td> <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' 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">frame</a> :: </p> </td> </tr> <tr> <td class="title">struct FeatureStateEvent</td> </tr> <tr> <td><dl> <dt><b>Base Hierarchy</b></dt> <dd><pre style="font-family:monospace;"><strong>FeatureStateEvent</strong> ┗ ::com::sun::star::<a href="../lang/module-ix.html">lang</a>::<a href="../lang/EventObject.html">EventObject</a> </pre></dd> </dl> </td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>This event is broadcast by a <a href="Controller.html">Controller</a> whenever the state of the feature changes </dd> <dt><b>See also</b></dt> <dd><a href="XController.html">XController</a>, <a href="XStatusListener.html">XStatusListener</a></dd> </dl> </td> </tr> </table> <hr> <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Elements' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#FeatureURL">FeatureURL</a></td> <td class="imsum_right">contains the URL of the feature. </td> </tr> <tr> <td class="imsum_left"><a href="#FeatureDescriptor">FeatureDescriptor</a></td> <td class="imsum_right">contains a descriptor of the feature for the user interface. </td> </tr> <tr> <td class="imsum_left"><a href="#IsEnabled">IsEnabled</a></td> <td class="imsum_right">specifies whether the feature is currently enabled or disabled. </td> </tr> <tr> <td class="imsum_left"><a href="#Requery">Requery</a></td> <td class="imsum_right">specifies whether the <a href="XDispatch.html">XDispatch</a> has to be requeried. </td> </tr> <tr> <td class="imsum_left"><a href="#State">State</a></td> <td class="imsum_right">contains the state of the feature in this dispatch. </td> </tr> </table> <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Elements' Details</td> </tr> <tr> <td class="imdetail"><a name="FeatureURL" class="membertitle">FeatureURL</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="../util/module-ix.html">util</a>::<a href="../util/URL.html">URL</a> <b>FeatureURL</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the URL of the feature. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="FeatureDescriptor" class="membertitle">FeatureDescriptor</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>FeatureDescriptor</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains a descriptor of the feature for the user interface. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="IsEnabled" class="membertitle">IsEnabled</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>IsEnabled</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies whether the feature is currently enabled or disabled. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Requery" class="membertitle">Requery</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Requery</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>specifies whether the <a href="XDispatch.html">XDispatch</a> has to be requeried. </dd> <dd><p> Interest code should listen for <a href="FrameActionEvent.html">FrameActionEvent</a> too, to update own feature states and dispatch listener on <b>FrameAction::CONTEXT_CHANGED</b>. </p> </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="State" class="membertitle">State</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>any <b>State</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>contains the state of the feature in this dispatch. </dd> <dd><p> This can be, for example, simply <b>true</b> for a boolean feature like underline on/off. Some simple types like <code>string</code> or <code>boolean</code> are useful here for generic UI elements, like a checkmark in a menu. </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 © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-idlref" --> </body> </html>