Module java.desktop

Class AccessibilityProvider


  • public abstract class AccessibilityProvider
    extends Object
    Service Provider Interface (SPI) for Assistive Technology.

    This service provider class provides mappings from the platform specific accessibility APIs to the Java Accessibility API.

    Each service provider implementation is named and can be activated via the activate() method. Service providers can be loaded when the default toolkit is initialized.

    Since:
    9
    See Also:
    Toolkit.getDefaultToolkit(), ServiceLoader
    • Constructor Detail

      • AccessibilityProvider

        protected AccessibilityProvider()
        Initializes a new accessibility provider.
        Throws:
        SecurityException - If a security manager has been installed and it denies RuntimePermission "accessibilityProvider"
    • Method Detail

      • getName

        public abstract String getName()
        Returns the name of this service provider. This name is used to locate a requested service provider.
        Returns:
        the name of this service provider
      • activate

        public abstract void activate()
        Activates the support provided by this service provider.