org.gnu.atk
public class AtkObject extends GObject
| Constructor Summary | |
|---|---|
| AtkObject(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(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. |
| 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. |
| String | getLocalizedRoleName(Role role)
Get the localized description describing the Role
|
| int | getMDIZorder()
Get the zorder of the accessible. |
| 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(String name)
Get the role corresponding to the name.
|
| 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(String description)
Sets the accessible description of the accessible.
|
| void | setName(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.
|
Parameters: handle The handle to the native resource.
Parameters: type target
Parameters: index The position of the child starting at 0.
Returns: An AtkObject that is the child at the specified position.
Returns: A string representing the accessible description of the accessible.
Parameters: role
Returns: A string representing the accessible name of the accessible.
Returns: the number of accessible children.
Returns: An AtkObject representing the accessible parent of the accessible.
Returns: A Role which is the role of the accessible.
Parameters: name
Parameters: role
Parameters: type target
Parameters: description The accessible description.
Parameters: name The accessible name.
Parameters: parent The accessible parent.
Parameters: role The role to be set.