Package org.fest.swing.driver
Class BasicCellRendererReader
java.lang.Object
org.fest.swing.driver.BasicCellRendererReader
- All Implemented Interfaces:
CellRendererReader
Understands a basic implementation of
CellRendererReader.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BasicCellRendererReader
public BasicCellRendererReader()
-
-
Method Details
-
valueFrom
Reads the value in the given cell renderer component, or returnsnullif the renderer belongs to an unknown component type. Internally, this method will callgetText()if the given renderer is an instance of.JLabelNote: This method is not executed in the event dispatch thread (EDT.) Clients are responsible for invoking this method in the EDT.
- Specified by:
valueFromin interfaceCellRendererReader- Parameters:
c- the given cell renderer component.- Returns:
- the value of the given
Component, ornullif the renderer belongs to an unknown component type.
-