30 lines
669 B
Java
30 lines
669 B
Java
|
package fenetres.create_act;
|
||
|
|
||
|
import java.awt.event.ActionEvent;
|
||
|
|
||
|
import javax.swing.AbstractAction;
|
||
|
import javax.swing.Action;
|
||
|
import javax.swing.ImageIcon;
|
||
|
|
||
|
import fenetres.create;
|
||
|
|
||
|
public class actCollapseAll extends AbstractAction{
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
*/
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
{
|
||
|
putValue( Action.NAME, "Tout réduire" );
|
||
|
putValue( Action.SMALL_ICON, new ImageIcon(create.class.getResource("/resources/collapseallmini.png")) );
|
||
|
putValue( Action.SHORT_DESCRIPTION, "Tout réduire" );
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void actionPerformed(ActionEvent e) {
|
||
|
fenetres.create.collapseAll();
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|