|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.atk.AtkObject
public class AtkObject
This class is the primary class for accessibility support via the Accessibility TookKit (ATK). Objects which are instances of AtkObject are queried for properties which relate basic properties of a UI component such as name and description.
Constructor Summary | |
---|---|
AtkObject(org.gnu.glib.Handle handle)
Construct a new AtkObject using the handle returned by a call to the native layer. |
Method Summary | |
---|---|
boolean |
addRelationship(RelationType type,
AtkObject target)
Adds a relationship of the specified type with the specified target. |
static AtkObject |
getAtkObjectFromHandle(org.gnu.glib.Handle hndl)
Static factory method that should only be used interally by Java-Gnome. |
AtkObject |
getChild(int index)
Returns the specified child of the object. |
java.lang.String |
getDescription()
Gets the accessible description of the accessible. |
int |
getIndexInParent()
Get the index of the accessible in its parent. |
Layer |
getLayer()
Get the Layer of the accessible. |
java.lang.String |
getLocalizedRoleName(Role role)
Get the localized description describing the Role |
int |
getMDIZorder()
Get the zorder of the accessible. |
java.lang.String |
getName()
Gets the accessible name of the accessible. |
int |
getNumChildren()
Returns the number of accessible children of the accessible. |
AtkObject |
getParent()
Get the accessible parent of the accessible. |
Role |
getRole()
Gets the role of the accessible. |
Role |
getRoleForName(java.lang.String name)
Get the role corresponding to the name. |
java.lang.String |
getRoleName(Role role)
Get the description describing the Role. |
boolean |
removeRelationship(RelationType type,
AtkObject target)
Removes a relationship of the specified type with the specified target. |
void |
setDescription(java.lang.String description)
Sets the accessible description of the accessible. |
void |
setName(java.lang.String name)
Sets the accessible name of the accessible. |
void |
setParent(AtkObject parent)
Sets the accessible parent of the accessible. |
void |
setRole(Role role)
Sets the role of the accessible. |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AtkObject(org.gnu.glib.Handle handle)
handle
- The handle to the native resource.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The accessible name.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The accessible description.public AtkObject getParent()
public void setParent(AtkObject parent)
parent
- The accessible parent.public int getNumChildren()
public AtkObject getChild(int index)
index
- The position of the child starting at 0.
public Role getRole()
public void setRole(Role role)
role
- The role to be set.public Layer getLayer()
public int getMDIZorder()
public int getIndexInParent()
public java.lang.String getRoleName(Role role)
role
- public Role getRoleForName(java.lang.String name)
name
- public boolean addRelationship(RelationType type, AtkObject target)
type
- target
- public boolean removeRelationship(RelationType type, AtkObject target)
type
- target
- public java.lang.String getLocalizedRoleName(Role role)
role
- public static AtkObject getAtkObjectFromHandle(org.gnu.glib.Handle hndl)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |