LibreOffice: com/sun/star/accessibility/XAccessibleComponent.idl Source File

LibreOffice LibreOffice 24.2 SDK API Reference |

Loading...
Searching...
No Matches
XAccessibleComponent.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20module com { module sun { module star { module accessibility {
21
22 interface XAccessible;
23
67 interface XAccessibleComponent : ::com::sun::star::uno::XInterface
68{
87 boolean containsPoint ([in] ::com::sun::star::awt::Point Point);
88
111 XAccessible getAccessibleAtPoint ([in] ::com::sun::star::awt::Point Point);
112
129 ::com::sun::star::awt::Rectangle getBounds ();
130
143 ::com::sun::star::awt::Point getLocation ();
144
159 ::com::sun::star::awt::Point getLocationOnScreen ();
160
167 ::com::sun::star::awt::Size getSize();
168
178 void grabFocus ();
179
186 ::com::sun::star::util::Color getForeground ();
187
194 ::com::sun::star::util::Color getBackground ();
195
196};
197
198}; }; }; };
199
200/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::accessibility::XAccessibleComponent
The XAccessibleComponent interface should be supported by any class that can be rendered on the scree...
Definition XAccessibleComponent.idl:68
com::sun::star::accessibility::XAccessibleComponent::getAccessibleAtPoint
XAccessible getAccessibleAtPoint([in] ::com::sun::star::awt::Point Point)
Returns the Accessible child that is rendered under the given point.
com::sun::star::accessibility::XAccessibleComponent::getLocation
::com::sun::star::awt::Point getLocation()
Returns the location of the upper left corner of the object's bounding box relative to the parent.
com::sun::star::accessibility::XAccessibleComponent::grabFocus
void grabFocus()
Grabs the focus to this object.
com::sun::star::accessibility::XAccessibleComponent::getBounds
::com::sun::star::awt::Rectangle getBounds()
Returns the bounding box of this object.
com::sun::star::accessibility::XAccessibleComponent::getForeground
::com::sun::star::util::Color getForeground()
Returns the foreground color of this object.
com::sun::star::accessibility::XAccessibleComponent::containsPoint
boolean containsPoint([in] ::com::sun::star::awt::Point Point)
Tests whether the specified point lies within this object's bounds.
com::sun::star::accessibility::XAccessibleComponent::getBackground
::com::sun::star::util::Color getBackground()
Returns the background color of this object.
com::sun::star::accessibility::XAccessibleComponent::getLocationOnScreen
::com::sun::star::awt::Point getLocationOnScreen()
Returns the location of the upper left corner of the object's bounding box in screen coordinates.
com::sun::star::accessibility::XAccessibleComponent::getSize
::com::sun::star::awt::Size getSize()
Returns the size of this object's bounding box.
com::sun::star::accessibility::XAccessible
This interface has to be implemented by any class that wants to be accessible.
Definition XAccessible.idl:50
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
com::sun::star::util::Color
long Color
describes an RGB color value with an optional alpha channel.
Definition Color.idl:34
com
Definition Ambiguous.idl:20
com::sun::star::awt::Point
specifies a 2-dimensional point using the Cartesian coordinate system.
Definition Point.idl:28
com::sun::star::awt::Rectangle
specifies a rectangular area by position and size.
Definition Rectangle.idl:28
com::sun::star::awt::Size
specifies the 2-dimensional size of an area using width and height.
Definition Size.idl:28