Class BasicCellRendererReader

java.lang.Object
org.fest.swing.driver.BasicCellRendererReader
All Implemented Interfaces:
CellRendererReader

public class BasicCellRendererReader extends Object implements CellRendererReader
Understands a basic implementation of CellRendererReader.
  • Constructor Details

    • BasicCellRendererReader

      public BasicCellRendererReader()
  • Method Details

    • valueFrom

      @RunsInCurrentThread public String valueFrom(Component c)
      Reads the value in the given cell renderer component, or returns null if the renderer belongs to an unknown component type. Internally, this method will call getText() if the given renderer is an instance of JLabel
    • .

      Note: This method is not executed in the event dispatch thread (EDT.) Clients are responsible for invoking this method in the EDT.