Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Ruler Role

An accessibility object of the ruler role includes the following attributes as shown in Table B-28:

Table B-28  Attributes associated with the ruler role

Attribute

Required

Type

Description

Parent

Yes

UIElement

Accessibility object representing the ruler’s parent

Position

Yes

Point value

Structure containing screen-position coordinates

Size

Yes

Size value

Structure containing width and height values

Window

Yes

UIElement

Accessibility object representing the ruler’s containing window

Top-Level UIElement

Yes

UIElement

Accessibility object representing the ruler’s containing window, sheet, or drawer

Children

Yes

UIElement array

Accessibility objects representing the ruler’s ruler markers and other children

Help

No

String

Help-tag text for the ruler

Focused

Yes

Boolean

true if the ruler is focused; false otherwise

Marker UIElements

Yes

UIElement array

Accessibility objects representing the ruler’s ruler markers

Units

Yes

String

Ruler unit type (such as inches); see framework-specific reference documentation for string constant definitions

Unit description

Yes

String

Human-intelligible description of the ruler’s unit type

Orientation

Yes

String

Horizontal or vertical orientation of the ruler; see framework-specific reference documentation for string constant definitions

An accessibility object of the ruler role supports the following optional action:



< Previous PageNext Page > Hide TOC


Last updated: 2008-03-11




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice