Examples of doAccessibleAction()


Examples of javax.accessibility.AccessibleAction.doAccessibleAction()

  @RunsInCurrentThread
  static void performDefaultAccessibleAction(final Component c) {
    AccessibleAction action = c.getAccessibleContext().getAccessibleAction();
    if (action == null || action.getAccessibleActionCount() == 0)
      throw actionFailure(concat("Unable to perform accessible action for ", format(c)));
    action.doAccessibleAction(DEFAULT_ACTION_INDEX);
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.