:: com :: sun :: star :: frame ::

struct FeatureStateEvent
Base Hierarchy
::com::sun::star::lang::EventObject
 |
 +-FeatureStateEvent
Description
This event is broadcast by a ::com::sun::star::frame::Controller whenever the state of the feature changes
See also
::com::sun::star::frame::XController
See also
::com::sun::star::frame::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 ::com::sun::star::frame::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 ::com::sun::star::frame::XDispatch has to be requeried.

Interest code should listen for ::com::sun::star::frame::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