Example usage for javax.accessibility AccessibleContext AccessibleContext

List of usage examples for javax.accessibility AccessibleContext AccessibleContext

Introduction

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

Prototype

AccessibleContext

Source Link

Usage

From source file:Main.java

public AccessibleContext getAccessibleContext() {
    return new AccessibleContext() {

        @Override// w w w . j  ava 2  s.  c o  m
        public AccessibleRole getAccessibleRole() {
            return null;
        }

        @Override
        public AccessibleStateSet getAccessibleStateSet() {
            return null;
        }

        @Override
        public int getAccessibleIndexInParent() {
            return 0;
        }

        @Override
        public int getAccessibleChildrenCount() {
            return 0;
        }

        @Override
        public Accessible getAccessibleChild(int i) {
            return null;
        }

        @Override
        public Locale getLocale() throws IllegalComponentStateException {
            return null;
        }
    };
}