org.gnu.atk

Class RelationSet

public class RelationSet extends GObject

Constructor Summary
RelationSet()
Create a new empty RelationSet
Method Summary
voidadd(Relation relation)
Add a new relation to the current relation set if it is not already present.
voidadd(RelationType type, AtkObject target)
booleancontains(RelationType relationship)
Determines whether the relation set contains a relation that matches the specified type.
intgetNumRelations()
RelationgetRelation(int index)
RelationgetRelationByType(RelationType type)
voidremove(Relation relation)
Remove a relation from the relation set.

Constructor Detail

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 Detail

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.