assertj / assertj/assertj-swing
Support for editing table that activates editor on single-click
- Dominant language
- Java
- Stars
- 121
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
_Issue by **[Morten Breum Mikkelsen](http://jira.codehaus.org/secure/ViewProfile.jspa?name=mortenbreum)** from Thu, 2 Sep 2010 09:16:51 -0500_
_Originally opened as http://jira.codehaus.org/browse/FEST-392_
---
In our application, there is a table that has its editor activated when a cell is clicked.
The standard FEST JTable driver clicks and presses F2 which edits and stops editing.
I would like to create a driver that handles this, but I am stopped by some methods being private and thus non-extendable.
I suggest the following are made protected
BasicJTableCellWriter.cellWriterFor(JTable, int, int)
BasicJTableCellWriter.checkBoxWriter (or a getter introduced, but being final, protected wouldn't hurt)
BasicJTableCellWriter.comboBoxWriter (or a getter introduced, but being final, protected wouldn't hurt)
BasicJTableCellWriter.textComponentWriter (or a getter introduced, but being final, protected wouldn't hurt)
JTableTextComponentEditorCellWriter.doStartCellEditing(JTable, int, int)
I am able to work my way around that by extending classes higher-up in the hierarchy, but it would save me a dozen lines of code if more methods/members were protected instead of private.
---
votes (original issue): 0
watches (original issue): 0
Contributor guide
Assessment
This issue has not been assessed yet.