Closed GoogleCodeExporter closed 9 years ago
Original comment by Alex.Rui...@gmail.com
on 8 Apr 2008 at 9:14
Hi Woody,
I'm working on this issue. I was thinking, in addition to returning the
elements in
the JList, we could introduce some like a 'ValueToStringConverter', which
converts an
element in a JList to a String, this way users could write:
layerListFixture.requireSelection("Hello", myConverter);
In addition, I'm thinking about also checking if a custom cell renderer is an
AbstractButton, and get the text using "getText".
To avoid confusion with this bug, I'm confirming we are adding methods to get an
element from the JList as it is (which is the original request in this bug.)
Do you consider these options helpful?
Thanks!
-Alex
Original comment by Alex.Rui...@gmail.com
on 12 Apr 2008 at 3:02
Introduced 'JListCellReader' to read values from JLists. Users can implement
their
own JListCellReaders when using custom cell renderers in JLists. After creating
a
JListCellRendering, users only need to pass an instance to the method
'cellReader(JListCellReader)' in JListFixture.
Original comment by Alex.Rui...@gmail.com
on 2 May 2008 at 5:51
Set the module as a label, instead of being part of the title.
Original comment by Alex.Rui...@gmail.com
on 1 Dec 2008 at 1:55
Original issue reported on code.google.com by
woody.fo...@gmail.com
on 8 Apr 2008 at 7:44