Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/share/classes/javax/accessibility/AccessibleExtendedComponent.java
38829 views
/*1* Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425package javax.accessibility;2627/**28* The AccessibleExtendedComponent interface should be supported by any object29* that is rendered on the screen. This interface provides the standard30* mechanism for an assistive technology to determine the extended31* graphical representation of an object. Applications can determine32* if an object supports the AccessibleExtendedComponent interface by first33* obtaining its AccessibleContext34* and then calling the35* {@link AccessibleContext#getAccessibleComponent} method.36* If the return value is not null and the type of the return value is37* AccessibleExtendedComponent, the object supports this interface.38*39* @see Accessible40* @see Accessible#getAccessibleContext41* @see AccessibleContext42* @see AccessibleContext#getAccessibleComponent43*44* @author Lynn Monsanto45* @since 1.446*/47public interface AccessibleExtendedComponent extends AccessibleComponent {4849/**50* Returns the tool tip text51*52* @return the tool tip text, if supported, of the object;53* otherwise, null54*/55public String getToolTipText();5657/**58* Returns the titled border text59*60* @return the titled border text, if supported, of the object;61* otherwise, null62*/63public String getTitledBorderText();6465/**66* Returns key bindings associated with this object67*68* @return the key bindings, if supported, of the object;69* otherwise, null70* @see AccessibleKeyBinding71*/72public AccessibleKeyBinding getAccessibleKeyBinding();73}747576