package com.vci.client.auth2.action;
|
|
import javax.swing.JCheckBox;
|
|
import com.vci.client.auth2.view.OrdinaryOpPanel;
|
import com.vci.client.auth2.view.RelationAndLifeCycleOpPanel;
|
|
public class OpsAllClearAction extends Action {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 5520543647449152130L;
|
|
public OpsAllClearAction(String name) {
|
super(name);
|
}
|
|
|
@Override
|
public void execute() {
|
// 一般操作控件
|
JCheckBox[] checkBoxs = ((OrdinaryOpPanel) getFunclet().getRightMainPanel()
|
.getOrdinaryOpPanel()).getOpCheckBoxs();
|
for (JCheckBox cb : checkBoxs) {
|
cb.setSelected(false);
|
}
|
// 关系和跃迁
|
JCheckBox[] rlcheckBoxs = ((RelationAndLifeCycleOpPanel) getFunclet().getRightMainPanel()
|
.getRelationAndLifeCycleOpPanel()).getOpCheckBoxs();
|
for (JCheckBox cb : rlcheckBoxs) {
|
cb.setSelected(false);
|
}
|
}
|
|
}
|