Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

service AccessibleMenuItem
Description
specifies accessibility support for a menu item.
Since
OOo 1.1.2

Exported Interfaces - Summary
::com::sun::star::accessibility::XAccessibleContext

This interface gives access to the structural information of a menu item: (details)

::com::sun::star::accessibility::XAccessibleEventBroadcaster
(referenced entity's summary:)
makes it possible to register listeners which are called whenever an accessibility event (see ::com::sun::star::accessibility::AccessibleEventObject) occurs.
::com::sun::star::accessibility::XAccessibleComponent
(referenced entity's summary:)
The ::com::sun::star::accessibility::XAccessibleComponent interface should be supported by any class that can be rendered on the screen.
::com::sun::star::accessibility::XAccessibleExtendedComponent
(referenced entity's summary:)
The ::com::sun::star::accessibility::XAccessibleExtendedComponent interface contains additional methods to those of the ::com::sun::star::accessibility::XAccessibleComponent interface. These methods provide information that is used not as often. The division into two interfaces allows classes to support the more frequently used methods of the ::com::sun::star::accessibility::XAccessibleComponent interface and only support the ::com::sun::star::accessibility::XAccessibleExtendedComponent interface if that makes sense for the class.
::com::sun::star::accessibility::XAccessibleText

This interface gives read-only access to the text representation of a menu item.

::com::sun::star::accessibility::XAccessibleAction

This interface gives access to the actions that can be executed for a menu item. The supported actions for a menu item are: (details)

::com::sun::star::accessibility::XAccessibleValue

This interface gives access to the numerical value of a menu item, which is related to the menu item's AccessibleStateType::SELECTED state.

Exported Interfaces - Details
::com::sun::star::accessibility::XAccessibleContext
Description
This interface gives access to the structural information of a menu item:
  • Role: The role of a menu item is AccessibleRole::MENU_ITEM.
  • Name: The name of a menu item is the localized item text.
  • Description: The description of a menu item is its localized help text.
  • Children: There are no children.
  • Parent: The parent of a menu item is a menu bar, a popup menu or a menu, whose accessible context supports the services AccessibleMenuBar, AccessiblePopupMenu or AccessibleMenu.
  • Relations: There are no relations.
  • States: The states supported by this service are
    • AccessibleStateType::ARMED is set if the object is highlighted.
    • AccessibleStateType::CHECKED is set if the object is currently checked.
    • AccessibleStateType::DEFUNC is set if the object has already been disposed and subsequent calls to this object result in ::com::sun::star::lang::DisposedException exceptions.
    • AccessibleStateType::ENABLED is set if the object is enabled.
    • AccessibleStateType::OPAQUE is always set.
    • AccessibleStateType::SELECTABLE is always set.
    • AccessibleStateType::SELECTED is set if the object is selected.
    • AccessibleStateType::SHOWING is set if the object is displayed on the screen.
    • AccessibleStateType::VISIBLE is always set.
::com::sun::star::accessibility::XAccessibleEventBroadcaster
(referenced entity's summary:)
makes it possible to register listeners which are called whenever an accessibility event (see ::com::sun::star::accessibility::AccessibleEventObject) occurs.
::com::sun::star::accessibility::XAccessibleComponent
(referenced entity's summary:)
The ::com::sun::star::accessibility::XAccessibleComponent interface should be supported by any class that can be rendered on the screen.
::com::sun::star::accessibility::XAccessibleExtendedComponent
(referenced entity's summary:)
The ::com::sun::star::accessibility::XAccessibleExtendedComponent interface contains additional methods to those of the ::com::sun::star::accessibility::XAccessibleComponent interface. These methods provide information that is used not as often. The division into two interfaces allows classes to support the more frequently used methods of the ::com::sun::star::accessibility::XAccessibleComponent interface and only support the ::com::sun::star::accessibility::XAccessibleExtendedComponent interface if that makes sense for the class.
::com::sun::star::accessibility::XAccessibleText
Description
This interface gives read-only access to the text representation of a menu item.
::com::sun::star::accessibility::XAccessibleAction
Description
This interface gives access to the actions that can be executed for a menu item. The supported actions for a menu item are:
  • select
::com::sun::star::accessibility::XAccessibleValue
Description
This interface gives access to the numerical value of a menu item, which is related to the menu item's AccessibleStateType::SELECTED state.

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.