CellContext implements Serializable { public String getCellRendererName() { return getUIPrefix() + "cellRenderer"; }  Object replaceValue(Object value); JComponent getComponent(); Object getValue(); int getRow(); int getColumn(); boolean isSelected(); boolean isFocused(); boolean isExpanded(); boolean isLeaf(); boolean isEditable(); Icon getIcon(); String getCellRendererName();  }
@Test public void testNameInContext() { assertEquals("cellRenderer", new CellContext().getCellRendererName()); assertEquals("Table.cellRenderer", new TableCellContext().getCellRendererName()); assertEquals("Tree.cellRenderer", new TreeCellContext().getCellRendererName()); assertEquals("List.cellRenderer", new ListCellContext().getCellRendererName()); }