Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
org.gnu.atk.AtkObject
public class AtkObject
extends GObject
Constructor Summary | |
|
Method Summary | |
boolean |
|
static AtkObject |
|
AtkObject |
|
String |
|
int |
|
Layer |
|
String |
|
int |
|
String |
|
int |
|
AtkObject |
|
Role |
|
Role |
|
String |
|
boolean |
|
void |
|
void |
|
void | |
void |
public AtkObject(Handle handle)
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.
Construct a new AtkObject using the handle returned by a call to the native layer.
- Parameters:
handle
- The handle to the native resource.
public boolean addRelationship(RelationType type, AtkObject target)
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.
Adds a relationship of the specified type with the specified target.
- Parameters:
type
-target
-
public static AtkObject getAtkObjectFromHandle(Handle hndl)
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.
Static factory method that should only be used interally by Java-Gnome.
public AtkObject getChild(int index)
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.
Returns the specified child of the object. The index is 0 based.
- Parameters:
index
- The position of the child starting at 0.
- Returns:
- An AtkObject that is the child at the specified position.
public String getDescription()
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.
Gets the accessible description of the accessible.
- Returns:
- A string representing the accessible description of the accessible.
public int getIndexInParent()
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.
Get the index of the accessible in its parent. Returns -1 if the accessible does not have an accessible parent.
public Layer getLayer()
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.
Get the Layer of the accessible.
public String getLocalizedRoleName(Role role)
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.
Get the localized description describing the Role
- Parameters:
role
-
public int getMDIZorder()
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.
Get the zorder of the accessible.
public String getName()
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.
Gets the accessible name of the accessible.
- Returns:
- A string representing the accessible name of the accessible.
public int getNumChildren()
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.
Returns the number of accessible children of the accessible.
- Returns:
- the number of accessible children.
public AtkObject getParent()
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.
Get the accessible parent of the accessible.
- Returns:
- An AtkObject representing the accessible parent of the accessible.
public Role getRole()
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.
Gets the role of the accessible.
- Returns:
- A Role which is the role of the accessible.
public Role getRoleForName(String name)
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.
Get the role corresponding to the name.
- Parameters:
name
-
public String getRoleName(Role role)
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.
Get the description describing the Role.
- Parameters:
role
-
public boolean removeRelationship(RelationType type, AtkObject target)
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.
Removes a relationship of the specified type with the specified target.
- Parameters:
type
-target
-
public void setDescription(String description)
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.
Sets the accessible description of the accessible.
- Parameters:
description
- The accessible description.
public void setName(String name)
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.
Sets the accessible name of the accessible.
- Parameters:
name
- The accessible name.
public void setParent(AtkObject parent)
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.
Sets the accessible parent of the accessible.
- Parameters:
parent
- The accessible parent.
public void setRole(Role role)
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.
Sets the role of the accessible.
- Parameters:
role
- The role to be set.