summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-10-14 16:27:32 +0000
committerKurt Zenker <kz@openoffice.org>2009-10-14 16:27:32 +0000
commit9033e68b120609c2817915b9b6c024a395f09280 (patch)
tree1c06301a40585cbd4808f268c8a3c0a4a3987eba /accessibility
parentd70426ba8185acccb41da5411b58286a3f7d6ff3 (diff)
CWS-TOOLING: integrate CWS ab76_a11y
2009-09-23 14:26:25 +0200 ab r276390 : #i14102# Expanded/Collapsed state support
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/bridge/org/openoffice/java/accessibility/Tree.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/accessibility/bridge/org/openoffice/java/accessibility/Tree.java b/accessibility/bridge/org/openoffice/java/accessibility/Tree.java
index 52debca0a5f6..83f8c9a10c49 100644
--- a/accessibility/bridge/org/openoffice/java/accessibility/Tree.java
+++ b/accessibility/bridge/org/openoffice/java/accessibility/Tree.java
@@ -118,6 +118,16 @@ public class Tree extends DescendantManager implements javax.accessibility.Acces
}
break;
+ case AccessibleEventId.LISTBOX_ENTRY_EXPANDED:
+ firePropertyChange(AccessibleContext.ACCESSIBLE_STATE_PROPERTY,
+ AccessibleState.COLLAPSED, AccessibleState.EXPANDED);
+ break;
+
+ case AccessibleEventId.LISTBOX_ENTRY_COLLAPSED:
+ firePropertyChange(AccessibleContext.ACCESSIBLE_STATE_PROPERTY,
+ AccessibleState.EXPANDED, AccessibleState.COLLAPSED);
+ break;
+
default:
super.notifyEvent(event);
}