001/*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005package jmri.swing;
006
007import java.awt.Component;
008import javax.swing.CellEditor;
009import javax.swing.JList;
010
011/**
012 *
013 * @author Randall Wood
014 */
015public interface ListCellEditor<E> extends CellEditor {
016
017    Component getListCellEditorComponent(JList<E> list, E value,
018            boolean isSelected,
019            int index);
020
021    @Override
022    public E getCellEditorValue();
023}