Label.AccessibleAWTLabel (Java 2 Platform SE 5.0) (original) (raw)
java.lang.Object
javax.accessibility.AccessibleContext
java.awt.Component.AccessibleAWTComponent
java.awt.Label.AccessibleAWTLabel
All Implemented Interfaces:
Serializable, AccessibleComponent
Enclosing class:
protected class Label.AccessibleAWTLabel
extends Component.AccessibleAWTComponent
This class implements accessibility support for the Label
class. It provides an implementation of the Java Accessibility API appropriate to label user-interface elements.
See Also:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component.AccessibleAWTComponent |
---|
Component.AccessibleAWTComponent.AccessibleAWTComponentHandler, Component.AccessibleAWTComponent.AccessibleAWTFocusHandler |
Field Summary |
---|
Fields inherited from class java.awt.Component.AccessibleAWTComponent |
---|
accessibleAWTComponentHandler, accessibleAWTFocusHandler |
Constructor Summary |
---|
Label.AccessibleAWTLabel() |
Method Summary | |
---|---|
String | getAccessibleName() Get the accessible name of this object. |
AccessibleRole | getAccessibleRole() Get the role of this object. |
Methods inherited from class javax.accessibility.AccessibleContext |
---|
[firePropertyChange](../../javax/accessibility/AccessibleContext.html#firePropertyChange%28java.lang.String, java.lang.Object, java.lang.Object%29), getAccessibleAction, getAccessibleEditableText, getAccessibleIcon, getAccessibleRelationSet, getAccessibleSelection, getAccessibleTable, getAccessibleText, getAccessibleValue, setAccessibleDescription, setAccessibleName, setAccessibleParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, [wait](../../java/lang/Object.html#wait%28long, int%29) |
Constructor Detail |
---|
Label.AccessibleAWTLabel
public Label.AccessibleAWTLabel()
Method Detail |
---|
getAccessibleName
public String getAccessibleName()
Get the accessible name of this object.
Overrides:
[getAccessibleName](../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleName%28%29)
in class [Component.AccessibleAWTComponent](../../java/awt/Component.AccessibleAWTComponent.html "class in java.awt")
Returns:
the localized name of the object -- can be null if this object does not have a name
See Also:
AccessibleContext.setAccessibleName(java.lang.String)
getAccessibleRole
public AccessibleRole getAccessibleRole()
Get the role of this object.
Overrides:
[getAccessibleRole](../../java/awt/Component.AccessibleAWTComponent.html#getAccessibleRole%28%29)
in class [Component.AccessibleAWTComponent](../../java/awt/Component.AccessibleAWTComponent.html "class in java.awt")
Returns:
an instance of AccessibleRole describing the role of the object
See Also:
Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.