Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: accessibility ::
constants group AccessibleRelationType
Description Collection of relation types. This list of constants defines the availabe types of relations that are usable by AccessibleRelation . We are using constants instead of a more typesafe enum. The reason for this is that IDL enums may not be extended. Therefore, in order to include future extensions to the set of roles we have to use constants here. Since version OpenOffice.org 1.1.1 Developers Guide 17.7.1 Accessibility - Using the Accessibility API - A Simple Screen Reader - Putting the Accessibility Interfaces to Work - XAccessibleRelationSet

Constants
INVALID | Invalid relation type.
CONTENT_FLOWS_FROM | Content-flows-from relation.
CONTENT_FLOWS_TO | Content-flows-to relation.
CONTROLLED_BY | Controlled-by relation type.
CONTROLLER_FOR | Controller-for relation type.
LABEL_FOR | Lable-for relation type.
LABELED_BY | Labeled-by relation type.
MEMBER_OF | Member-of relation type.
SUB_WINDOW_OF | Sub-Window-of relation type.

Constants' Details
INVALID
const short INVALID = 0; Description Invalid relation type. Indicates an invalid relation type. This is used to indicate that a retrieval method could not find a requested relation.
CONTENT_FLOWS_FROM
const short CONTENT_FLOWS_FROM = 1; Description Content-flows-from relation. Indicates a content flow between the related objects.
CONTENT_FLOWS_TO
const short CONTENT_FLOWS_TO = 2; Description Content-flows-to relation. Indicates a content flow between the related objects.
CONTROLLED_BY
const short CONTROLLED_BY = 3; Description Controlled-by relation type. Indicates an object is controlled by one or more target objects.
CONTROLLER_FOR
const short CONTROLLER_FOR = 4; Description Controller-for relation type. Indicates an object is a controller for one or more target objects.
LABEL_FOR
const short LABEL_FOR = 5; Description Lable-for relation type. Indicates an object is a label for one or more target objects.
LABELED_BY
const short LABELED_BY = 6; Description Labeled-by relation type. Indicates an object is labeled by one or more target objects.
MEMBER_OF
const short MEMBER_OF = 7; Description Member-of relation type. Indicates an object is a member of a group of one or more target objects.
SUB_WINDOW_OF
const short SUB_WINDOW_OF = 8; Description Sub-Window-of relation type. With this relation you can realize an alternative parent-child relationship. The target of the relation contains the parent window. Note that there is no relation that points the other way, from the parent window to the child window.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.