Example usage for javax.accessibility AccessibleContext getAccessibleDescription

List of usage examples for javax.accessibility AccessibleContext getAccessibleDescription

Introduction

In this page you can find the example usage for javax.accessibility AccessibleContext getAccessibleDescription.

Prototype

public String getAccessibleDescription() 

Source Link

Document

Gets the accessibleDescription property of this object.

Usage

From source file:MainClass.java

void dumpInfo(AccessibleContext ac) {
    System.out.println("Name = " + ac.getAccessibleName());
    System.out.println("Description = " + ac.getAccessibleDescription());

    int nChildren = ac.getAccessibleChildrenCount();

    for (int i = 0; i < nChildren; i++)
        dumpInfo(ac.getAccessibleChild(i).getAccessibleContext());
}