LibreOffice
LibreOffice 6.2 SDK API Reference
Public Attributes | List of all members
ActionEvent Struct Referencepublished

a semantic event which indicates that a component-defined action occurred. More...

import"ActionEvent.idl";

Inheritance diagram for ActionEvent:
EventObject

Public Attributes

string ActionCommand
 contains the command string associated with this action. More...
 
- Public Attributes inherited from EventObject
com::sun::star::uno::XInterface Source
 refers to the object that fired the event. More...
 

Detailed Description

a semantic event which indicates that a component-defined action occurred.

This high-level event is generated by a component (such as a Button) when the component-specific action occurs (such as being pressed). The event is passed to every XActionListener object that registered to receive such events using the component's addActionListener method.

The object that implements the XActionListener interface gets this ActionEvent when the event occurs. The listener is therefore spared the details of processing individual mouse movements and mouse clicks, and can instead process a "meaningful" (semantic) event like "button pressed".

Member Data Documentation

string ActionCommand

contains the command string associated with this action.


The documentation for this struct was generated from the following file: