protected class

Label.AccessibleAWTLabel

extends Component.AccessibleAWTComponent
java.lang.Object
   ↳ javax.accessibility.AccessibleContext
     ↳ java.awt.Component.AccessibleAWTComponent
       ↳ java.awt.Label.AccessibleAWTLabel

Class Overview

This class implements accessibility support for the Label class. It provides an implementation of the Java Accessibility API appropriate to label user-interface elements.

Summary

[Expand]
Inherited Constants
From class javax.accessibility.AccessibleContext
[Expand]
Inherited Fields
From class java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
Public Constructors
Label.AccessibleAWTLabel()
Public Methods
String getAccessibleName()
Get the accessible name of this object.
AccessibleRole getAccessibleRole()
Get the role of this object.
[Expand]
Inherited Methods
From class java.awt.Component.AccessibleAWTComponent
From class javax.accessibility.AccessibleContext
From class java.lang.Object
From interface javax.accessibility.AccessibleComponent

Public Constructors

public Label.AccessibleAWTLabel ()

Public Methods

public String getAccessibleName ()

Get the accessible name of this object.

Returns
  • the localized name of the object -- can be null if this object does not have a name

public AccessibleRole getAccessibleRole ()

Get the role of this object.

Returns
  • an instance of AccessibleRole describing the role of the object
See Also