/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * 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__ #include #include #include #include #include module com { module sun { module star { module awt { /** specifies accessibility support for a pop-up menu. @since OOo 1.1.2 */ published service AccessiblePopupMenu { /** This interface gives access to the structural information of a pop-up menu:
  • Role: The role of a pop-up menu is AccessibleRole::POPUP_MENU.
  • Name: There is no name.
  • Description: The description of a pop-up menu is its localized help text.
  • Children: The children of a pop-up 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 pop-up 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 pop-up menu. */ interface ::com::sun::star::accessibility::XAccessibleSelection; }; }; }; }; }; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */