FEST

Referencing a JTableFixture row by its cell contents

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: FEST-Swing 1.2a3
  • Fix Version/s: FEST-Swing 1.2a4
  • Component/s: Swing
  • Labels:
    None
  • Number of attachments :
    0

Description

I have a JTable with three columns and I need to select (a cell in) the row with specific values before pressing a button.
There is not an easy way to do this right now.

The table contents are for instance
rip | rap | rup
billy | villy | dilly
rip | my | pants
billy | will | not
street | rap | rocks

The table is populated from an unsorted map, so they may be re-ordered
on each run.
------------------

Alex's suggestion:
table.cell(rowWithValue("billy | villy | dilly").column(0))

My Comments on that:
Would work, but perhaps it would be cooler to allow the rows be non-consequtive somehow.

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: