This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 56781

Summary: Allow to set mnemonics for TreeTableView column names
Product: platform Reporter: Stanislav Aubrecht <saubrecht>
Component: ExplorerAssignee: Stanislav Aubrecht <saubrecht>
Severity: blocker CC: saubrecht
Priority: P3 Keywords: API_REVIEW_FAST
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 55074    
Attachments: Diff patch

Description Stanislav Aubrecht 2005-03-22 09:36:17 UTC
The current implementation of TreeTableView class does not provide methods for
setting of the mnemonic character for column display names. This leads to
accessibility issues in e.g. 'Change Visible Columns' dialog window.

I suggest to add a new property "ColumnMnemonicCharTTV" to the column model that
would hold the mnemonic character. See the attached diff for more details.
Comment 1 Stanislav Aubrecht 2005-03-22 09:37:56 UTC
Created attachment 21021 [details]
Diff patch
Comment 2 Jaroslav Tulach 2005-03-24 11:41:15 UTC
I am ok with the change, just in order to somehow prevent future regression I
would advice to write a test that will verify that the mnemonic is really set on
JCheckBox b = new JCheckBox( boxtext, oldvalues[i] ).
Comment 3 Stanislav Aubrecht 2005-03-29 13:41:25 UTC
i'm going to integrate tomorrow
Comment 4 Stanislav Aubrecht 2005-03-30 11:59:36 UTC

Checking in api/doc/changes/apichanges.xml;
/cvs/openide/api/doc/changes/apichanges.xml,v  <--  apichanges.xml
new revision: 1.240; previous revision: 1.239
Checking in src/org/openide/explorer/view/;
/cvs/openide/src/org/openide/explorer/view/,v  <--
new revision: 1.25; previous revision: 1.24
Checking in src/org/openide/explorer/view/;
/cvs/openide/src/org/openide/explorer/view/,v  <--
new revision: 1.73; previous revision: 1.72
Checking in test/unit/src/org/openide/explorer/view/;
new revision: 1.3; previous revision: 1.2