public class BasicCellRendererReader extends Object implements CellRendererReader
CellRendererReader
.Constructor and Description |
---|
BasicCellRendererReader() |
@RunsInCurrentThread public String valueFrom(Component c)
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 guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for calling this method from the EDT.
valueFrom
in interface CellRendererReader
c
- the given cell renderer component.Component
, or null
if the renderer belongs to an unknown
component type.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.