All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jdplus.toolkit.desktop.plugin.ui.processing.ItemUI Maven / Gradle / Ivy

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jdplus.toolkit.desktop.plugin.ui.processing;

import javax.swing.Icon;
import javax.swing.JComponent;
import javax.swing.JMenu;

/**
 *
 * @author Jean Palate
 * @param 
 */
public interface ItemUI {

    JComponent getView(I document);
    default boolean fillMenu(JMenu menu, I info){return false;}
    default Icon getIcon(I info){return null;}
}