KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > swingclient > workflowadmin > actions > AutomaticallyCheckDeadlines


1 package org.enhydra.shark.swingclient.workflowadmin.actions;
2
3 import java.awt.event.*;
4
5
6 import org.enhydra.shark.swingclient.*;
7 import org.enhydra.shark.swingclient.workflowadmin.*;
8
9 /**
10  *
11  * @author Sasa Bojanic
12  * @version 1.0
13  */

14 public class AutomaticallyCheckDeadlines extends ActionBase {
15
16    private boolean autoCheck=false;
17
18    public AutomaticallyCheckDeadlines (SharkAdmin workflowClient) {
19       super(workflowClient);
20    }
21
22    public void actionPerformed (ActionEvent e) {
23       autoCheck=!autoCheck;
24       ((SharkAdmin)actionPanel).setAutomaticDeadlineCheck(autoCheck);
25    }
26
27 }
28
Popular Tags