analyseWriter/src/fenetres/toolBarRecherche.java
pablo rodriguez 96f3c4accc V4.2.0
2022-06-20 09:45:00 +02:00

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);
}
}