java.awt

Class Label.AccessibleAWTLabel

protected class Label.AccessibleAWTLabel extends AccessibleAWTComponent

This class provides accessibility support for the label.
Constructor Summary
AccessibleAWTLabel()
Constructor for the accessible label.
Method Summary
StringgetAccessibleName()
Returns the accessible name for the label.
AccessibleRolegetAccessibleRole()
Returns the accessible role for the label.

Constructor Detail

AccessibleAWTLabel

public AccessibleAWTLabel()
Constructor for the accessible label.

Method Detail

getAccessibleName

public String getAccessibleName()
Returns the accessible name for the label. This is the text used in the label.

Returns: a String containing the accessible name for this label.

getAccessibleRole

public AccessibleRole getAccessibleRole()
Returns the accessible role for the label.

Returns: an instance of AccessibleRole, describing the role of the label.