public class BasicCellRendererReader extends Object implements CellRendererReader
CellRendererReader.| Constructor and Description |
|---|
BasicCellRendererReader() |
@RunsInCurrentThread @Nullable public String valueFrom(@Nullable Component c)
Reads the value in the given cell renderer Component, or returns null if the renderer belongs to an
unknown type. Internally, this method will call getText() if the given renderer is an instance of
JLabel.
Note: This method is accessed in the current executing thread. Such thread may or may not be the event dispatch thread (EDT.) Client code must call this method from the EDT.
valueFrom in interface CellRendererReaderc - the given cell renderer component.Component, or null if the renderer belongs to an unknown component
type.Copyright © 2014 AssertJ. All rights reserved.