Package com.solibri.smc.api.ui.views
Interface CellRenderer<T>
-
- Type Parameters:
T
- the type of the row
public interface CellRenderer<T>
CellRenderer is used to render cells in custom columns.- Since:
- 9.12.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Component
getComponent(T object, boolean isSelected, boolean hasFocus)
Returns a GUI component for the given row.
-
-
-
Method Detail
-
getComponent
Component getComponent(T object, boolean isSelected, boolean hasFocus)
Returns a GUI component for the given row.- Parameters:
object
- the row object being renderedisSelected
- if the current row is selectedhasFocus
- if the current row has focus- Returns:
- the rendering result
- Since:
- 9.12.0
-
-