analyseWriter/src/fenetres/toolBarRecherche.java

51 lines
1.4 KiB
Java

package fenetres;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JToolBar;
public class toolBarRecherche extends JToolBar{
/**
*
*/
private static final long serialVersionUID = 1L;
private JButton btnRechercheIndex;
private JButton btnRechercheContenuExact;
private JButton btnRechercheVoisin;
private JButton btnAllContent;
public toolBarRecherche() {
setRollover(true);
setName("Recherche node");
btnRechercheIndex = new JButton("");
btnRechercheIndex.setEnabled(false);
btnRechercheIndex.setIcon(new ImageIcon(create.class.getResource("/resources/rechercheindex.png")));
add(btnRechercheIndex);
btnRechercheContenuExact = new JButton("");
btnRechercheContenuExact.setEnabled(false);
btnRechercheContenuExact.setIcon(new ImageIcon(create.class.getResource("/resources/recherchecontenu.png")));
add(btnRechercheContenuExact);
btnRechercheVoisin = new JButton("");
btnRechercheVoisin.setEnabled(false);
btnRechercheVoisin.setIcon(new ImageIcon(create.class.getResource("/resources/recherchecontenuplusprochevoisin.png")));
add(btnRechercheVoisin);
addSeparator();
btnAllContent = new JButton("");
btnAllContent.setEnabled(false);
btnAllContent.setIcon(new ImageIcon(create.class.getResource("/resources/allcontent.png")));
add(btnAllContent);
}
}