Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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
OOo 1.1.2
Developers Guide
Accessibility - 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.  
NODE_CHILD_OF Node-Child-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.

NODE_CHILD_OF
const short NODE_CHILD_OF = 9;
Description
Node-Child-of relation type.

Indicates an object is a cell in a tree or treetable which is displayed because a cell in the same column is expanded and identifies that cell.

Since
OOo 3.0
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.