org.gnu.atk

Class RelationSet


public class RelationSet
extends GObject

Constructor Summary

RelationSet()
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Method Summary

void
add(Relation relation)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
void
add(RelationType type, AtkObject target)
boolean
contains(RelationType relationship)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
int
getNumRelations()
Relation
getRelation(int index)
Relation
getRelationByType(RelationType type)
void
remove(Relation relation)
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Constructor Details

RelationSet

public RelationSet()

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Create a new empty RelationSet

Method Details

add

public void add(Relation relation)

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Add a new relation to the current relation set if it is not already present.

add

public void add(RelationType type,
                AtkObject target)

contains

public boolean contains(RelationType relationship)

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Determines whether the relation set contains a relation that matches the specified type.

getNumRelations

public int getNumRelations()

getRelation

public Relation getRelation(int index)

getRelationByType

public Relation getRelationByType(RelationType type)

remove

public void remove(Relation relation)

Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Remove a relation from the relation set.