Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: frame ::
struct FeatureStateEvent
  Base Hierarchy
      FeatureStateEvent
       ┗ ::com::sun::star::lang::EventObject
Description This event is broadcast by a Controller whenever the state of the feature changes See also XController, XStatusListener

Elements' Summary
FeatureURL | contains the URL of the feature.
FeatureDescriptor | contains a descriptor of the feature for the user interface.
IsEnabled | specifies whether the feature is currently enabled or disabled.
Requery | specifies whether the XDispatch has to be requeried.
State | contains the state of the feature in this dispatch.

Elements' Details
FeatureURL
::com::sun::star::util::URL FeatureURL; Description contains the URL of the feature.
FeatureDescriptor
string FeatureDescriptor; Description contains a descriptor of the feature for the user interface.
IsEnabled
boolean IsEnabled; Description specifies whether the feature is currently enabled or disabled.
Requery
boolean Requery; Description specifies whether the XDispatch has to be requeried. Interest code should listen for FrameActionEvent too, to update own feature states and dispatch listener on FrameAction::CONTEXT_CHANGED.
State
any State; Description contains the state of the feature in this dispatch. This can be, for example, simply true for a boolean feature like underline on/off. Some simple types like `string` or `boolean` are useful here for generic UI elements, like a checkmark in a menu.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "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 trademark policy.