public void actionPerformed(ActionEvent ae) {
		if ("pump".equals(ae.getActionCommand())){
				chart.pump = ((JCheckBox)ae.getSource()).isSelected();
				if (chart.pump){
					optInc.setEnabled(true);
					optDec.setEnabled(true);
				}
				else{
					optInc.setEnabled(false);
					optDec.setEnabled(false);
				}					
		}
		else if ("inc".equals(ae.getActionCommand()))
			chart.pump_increase = true;
		else if ("dec".equals(ae.getActionCommand()))
			chart.pump_increase = false;
		else if ("up".equals(ae.getActionCommand()))
			chart.sa_dir = BaseTableContainer.UP;
		else if ("down".equals(ae.getActionCommand()))
			chart.sa_dir = BaseTableContainer.DOWN;
	}