Class AccessibleObject
java.lang.Object
org.eclipse.swt.accessibility.AccessibleObject
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) Accessible(package private) static final Map<LONG, AccessibleObject> (package private) static long(package private) long(package private) AccessibleObject[](package private) static final boolean(package private) static long(package private) int(package private) int(package private) boolean(package private) static long(package private) static long(package private) AccessibleObject -
Constructor Summary
ConstructorsConstructorDescriptionAccessibleObject(long type, long widget, Accessible accessible, boolean isLightweight) -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddRelation(int type, Accessible target) (package private) static longatkAction_do_action(long atkObject, long index) Performs the specified action on atkObject.(package private) static longatkAction_get_description(long atkObject, long index) Returns a description of the specified action of the atkObject.(package private) static longatkAction_get_keybinding(long atkObject, long index) Returns the keybinding which can be used to activate this atkObject, if one exists.(package private) static longatkAction_get_n_actions(long atkObject) Returns the number of accessible actions available on atkObject.(package private) static longatkAction_get_name(long atkObject, long index) Returns the name of the specified action of the atkObject.(package private) static longatkComponent_get_extents(long atkObject, long x, long y, long width, long height, long coord_type) Gets the rectangle which gives the extent of the component.(package private) static longatkComponent_ref_accessible_at_point(long atkObject, long x, long y, long coord_type) Gets a reference to the accessible child, if one exists, at the coordinate point specified by x and y.(package private) static longatkEditableText_copy_text(long atkObject, long start_pos, long end_pos) Copies text from start_pos up to (but not including) end_pos into the clipboard.(package private) static longatkEditableText_cut_text(long atkObject, long start_pos, long end_pos) Cuts text from start_pos up to (but not including) end_pos into the clipboard.(package private) static longatkEditableText_delete_text(long atkObject, long start_pos, long end_pos) Delete text start_pos up to (but not including) end_pos.(package private) static longatkEditableText_insert_text(long atkObject, long string, long string_length, long position) Inserts text at a given position.(package private) static longatkEditableText_paste_text(long atkObject, long position) Paste text from clipboard to specified position.(package private) static longatkEditableText_set_run_attributes(long atkObject, long attrib_set, long start_offset, long end_offset) Sets the attributes for a specified range.(package private) static longatkEditableText_set_text_contents(long atkObject, long string) Sets text contents of the atkObject.(package private) static longatkHypertext_get_link(long atkObject, long link_index) Gets the link in this hypertext document at index link_index.(package private) static longatkHypertext_get_link_index(long atkObject, long char_index) Gets the index into the array of hyperlinks that is associated with the character specified by char_index.(package private) static longatkHypertext_get_n_links(long atkObject) Gets the number of links in this hypertext document.(package private) static longatkObject_get_attributes(long atkObject) Get a list of properties applied to this object as a whole, as an AtkAttributeSet consisting of name-value pairs.(package private) static longatkObject_get_description(long atkObject) Gets the accessible description of the widget associated with atkObject.(package private) static longatkObject_get_index_in_parent(long atkObject) Gets the 0-based index of the widget (associated with atkObject) in its parent.(package private) static longatkObject_get_n_children(long atkObject) Gets the number of accessible children of the widget associated with atkObject.(package private) static longatkObject_get_name(long atkObject) Gets the accessible name of the widget associated with atkObject.(package private) static longatkObject_get_parent(long atkObject) Gets the accessible parent of the widget associated with atkObject.(package private) static longatkObject_get_role(long atkObject) Gets the role of the accessible associated with atkObject.(package private) static longatkObject_ref_child(long atkObject, long index) Gets a reference to the accessible child whose parent is atkObject.(package private) static longatkObject_ref_state_set(long atkObject) Gets a reference to the state set of the accessible associated with atkObject.(package private) static longatkSelection_is_child_selected(long atkObject, long index) Determines if the current child of this atkObject is selected.(package private) static longatkSelection_ref_selection(long atkObject, long index) Gets a reference to the atkObject representing the specified selected child of the object.(package private) static longatkTable_add_column_selection(long atkObject, long column) Adds the specified column to the selection.(package private) static longatkTable_add_row_selection(long atkObject, long row) Adds the specified row to the selection.(package private) static longatkTable_get_caption(long atkObject) Gets the caption for the table.(package private) static longatkTable_get_column_at_index(long atkObject, long index) Gets a gint representing the column at the specified index.(package private) static longatkTable_get_column_description(long atkObject, long column) Gets the description text of the specified column.(package private) static longatkTable_get_column_extent_at(long atkObject, long row, long column) Gets the number of columns occupied at the specified row and column.(package private) static longatkTable_get_column_header(long atkObject, long column) Gets the column header of a specified column.(package private) static longatkTable_get_index_at(long atkObject, long row, long column) Get a reference to the table cell at row, column.(package private) static longatkTable_get_n_columns(long atkObject) Gets the number of columns in the table.(package private) static longatkTable_get_n_rows(long atkObject) Gets the number of rows in the table.(package private) static longatkTable_get_row_at_index(long atkObject, long index) Gets a gint representing the row at the specified index.(package private) static longatkTable_get_row_description(long atkObject, long row) Gets the description text of the specified row.(package private) static longatkTable_get_row_extent_at(long atkObject, long row, long column) Gets the number of rows occupied at the specified row and column.(package private) static longatkTable_get_row_header(long atkObject, long row) Gets the column header of a specified row.(package private) static longatkTable_get_selected_columns(long atkObject, long selected) Gets the selected columns of the table.(package private) static longatkTable_get_selected_rows(long atkObject, long selected) Gets the selected rows of the table.(package private) static longatkTable_get_summary(long atkObject) Gets the summary for the table.(package private) static longatkTable_is_column_selected(long atkObject, long column) Determines if the specified column is selected.(package private) static longatkTable_is_row_selected(long atkObject, long row) Determines if the specified row is selected.(package private) static longatkTable_is_selected(long atkObject, long row, long column) Determines if the AtkObject at the specified column and row is selected.(package private) static longatkTable_ref_at(long atkObject, long row, long column) Get a reference to the table cell at row, column.(package private) static longatkTable_remove_column_selection(long atkObject, long column) Removes the specified column to the selection.(package private) static longatkTable_remove_row_selection(long atkObject, long row) Removes the specified row to the selection.(package private) static longatkText_add_selection(long atkObject, long start_offset, long end_offset) Adds a selection bounded by the specified offsets.(package private) static longatkText_get_bounded_ranges(long atkObject, long rect, long coord_type, long x_clip_type, long y_clip_type) Get the ranges of text in the specified bounding box.(package private) static longatkText_get_caret_offset(long atkObject) Gets the offset position of the caret (cursor).(package private) static longatkText_get_character_at_offset(long atkObject, long offset) Gets the specified text.(package private) static longatkText_get_character_count(long atkObject) Gets the character count.(package private) static longatkText_get_character_extents(long atkObject, long offset, long x, long y, long width, long height, long coords) Get the bounding box containing the glyph representing the character at a particular text offset.(package private) static longatkText_get_n_selections(long atkObject) Gets the number of selected regions.(package private) static longatkText_get_offset_at_point(long atkObject, long x, long y, long coords) Gets the offset of the character located at coordinates x and y.(package private) static longatkText_get_range_extents(long atkObject, long start_offset, long end_offset, long coord_type, long rect) Get the bounding box for text within the specified range.(package private) static longatkText_get_run_attributes(long atkObject, long offset, long start_offset, long end_offset) Creates an AtkAttributeSet which consists of the attributes explicitly set at the position offset in the text.(package private) static longatkText_get_selection(long atkObject, long selection_num, long start_offset, long end_offset) Gets the text from the specified selection.(package private) static longatkText_get_text(long atkObject, long start_offset, long end_offset) Gets the specified text.(package private) static longatkText_get_text_after_offset(long atkObject, long offset_value, long boundary_type, long start_offset, long end_offset) Gets the specified text.(package private) static longatkText_get_text_at_offset(long atkObject, long offset_value, long boundary_type, long start_offset, long end_offset) Gets the specified text.(package private) static longatkText_get_text_before_offset(long atkObject, long offset_value, long boundary_type, long start_offset, long end_offset) Gets the specified text.(package private) static longatkText_remove_selection(long atkObject, long selection_num) Removes the specified selection.(package private) static longatkText_set_caret_offset(long atkObject, long offset) Sets the caret (cursor) position to the specified offset.(package private) static longatkText_set_selection(long atkObject, long selection_num, long start_offset, long end_offset) Changes the start and end offset of the specified selection.(package private) static longatkValue_get_current_value(long atkObject, long value) Gets the value of this atkObject.(package private) static longatkValue_get_maximum_value(long atkObject, long value) Gets the maximum value of this atkObject.(package private) static longatkValue_get_minimum_value(long atkObject, long value) Gets the minimum value of this atkObject.(package private) static longatkValue_set_current_value(long atkObject, long value) Sets the value of this atkObject.(package private) static ColorcolorFromString(Display display, String rgbString) (package private) static AccessibleObjectgetAccessibleObject(long atkObject) Gets the AccessibleObject associated with the AtkObject handle from the Java map of AccessibleObjects.(package private) AccessibleObjectgetChildByID(int childId) (package private) AccessibleObjectgetChildByIndex(int childIndex) (package private) static NumbergetGValue(long value) (package private) static AtkActionIfacegetParentActionIface(long atkObject) Fills a Java AtkActionIface struct with that of the parent class.(package private) static AtkObjectClassFills a Java AtkObjectClass struct with that of the parent class.(package private) static AtkComponentIfacegetParentComponentIface(long atkObject) Fills a Java AtkComponentIface struct with that of the parent class.(package private) static AtkEditableTextIfacegetParentEditableTextIface(long atkObject) Fills a Java AtkEditableTextIface struct with that of the parent class.(package private) static AtkHypertextIfacegetParentHypertextIface(long atkObject) Fills a Java AtkHypertextIface struct with that of the parent class.(package private) static AtkSelectionIfacegetParentSelectionIface(long atkObject) Fills a Java AtkSelectionIface struct with that of the parent class.(package private) static AtkTableIfacegetParentTableIface(long atkObject) Fills a Java AtkTableIface struct with that of the parent class.(package private) static AtkTextIfacegetParentTextIface(long atkObject) Fills a Java AtkTextIface struct with that of the parent class.(package private) static AtkValueIfacegetParentValueIface(long atkObject) Fills a Java AtkValueIface struct with that of the parent class.(package private) static StringgetString(long strPtr) (package private) static longgetStringPtr(String str) (package private) StringgetText()(package private) static longgObjectClass_finalize(long atkObject) (package private) static intnextIndexOfChar(String string, String searchChars, int startIndex) (package private) static intnextIndexOfNotChar(String string, String searchChars, int startIndex) (package private) static intpreviousIndexOfChar(String string, String searchChars, int startIndex) (package private) static intpreviousIndexOfNotChar(String string, String searchChars, int startIndex) (package private) static void(package private) voidrelease()(package private) voidremoveRelation(int type, Accessible target) (package private) void(package private) void(package private) void(package private) voidsetFocus(int childID) (package private) static void(package private) static intsize(Collection<?> listeners) (package private) voidtextCaretMoved(int index) (package private) voidtextChanged(int type, int startIndex, int length) (package private) void(package private) static inttoATKRelation(int relation) (package private) static longtoDisplay(long gdkResource, long x, long y) Static toDisplay implementation for accessibility purposes.(package private) void(package private) static voidwindowPoint(AccessibleObject object, int[] x, int[] y)
-
Field Details
-
atkHandle
long atkHandle -
index
int index -
id
int id -
accessible
Accessible accessible -
parent
AccessibleObject parent -
children
AccessibleObject[] children -
isLightweight
boolean isLightweight -
actionNamePtr
static long actionNamePtr -
descriptionPtr
static long descriptionPtr -
keybindingPtr
static long keybindingPtr -
namePtr
static long namePtr -
AccessibleObjects
-
DEBUG
static final boolean DEBUG
-
-
Constructor Details
-
AccessibleObject
AccessibleObject(long type, long widget, Accessible accessible, boolean isLightweight)
-
-
Method Details
-
print
-
size
-
getParentActionIface
Fills a Java AtkActionIface struct with that of the parent class. This is a Java implementation of what is referred to in GObject as "chaining up". See: https://developer.gnome.org/gobject/stable/howto-gobject-chainup.html- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AtkActionIface Java object representing the interface struct of atkObject's parent
-
atkAction_do_action
static long atkAction_do_action(long atkObject, long index) Performs the specified action on atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectindex- the action index corresponding to the action to be performed- Returns:
- long int representing whether the action succeeded: 1 for success, 0 for failure
-
atkAction_get_n_actions
static long atkAction_get_n_actions(long atkObject) Returns the number of accessible actions available on atkObject. If there are more than one, the first is considered the default action of the object. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- the number of actions available
-
atkAction_get_description
static long atkAction_get_description(long atkObject, long index) Returns a description of the specified action of the atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectindex- the action index corresponding to the action to be performed- Returns:
- a pointer to the description string
-
atkAction_get_keybinding
static long atkAction_get_keybinding(long atkObject, long index) Returns the keybinding which can be used to activate this atkObject, if one exists. Example: "Ctrl+1" This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectindex- the action index corresponding to the action to be performed- Returns:
- a pointer to the keybinding string
-
atkAction_get_name
static long atkAction_get_name(long atkObject, long index) Returns the name of the specified action of the atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectindex- the action index corresponding to the action to be performed- Returns:
- a pointer to the name string
-
getParentComponentIface
Fills a Java AtkComponentIface struct with that of the parent class. This is a Java implementation of what is referred to in GObject as "chaining up". See: https://developer.gnome.org/gobject/stable/howto-gobject-chainup.html- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AtkComponentIface Java object representing the interface struct of atkObject's parent
-
atkComponent_get_extents
static long atkComponent_get_extents(long atkObject, long x, long y, long width, long height, long coord_type) Gets the rectangle which gives the extent of the component. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectx- memory address of gint to put x coordinatey- memory address of gint to put y coordinatewidth- memory address of gint to put width coordinateheight- memory address of gint to put height coordinatecoord_type- specifies whether the coordinates are relative to the screen or to the components top level window- Returns:
- 0 (this is a void function at the native level)
-
atkComponent_ref_accessible_at_point
static long atkComponent_ref_accessible_at_point(long atkObject, long x, long y, long coord_type) Gets a reference to the accessible child, if one exists, at the coordinate point specified by x and y. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectx- long integer representing the x coordinatey- long integer representing the y coordinatecoord_type- specifies whether the coordinates are relative to the screen or to the components top level window- Returns:
- a pointer to the accessible child, if one exists
-
getParentEditableTextIface
Fills a Java AtkEditableTextIface struct with that of the parent class. This is a Java implementation of what is referred to in GObject as "chaining up". See: https://developer.gnome.org/gobject/stable/howto-gobject-chainup.html- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AtkEdtiableTextIface Java object representing the interface struct of atkObject's parent
-
atkEditableText_set_run_attributes
static long atkEditableText_set_run_attributes(long atkObject, long attrib_set, long start_offset, long end_offset) Sets the attributes for a specified range. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectattrib_set- a pointer to an AtkAttributeSetstart_offset- start range in which to set attributesend_offset- end of range in which to set attributes- Returns:
- a long int representation of 1 for success, 0 otherwise
-
colorFromString
-
atkEditableText_set_text_contents
static long atkEditableText_set_text_contents(long atkObject, long string) Sets text contents of the atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectstring- the text to be set- Returns:
- a long int representation of 1 for success, 0 otherwise
-
atkEditableText_insert_text
static long atkEditableText_insert_text(long atkObject, long string, long string_length, long position) Inserts text at a given position. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectstring- the text to insertstring_length- the length of the text to insert, in bytesposition- the caller initializes this to the position at which to insert the text. After the call, it points at the position after the newly inserted text.- Returns:
- a long int representation of 1 for success, 0 otherwise
-
atkEditableText_copy_text
static long atkEditableText_copy_text(long atkObject, long start_pos, long end_pos) Copies text from start_pos up to (but not including) end_pos into the clipboard. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectstart_pos- the start position of the text to be copiedend_pos- the end position of the text to be copied- Returns:
- a long int representation of 1 for success, 0 otherwise
-
atkEditableText_cut_text
static long atkEditableText_cut_text(long atkObject, long start_pos, long end_pos) Cuts text from start_pos up to (but not including) end_pos into the clipboard. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectstart_pos- the start position of the text to be cutend_pos- the end position of the text to be cut- Returns:
- a long int representation of 1 for success, 0 otherwise
-
atkEditableText_delete_text
static long atkEditableText_delete_text(long atkObject, long start_pos, long end_pos) Delete text start_pos up to (but not including) end_pos. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectstart_pos- the start position of the text to be deletedend_pos- the end position of the text to be deleted- Returns:
- a long int representation of 1 for success, 0 otherwise
-
atkEditableText_paste_text
static long atkEditableText_paste_text(long atkObject, long position) Paste text from clipboard to specified position. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectposition- the position to paste- Returns:
- a long int representation of 1 for success, 0 otherwise
-
getParentHypertextIface
Fills a Java AtkHypertextIface struct with that of the parent class. This is a Java implementation of what is referred to in GObject as "chaining up". See: https://developer.gnome.org/gobject/stable/howto-gobject-chainup.html- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AtkHypertextIface Java object representing the interface struct of atkObject's parent
-
atkHypertext_get_link
static long atkHypertext_get_link(long atkObject, long link_index) Gets the link in this hypertext document at index link_index. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectlink_index- the index of the link- Returns:
- a pointer to the AtkHypertext at link_index in atkObject
-
atkHypertext_get_n_links
static long atkHypertext_get_n_links(long atkObject) Gets the number of links in this hypertext document. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an integer representing the number of links in the hypertext in atkObject
-
atkHypertext_get_link_index
static long atkHypertext_get_link_index(long atkObject, long char_index) Gets the index into the array of hyperlinks that is associated with the character specified by char_index. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectchar_index- a character index- Returns:
- an integer representing the index into the array of hypertexts
-
getParentAtkObjectClass
Fills a Java AtkObjectClass struct with that of the parent class. This is a Java implementation of what is referred to in GObject as "chaining up". See: https://developer.gnome.org/gobject/stable/howto-gobject-chainup.html- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AtkObjectClass object representing the class struct of atkObject's parent
-
atkObject_get_description
static long atkObject_get_description(long atkObject) Gets the accessible description of the widget associated with atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a pointer to the gchar representation of the accessible description
-
atkObject_get_attributes
static long atkObject_get_attributes(long atkObject) Get a list of properties applied to this object as a whole, as an AtkAttributeSet consisting of name-value pairs. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a pointer to the AtkAttributeSet consisting of all properties applied to atkObject (can be empty if no properties are set)
-
atkObject_get_name
static long atkObject_get_name(long atkObject) Gets the accessible name of the widget associated with atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a pointer to the gchar representation of the accessible name
-
atkObject_get_n_children
static long atkObject_get_n_children(long atkObject) Gets the number of accessible children of the widget associated with atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an int representing the number of accessible children associated with atkObject
-
atkObject_get_index_in_parent
static long atkObject_get_index_in_parent(long atkObject) Gets the 0-based index of the widget (associated with atkObject) in its parent. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an int which is the index of the accessible atkObject in its parent
-
atkObject_get_parent
static long atkObject_get_parent(long atkObject) Gets the accessible parent of the widget associated with atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a pointer to the AtkObject representing the accessible parent of atkObject
-
atkObject_get_role
static long atkObject_get_role(long atkObject) Gets the role of the accessible associated with atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- the AtkRole of atkObject
-
atkObject_ref_child
static long atkObject_ref_child(long atkObject, long index) Gets a reference to the accessible child whose parent is atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectindex- the index of the child- Returns:
- a pointer to the AtkObject of the child at the provided index
-
atkObject_ref_state_set
static long atkObject_ref_state_set(long atkObject) Gets a reference to the state set of the accessible associated with atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a pointer to the AtkStateSet for the accessible widget atkObject
-
getParentSelectionIface
Fills a Java AtkSelectionIface struct with that of the parent class. This is a Java implementation of what is referred to in GObject as "chaining up". See: https://developer.gnome.org/gobject/stable/howto-gobject-chainup.html- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AtkSelectionIface Java object representing the interface struct of atkObject's parent
-
atkSelection_is_child_selected
static long atkSelection_is_child_selected(long atkObject, long index) Determines if the current child of this atkObject is selected. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectindex- a long integer representing the index- Returns:
- a long integer where 1 represents TRUE, 0 otherwise
-
atkSelection_ref_selection
static long atkSelection_ref_selection(long atkObject, long index) Gets a reference to the atkObject representing the specified selected child of the object. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectindex- a long integer representing the index- Returns:
- a pointer to the AtkObject representing the selected accessible, or 0
-
getParentTableIface
Fills a Java AtkTableIface struct with that of the parent class. This is a Java implementation of what is referred to in GObject as "chaining up". See: https://developer.gnome.org/gobject/stable/howto-gobject-chainup.html- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AtkTableIface Java object representing the interface struct of atkObject's parent
-
atkTable_ref_at
static long atkTable_ref_at(long atkObject, long row, long column) Get a reference to the table cell at row, column. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing a row in atkObjectcolumn- a long integer representing a column in atkObject- Returns:
- a pointer to an AtkObject representing the specified table
-
atkTable_get_index_at
static long atkTable_get_index_at(long atkObject, long row, long column) Get a reference to the table cell at row, column. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing a row in atkObjectcolumn- a long integer representing a column in atkObject- Returns:
- a pointer to an AtkObject representing the specified table
-
atkTable_get_column_at_index
static long atkTable_get_column_at_index(long atkObject, long index) Gets a gint representing the column at the specified index. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectindex- a long integer representing an index in the table- Returns:
- a long integer representing the column at the specified index, or -1
-
atkTable_get_row_at_index
static long atkTable_get_row_at_index(long atkObject, long index) Gets a gint representing the row at the specified index. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectindex- a long integer representing an index in the table- Returns:
- a long integer representing the row at the specified index, or -1
-
atkTable_get_n_columns
static long atkTable_get_n_columns(long atkObject) Gets the number of columns in the table. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a long integer representing the number of columns, or 0
-
atkTable_get_n_rows
static long atkTable_get_n_rows(long atkObject) Gets the number of rows in the table. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a long integer representing the number of rows, or 0
-
atkTable_get_column_extent_at
static long atkTable_get_column_extent_at(long atkObject, long row, long column) Gets the number of columns occupied at the specified row and column. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing the rowcolumn- a long integer representing the column- Returns:
- a long integer representing the column extent at the specified position, or 0
-
atkTable_get_row_extent_at
static long atkTable_get_row_extent_at(long atkObject, long row, long column) Gets the number of rows occupied at the specified row and column. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing the rowcolumn- a long integer representing the column- Returns:
- a long integer representing the row extent at the specified position, or 0
-
atkTable_get_caption
static long atkTable_get_caption(long atkObject) Gets the caption for the table. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a pointer to the AtkObject representing the caption, or 0
-
atkTable_get_summary
static long atkTable_get_summary(long atkObject) Gets the summary for the table. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a pointer to the AtkObject representing the summary, or 0
-
atkTable_get_column_description
static long atkTable_get_column_description(long atkObject, long column) Gets the description text of the specified column. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectcolumn- a long integer representing the specified column- Returns:
- a pointer to the gchar representation of the column description, or 0
-
atkTable_get_column_header
static long atkTable_get_column_header(long atkObject, long column) Gets the column header of a specified column. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectcolumn- a long integer representing the specified column- Returns:
- a pointer to the AtkObject representing the specified column header, or 0
-
atkTable_get_row_description
static long atkTable_get_row_description(long atkObject, long row) Gets the description text of the specified row. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing the specified row- Returns:
- a pointer to the gchar representation of the row description, or 0
-
atkTable_get_row_header
static long atkTable_get_row_header(long atkObject, long row) Gets the column header of a specified row. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing the specified row- Returns:
- a pointer to the AtkObject representing the specified row header, or 0
-
atkTable_get_selected_columns
static long atkTable_get_selected_columns(long atkObject, long selected) Gets the selected columns of the table. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectselected- an array of integer pointers that is to contain the selected column numbers- Returns:
- a long integer representing the number of columns selected, or 0
-
atkTable_get_selected_rows
static long atkTable_get_selected_rows(long atkObject, long selected) Gets the selected rows of the table. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectselected- an array of integer pointers that is to contain the selected row numbers- Returns:
- a long integer representing the number of rows selected, or 0
-
atkTable_is_column_selected
static long atkTable_is_column_selected(long atkObject, long column) Determines if the specified column is selected. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectcolumn- a long integer representing the column- Returns:
- a long integer where 1 represents TRUE, 0 otherwise
-
atkTable_is_row_selected
static long atkTable_is_row_selected(long atkObject, long row) Determines if the specified row is selected. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing the row- Returns:
- a long integer where 1 represents TRUE, 0 otherwise
-
atkTable_is_selected
static long atkTable_is_selected(long atkObject, long row, long column) Determines if the AtkObject at the specified column and row is selected. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing the rowcolumn- a long integer representing the column- Returns:
- a long integer where 1 represents TRUE, 0 otherwise
-
atkTable_add_row_selection
static long atkTable_add_row_selection(long atkObject, long row) Adds the specified row to the selection. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing the row- Returns:
- a long int representing whether the action succeeded: 1 for success, 0 for failure
-
atkTable_remove_row_selection
static long atkTable_remove_row_selection(long atkObject, long row) Removes the specified row to the selection. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrow- a long integer representing the row- Returns:
- a long int representing whether the action succeeded: 1 for success, 0 for failure
-
atkTable_add_column_selection
static long atkTable_add_column_selection(long atkObject, long column) Adds the specified column to the selection. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectcolumn- a long integer representing the column- Returns:
- a long int representing whether the action succeeded: 1 for success, 0 for failure
-
atkTable_remove_column_selection
static long atkTable_remove_column_selection(long atkObject, long column) Removes the specified column to the selection. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectcolumn- a long integer representing the column- Returns:
- a long int representing whether the action succeeded: 1 for success, 0 for failure
-
getParentTextIface
Fills a Java AtkTextIface struct with that of the parent class. This is a Java implementation of what is referred to in GObject as "chaining up". See: https://developer.gnome.org/gobject/stable/howto-gobject-chainup.html- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AtkTextIface Java object representing the interface struct of atkObject's parent
-
getString
-
getStringPtr
-
atkText_get_character_extents
static long atkText_get_character_extents(long atkObject, long offset, long x, long y, long width, long height, long coords) Get the bounding box containing the glyph representing the character at a particular text offset. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectoffset- the offset of the text character for which bounding info is requiredx- the pointer for the x coordinate of the bounding boxy- the pointer for the y coordinate of the bounding boxwidth- the pointer for the width of the bounding boxheight- the pointer for the height of the bounding boxcoords- long int representing the AtkCoordType for the coordinates- Returns:
- a long int representation of 0 indicating that the method completed successfully
-
atkText_get_range_extents
static long atkText_get_range_extents(long atkObject, long start_offset, long end_offset, long coord_type, long rect) Get the bounding box for text within the specified range. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectstart_offset- the offset of the first text character for which bounding info is requiredend_offset- the offset of the last text character after the last character for which boundary info is requiredcoord_type- long int representing the AtkCoordType for the coordinatesrect- a pointer to the AtkTextRectangle which is filled by this function- Returns:
- a long int representation of 0 indicating that the method completed successfully
-
atkText_get_run_attributes
static long atkText_get_run_attributes(long atkObject, long offset, long start_offset, long end_offset) Creates an AtkAttributeSet which consists of the attributes explicitly set at the position offset in the text. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectoffset- the offset at which to get the attributesstart_offset- the address to put the start offset of the rangeend_offset- the address to put the end offset of the range- Returns:
- a pointer to the AtkAttributeSet created
-
atkText_get_offset_at_point
static long atkText_get_offset_at_point(long atkObject, long x, long y, long coords) Gets the offset of the character located at coordinates x and y. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectx- screen x-position of the charactery- screen y-position of the charactercoords- long int representing the AtkCoordType for the coordinates- Returns:
- the offset to the character which is located at the specified x and y coordinates
-
atkText_add_selection
static long atkText_add_selection(long atkObject, long start_offset, long end_offset) Adds a selection bounded by the specified offsets. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectstart_offset- the start position of the selected regionend_offset- the offset of the first character after the selected region- Returns:
- a long int representation of 1 for success, 0 otherwise
-
atkText_remove_selection
static long atkText_remove_selection(long atkObject, long selection_num) Removes the specified selection. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectselection_num- the selection number.- Returns:
- a long int representation of 1 for success, 0 otherwise
-
atkText_set_caret_offset
static long atkText_set_caret_offset(long atkObject, long offset) Sets the caret (cursor) position to the specified offset. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectoffset- the position- Returns:
- a long int representation of 1 for success, 0 otherwise
-
atkText_set_selection
static long atkText_set_selection(long atkObject, long selection_num, long start_offset, long end_offset) Changes the start and end offset of the specified selection. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectselection_num- the selection numberstart_offset- the new start position of the selectionend_offset- the new end position of the selection- Returns:
- a long int representation of 1 for success, 0 otherwise
-
atkText_get_caret_offset
static long atkText_get_caret_offset(long atkObject) Gets the offset position of the caret (cursor). This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- a long int representation of the offset position of the caret (cursor)
-
atkText_get_bounded_ranges
static long atkText_get_bounded_ranges(long atkObject, long rect, long coord_type, long x_clip_type, long y_clip_type) Get the ranges of text in the specified bounding box. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectrect- the AtkTextRectangle giving the dimensions of the bounding boxcoord_type- long int representing the AtkCoordType for the coordinatesx_clip_type- a long int representing the AtkTextClipType of the horizontal clipy_clip_type- a long int representing the AtkTextClipType of the vertical clip- Returns:
- a pointer to the array of AtkTextRanges
-
atkText_get_character_at_offset
static long atkText_get_character_at_offset(long atkObject, long offset) Gets the specified text. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectoffset- position- Returns:
- a long int representing the character at offset
-
atkText_get_character_count
static long atkText_get_character_count(long atkObject) Gets the character count. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- the number of characters
-
atkText_get_n_selections
static long atkText_get_n_selections(long atkObject) Gets the number of selected regions. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- the number of selected regions, or -1 if a failure occurred
-
atkText_get_selection
static long atkText_get_selection(long atkObject, long selection_num, long start_offset, long end_offset) Gets the text from the specified selection. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectselection_num- the selection numberstart_offset- passes back the start position of the selected regionend_offset- passes back the end position of the selected region- Returns:
- a pointer to the newly allocated string containing the selected text
-
atkText_get_text
static long atkText_get_text(long atkObject, long start_offset, long end_offset) Gets the specified text. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectstart_offset- start positionend_offset- end position, or -1 for the end of the string- Returns:
- a pointer to the newly allocated string containing the text from start_offset up to (but not including) end_offset
-
atkText_get_text_after_offset
static long atkText_get_text_after_offset(long atkObject, long offset_value, long boundary_type, long start_offset, long end_offset) Gets the specified text. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectboundary_type- the AtkTextBoundarystart_offset- the start offset of the returned stringend_offset- the end_offset of the first character after the returned stringoffset- position- Returns:
- a pointer to the newly allocated string containing the text after offset bounded by the specified boundary_type
-
atkText_get_text_at_offset
static long atkText_get_text_at_offset(long atkObject, long offset_value, long boundary_type, long start_offset, long end_offset) Gets the specified text. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectboundary_type- the AtkTextBoundarystart_offset- the start offset of the returned stringend_offset- the end_offset of the first character after the returned stringoffset- position- Returns:
- a pointer to the newly allocated string containing the text at offset bounded by the specified boundary_type
-
atkText_get_text_before_offset
static long atkText_get_text_before_offset(long atkObject, long offset_value, long boundary_type, long start_offset, long end_offset) Gets the specified text. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectboundary_type- the AtkTextBoundarystart_offset- the start offset of the returned stringend_offset- the end_offset of the first character after the returned stringoffset- position- Returns:
- a pointer to the newly allocated string containing the text before offset bounded by the specified boundary_type
-
setGValue
-
getGValue
-
getParentValueIface
Fills a Java AtkValueIface struct with that of the parent class. This is a Java implementation of what is referred to in GObject as "chaining up". See: https://developer.gnome.org/gobject/stable/howto-gobject-chainup.html- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AtkValueIface Java object representing the interface struct of atkObject's parent
-
atkValue_get_current_value
static long atkValue_get_current_value(long atkObject, long value) Gets the value of this atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectvalue- a pointer to a GValue that represents the current value- Returns:
- 0, this is a void function -- the value is stored in the parameter
-
atkValue_get_maximum_value
static long atkValue_get_maximum_value(long atkObject, long value) Gets the maximum value of this atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectvalue- a pointer to a GValue that represents the current maximum value- Returns:
- 0, this is a void function -- the value is stored in the parameter
-
atkValue_get_minimum_value
static long atkValue_get_minimum_value(long atkObject, long value) Gets the minimum value of this atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectvalue- a pointer to a GValue that represents the current minimum value- Returns:
- 0, this is a void function -- the value is stored in the parameter
-
atkValue_set_current_value
static long atkValue_set_current_value(long atkObject, long value) Sets the value of this atkObject. This is the implementation of an ATK function which queries the Accessible listeners at the Java level. On GTK3 the ATK interfaces are implemented in os_custom.c and access this method via JNI.- Parameters:
atkObject- a pointer to the current AtkObjectvalue- a pointer to the new GValue to be set- Returns:
- a long int representation of 1 for success, 0 otherwise
-
getAccessibleObject
Gets the AccessibleObject associated with the AtkObject handle from the Java map of AccessibleObjects.- Parameters:
atkObject- a pointer to the current AtkObject- Returns:
- an AccessibleObject associated with the provided AtkObject pointer
-
getChildByID
-
getChildByIndex
-
getText
String getText() -
gObjectClass_finalize
static long gObjectClass_finalize(long atkObject) -
toATKRelation
static int toATKRelation(int relation) -
toDisplay
static long toDisplay(long gdkResource, long x, long y) Static toDisplay implementation for accessibility purposes. This function is called from os_custom.c via JNI.- Parameters:
gdkResource- the GdkWindow (GTK3) or GdkSurface (GTK4)x- a pointer to an integer which represents the x coordinatey- a pointer to an integer which represents the y coordinate- Returns:
- 0
-
windowPoint
-
nextIndexOfChar
-
nextIndexOfNotChar
-
previousIndexOfChar
-
previousIndexOfNotChar
-
addRelation
-
release
void release() -
removeRelation
-
selectionChanged
void selectionChanged() -
sendEvent
-
sendEvent
-
setFocus
void setFocus(int childID) -
textCaretMoved
void textCaretMoved(int index) -
textChanged
void textChanged(int type, int startIndex, int length) -
textSelectionChanged
void textSelectionChanged() -
updateChildren
void updateChildren()
-