[java-atk-wrapper] Wrapper: Create setColumnDescription in AtkTable
- From: Magdalen Berns <mberns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [java-atk-wrapper] Wrapper: Create setColumnDescription in AtkTable
- Date: Fri, 3 Jul 2015 16:15:47 +0000 (UTC)
commit 4b88e3baecd418c8005a50b119790c734c0660ef
Author: Magdalen Berns <m berns thismagpie com>
Date: Fri Jul 3 15:35:33 2015 +0100
Wrapper: Create setColumnDescription in AtkTable
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=751897
wrapper/org/GNOME/Accessibility/AtkTable.java | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/wrapper/org/GNOME/Accessibility/AtkTable.java b/wrapper/org/GNOME/Accessibility/AtkTable.java
index 6e3da5e..bbba10c 100644
--- a/wrapper/org/GNOME/Accessibility/AtkTable.java
+++ b/wrapper/org/GNOME/Accessibility/AtkTable.java
@@ -107,6 +107,19 @@ public class AtkTable {
return "";
}
+/**
+ *
+ * @param column an int representing a column in table
+ * @param description a String object representing the description text to set for the
+ * specified column of the table
+ */
+ public void setColumnDescription(int column, String description) {
+ javax.accessibility.Accessible accessible = acc_table.getAccessibleColumnDescription(column);
+ if (description.equals(accessible.toString()) && accessible != null) {
+ acc_table.setAccessibleColumnDescription(column, accessible);
+ }
+ }
+
public String get_row_description (int row) {
javax.accessibility.Accessible accessible =
acc_table.getAccessibleRowDescription(row);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]