Package org.eclipse.swt.accessibility

Examples of org.eclipse.swt.accessibility.AccessibleListener


     * associates it with its {@link org.eclipse.swt.accessibility.Accessible}
     * object. This allows the name for the control to be generated correctly.
     * @param control
     */
    private void initAccessibility(Control control) {
        AccessibleListener al = new AccessibleAdapter() {
            public void getName(AccessibleEvent ae) {
                String name = policyName !=null ? policyName :
                        policyElement.getAttributeValue(
                        DeviceRepositorySchemaConstants.POLICY_NAME_ATTRIBUTE);
                name = deviceRAM.getLocalizedPolicyName(name);
View Full Code Here


     * ControlDetails} argument.
     * @param cont The control for which the listener should be set
     * @param det The details for the control
     */
    private void addAccessibleListener(Control cont, ControlDetails det) {
        AccessibleListener listener =
                new AttributesControlAccessibleListener(det);
        cont.getAccessible().addAccessibleListener(listener);
    }
View Full Code Here

                policyElement.getAttributeValue(
                DeviceRepositorySchemaConstants.POLICY_NAME_ATTRIBUTE);
        name = deviceRAM.getLocalizedPolicyName(name);
        control.setAccessibleName(name);

        AccessibleListener al = new AccessibleAdapter() {
            public void getName(AccessibleEvent ae) {
                String name = policyName !=null ? policyName :
                        policyElement.getAttributeValue(
                        DeviceRepositorySchemaConstants.POLICY_NAME_ATTRIBUTE);
                name = deviceRAM.getLocalizedPolicyName(name);
View Full Code Here

     * associates it with its {@link org.eclipse.swt.accessibility.Accessible}
     * object. This allows the name for the control to be generated correctly.
     * @param control
     */
    private void initAccessibility(Control control) {
        AccessibleListener al = new AccessibleAdapter() {
            public void getName(AccessibleEvent ae) {
                String name = policyName != null ? policyName :
                        policyElement.getAttributeValue(
                                DeviceRepositorySchemaConstants.POLICY_NAME_ATTRIBUTE);
                name = deviceRAM.getLocalizedPolicyName(name);
View Full Code Here

TOP

Related Classes of org.eclipse.swt.accessibility.AccessibleListener

Copyright © 2018 www.massapicom. 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.