public interface CellRendererReader
Reads the value of an AWT or Swing Component
that used as a cell renderer.
Modifier and Type | Method and Description |
---|---|
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. |
@RunsInCurrentThread @Nullable String valueFrom(@Nullable Component c)
Reads the value in the given cell renderer Component
, or returns null
if the component is not
recognized by this reader.
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.
c
- the given cell renderer component.Component
, or null
if the renderer belongs to an unknown component
type.Copyright © 2014–2019 AssertJ. All rights reserved.