Making verbose java application less verbose

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Making verbose java application less verbose

Leonard de Ruijter-4
Hello People,

I have a Java application (specifically IBM SPSS Statistics) which works
quite well out of the box. It has a data view containing relevant info,
however NVDA is very verbose in these tables. For example, when I arrow
around, NVDA says "split pane, table, table, split pane, table, table"
for every cell before it actually comes to speaking the cell information.
Here is relevant log info

IO - inputCore.InputManager.executeGesture (17:26:16):
Input: kb(laptop):upArrow
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,horizontal
IO - speech.speak (17:26:16):
Speaking [u'split pane']
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,opaque
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,opaque
IO - speech.speak (17:26:16):
Speaking [u'table']
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,opaque
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,opaque
IO - speech.speak (17:26:16):
Speaking [u'table']
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,horizontal
IO - speech.speak (17:26:16):
Speaking [u'split pane']
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,opaque
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,opaque
IO - speech.speak (17:26:16):
Speaking [u'table']
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,opaque
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,showing,focused,opaque
IO - speech.speak (17:26:16):
Speaking [u'table']
DEBUG - NVDAObjects.JAB.JAB._get_states (17:26:16):
states: enabled,focusable,visible,opaque,showing,selected,active,transient
IO - speech.speak (17:26:16):
Speaking [u'selected  row 1  column 1']

I've attached some relevant dev info below, retrieved using the python
console. Does anybody have an idea on how to start making this
application less verbose?

Thanks in advance!
Leonard


 >>> focus.devInfo
["name: u''", 'role: ROLE_TABLECELL', 'states: STATE_FOCUSABLE,
STATE_SELECTED', 'isFocusable: True', 'hasFocus: False', 'Python object:
<NVDAObjects.JAB.TableCell object at 0x05387770>', "Python class mro:
(<class 'NVDAObjects.JAB.TableCell'>, <class 'NVDAObjects.JAB.JAB'>,
<class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>,
<class 'baseObject.ScriptableObject'>, <class
'baseObject.AutoPropertyObject'>, <type 'object'>)", "description: u''",
'location: (319, 255, 72, 21)', "value: u''", "appModule:
<'appModuleHandler' (appName u'stats', process ID 2756) at address
51c1ef0>", "appModule.productName: u'IBM SPSS Products: Statistics
Common'", "appModule.productVersion: u'24.0.0.0.132'", "TextInfo: <class
'NVDAObjects.NVDAObjectTextInfo'>", 'windowHandle: 3211936',
"windowClassName: u'SunAwtFrame'", 'windowControlID: 0', 'windowStyle:
382664704', 'windowThreadID: 9608', "windowText: u'Untitled1 [DataSet0]
- IBM SPSS Statistics Data Editor'", "displayText: u''"]
 >>> focus.parent.devInfo
["name: u''", 'role: ROLE_TABLE', 'states: STATE_FOCUSABLE',
'isFocusable: True', 'hasFocus: False', 'Python object:
<NVDAObjects.JAB.Table object at 0x05387B10>', "Python class mro:
(<class 'NVDAObjects.JAB.Table'>, <class 'NVDAObjects.JAB.JAB'>, <class
'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class
'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>,
<type 'object'>)", "description: u''", 'location: (318, 255, 1500,
880)', "value: u''", "appModule: <'appModuleHandler' (appName u'stats',
process ID 2756) at address 51c1ef0>", "appModule.productName: u'IBM
SPSS Products: Statistics Common'", "appModule.productVersion:
u'24.0.0.0.132'", "TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>",
'windowHandle: 3211936', "windowClassName: u'SunAwtFrame'",
'windowControlID: 0', 'windowStyle: 382664704', 'windowThreadID: 9608',
"windowText: u'Untitled1 [DataSet0] - IBM SPSS Statistics Data Editor'",
"displayText: u''"]
 >>> focus.parent.parent.devInfo
["name: u''", 'role: ROLE_UNKNOWN', 'states: STATE_FOCUSABLE',
'isFocusable: True', 'hasFocus: False', 'Python object:
<NVDAObjects.JAB.JAB object at 0x0514D590>', "Python class mro: (<class
'NVDAObjects.JAB.JAB'>, <class 'NVDAObjects.window.Window'>, <class
'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class
'baseObject.AutoPropertyObject'>, <type 'object'>)", "description: u''",
'location: (318, 255, 791, 275)', "value: u''", "appModule:
<'appModuleHandler' (appName u'stats', process ID 2756) at address
51c1ef0>", "appModule.productName: u'IBM SPSS Products: Statistics
Common'", "appModule.productVersion: u'24.0.0.0.132'", "TextInfo: <class
'NVDAObjects.NVDAObjectTextInfo'>", 'windowHandle: 3211936',
"windowClassName: u'SunAwtFrame'", 'windowControlID: 0', 'windowStyle:
382664704', 'windowThreadID: 9608', "windowText: u'Untitled1 [DataSet0]
- IBM SPSS Statistics Data Editor'", "displayText: u''"]
 >>> focus.parent.parent.parent.devInfo
["name: u''", 'role: ROLE_SCROLLPANE', 'states: STATE_FOCUSABLE',
'isFocusable: True', 'hasFocus: False', 'Python object:
<NVDAObjects.JAB.JAB object at 0x0537B7B0>', "Python class mro: (<class
'NVDAObjects.JAB.JAB'>, <class 'NVDAObjects.window.Window'>, <class
'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class
'baseObject.AutoPropertyObject'>, <type 'object'>)", "description: u''",
'location: (236, 231, 890, 316)', "value: u''", "appModule:
<'appModuleHandler' (appName u'stats', process ID 2756) at address
51c1ef0>", "appModule.productName: u'IBM SPSS Products: Statistics
Common'", "appModule.productVersion: u'24.0.0.0.132'", "TextInfo: <class
'NVDAObjects.NVDAObjectTextInfo'>", 'windowHandle: 3211936',
"windowClassName: u'SunAwtFrame'", 'windowControlID: 0', 'windowStyle:
382664704', 'windowThreadID: 9608', "windowText: u'Untitled1 [DataSet0]
- IBM SPSS Statistics Data Editor'", "displayText: u''"]
 >>> focus.parent.parent.parent.parent.devInfo
["name: u''", 'role: ROLE_SPLITPANE', 'states: STATE_FOCUSABLE',
'isFocusable: True', 'hasFocus: False', 'Python object:
<NVDAObjects.JAB.JAB object at 0x0537B5B0>', "Python class mro: (<class
'NVDAObjects.JAB.JAB'>, <class 'NVDAObjects.window.Window'>, <class
'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class
'baseObject.AutoPropertyObject'>, <type 'object'>)", "description: u''",
'location: (236, 231, 894, 316)', "value: u'9999'", "appModule:
<'appModuleHandler' (appName u'stats', process ID 2756) at address
51c1ef0>", "appModule.productName: u'IBM SPSS Products: Statistics
Common'", "appModule.productVersion: u'24.0.0.0.132'", "TextInfo: <class
'NVDAObjects.NVDAObjectTextInfo'>", 'windowHandle: 3211936',
"windowClassName: u'SunAwtFrame'", 'windowControlID: 0', 'windowStyle:
382664704', 'windowThreadID: 9608', "windowText: u'Untitled1 [DataSet0]
- IBM SPSS Statistics Data Editor'", "displayText: u''"]
 >>> focus.parent.parent.parent.parent.parent.devInfo
["name: u''", 'role: ROLE_SPLITPANE', 'states: STATE_FOCUSABLE',
'isFocusable: True', 'hasFocus: False', 'Python object:
<NVDAObjects.JAB.JAB object at 0x05387210>', "Python class mro: (<class
'NVDAObjects.JAB.JAB'>, <class 'NVDAObjects.window.Window'>, <class
'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class
'baseObject.AutoPropertyObject'>, <type 'object'>)", "description: u''",
'location: (236, 231, 894, 320)', "value: u'9999'", "appModule:
<'appModuleHandler' (appName u'stats', process ID 2756) at address
51c1ef0>", "appModule.productName: u'IBM SPSS Products: Statistics
Common'", "appModule.productVersion: u'24.0.0.0.132'", "TextInfo: <class
'NVDAObjects.NVDAObjectTextInfo'>", 'windowHandle: 3211936',
"windowClassName: u'SunAwtFrame'", 'windowControlID: 0', 'windowStyle:
382664704', 'windowThreadID: 9608', "windowText: u'Untitled1 [DataSet0]
- IBM SPSS Statistics Data Editor'", "displayText: u''"]
 >>> focus.parent.parent.parent.parent.parent.parent.devInfo
["name: u''", 'role: ROLE_PANEL', 'states: STATE_FOCUSABLE',
'isFocusable: True', 'hasFocus: False', 'Python object:
<NVDAObjects.JAB.JAB object at 0x053877D0>', "Python class mro: (<class
'NVDAObjects.JAB.JAB'>, <class 'NVDAObjects.window.Window'>, <class
'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class
'baseObject.AutoPropertyObject'>, <type 'object'>)", "description: u''",
'location: (236, 205, 894, 346)', "value: u''", "appModule:
<'appModuleHandler' (appName u'stats', process ID 2756) at address
51c1ef0>", "appModule.productName: u'IBM SPSS Products: Statistics
Common'", "appModule.productVersion: u'24.0.0.0.132'", "TextInfo: <class
'NVDAObjects.NVDAObjectTextInfo'>", 'windowHandle: 3211936',
"windowClassName: u'SunAwtFrame'", 'windowControlID: 0', 'windowStyle:
382664704', 'windowThreadID: 9608', "windowText: u'Untitled1 [DataSet0]
- IBM SPSS Statistics Data Editor'", "displayText: u''"]
 >>> focus.parent.parent.parent.parent.parent.parent.parent.devInfo
["name: u'Data View'", 'role: ROLE_TAB', 'states: STATE_SELECTED',
'isFocusable: False', 'hasFocus: False', 'Python object:
<NVDAObjects.JAB.JAB object at 0x05387A10>', "Python class mro: (<class
'NVDAObjects.JAB.JAB'>, <class 'NVDAObjects.window.Window'>, <class
'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class
'baseObject.AutoPropertyObject'>, <type 'object'>)", "description: u''",
'location: (241, 551, 67, 34)', "value: u''", "appModule:
<'appModuleHandler' (appName u'stats', process ID 2756) at address
51c1ef0>", "appModule.productName: u'IBM SPSS Products: Statistics
Common'", "appModule.productVersion: u'24.0.0.0.132'", "TextInfo: <class
'NVDAObjects.NVDAObjectTextInfo'>", 'windowHandle: 3211936',
"windowClassName: u'SunAwtFrame'", 'windowControlID: 0', 'windowStyle:
382664704', 'windowThreadID: 9608', "windowText: u'Untitled1 [DataSet0]
- IBM SPSS Statistics Data Editor'", "displayText: u''"]


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel