org.fest.swing.driver
Interface CellRendererReader

All Known Implementing Classes:
BasicCellRendererReader

@RunsInCurrentThread
public interface CellRendererReader

Understands reading the value of a Component that used as a cell renderer.

Note: methods in this interface are not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for invoking them in the EDT.

Author:
Alex Ruiz

Method Summary
 String valueFrom(Component c)
          Reads the value in the given cell renderer component, or returns null if the component is not recognized by this reader.
 

Method Detail

valueFrom

String valueFrom(Component c)
Reads the value in the given cell renderer component, or returns null if the component is not recognized by this reader.

Note: Implementations of this method may not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for invoking this method in the EDT.

Parameters:
c - the given cell renderer component.
Returns:
the value of the given Component, or null if the renderer belongs to an unknown component type.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.