/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef __com_sun_star_awt_AccessiblePopupMenu_idl__ #define __com_sun_star_awt_AccessiblePopupMenu_idl__ #ifndef __com_sun_star_accessibility_XAccessibleContext_idl__ #include #endif #ifndef __com_sun_star_accessibility_XAccessibleEventBroadcaster_idl__ #include #endif #ifndef __com_sun_star_accessibility_XAccessibleComponent_idl__ #include #endif #ifndef __com_sun_star_accessibility_XAccessibleExtendedComponent_idl__ #include #endif #ifndef __com_sun_star_accessibility_XAccessibleSelection_idl__ #include #endif module com { module sun { module star { module awt { /** specifies accessibility support for a popup menu. @since OOo 1.1.2 */ published service AccessiblePopupMenu { /** This interface gives access to the structural information of a popup menu:
  • Role: The role of a popup menu is AccessibleRole::POPUP_MENU.
  • Name: There is no name.
  • Description: The description of a popup menu is its localized help text.
  • Children: The children of a popup menu are menus, menu items or menu separators, whose accessible context supports the services AccessibleMenu, AccessibleMenuItem or AccessibleMenuSeparator.
  • Parent: The parent is the window that contains the popup menu.
  • Relations: There are no relations.
  • States: The states supported by this service are
    • AccessibleStateType::DEFUNC is set if the object has already been disposed and subsequent calls to this object result in DisposedException exceptions.
    • AccessibleStateType::ENABLED is set if the object is enabled.
    • AccessibleStateType::FOCUSABLE is always set.
    • AccessibleStateType::FOCUSED is set if the object currently has the keyboard focus.
    • AccessibleStateType::OPAQUE is always set.
    • AccessibleStateType::SHOWING is set if the object is displayed on the screen.
    • AccessibleStateType::VISIBLE is always set.
*/ interface ::com::sun::star::accessibility::XAccessibleContext; interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster; interface ::com::sun::star::accessibility::XAccessibleComponent; interface ::com::sun::star::accessibility::XAccessibleExtendedComponent; /** This interface gives access to the selectable children of a popup menu. */ interface ::com::sun::star::accessibility::XAccessibleSelection; }; }; }; }; }; #endif