org.gnu.atk

Class Relation


public class Relation
extends GObject

Constructor Summary

Relation(Handle handle)
Relation(AtkObject[] targets, RelationType relationship)

Method Summary

void
addTarget(AtkObject target)
RelationType
getRelationType()
static RelationType
getRelationTypeForName(String name)
static String
getRelationTypeName(RelationType type)
AtkObject[]
getTargets()
static RelationType
registerType(String name)

Methods inherited from class org.gnu.glib.GObject

addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify

Constructor Details

Relation

public Relation(Handle handle)

Relation

public Relation(AtkObject[] targets,
                RelationType relationship)

Method Details

addTarget

public void addTarget(AtkObject target)

getRelationType

public RelationType getRelationType()

getRelationTypeForName

public static RelationType getRelationTypeForName(String name)

getRelationTypeName

public static String getRelationTypeName(RelationType type)

getTargets

public AtkObject[] getTargets()

registerType

public static RelationType registerType(String name)