KNH_Project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.bestray.healthcareemr.ServiceImpl;
import com.bestray.healthcarecommonutil.vo.TPatientEncounter;
import com.bestray.healthcareemr.Service.IPOPService;
import com.bestray.healthcareemr.Views.OutPatientEncounterPanel;
import java.awt.CardLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import org.springframework.stereotype.Service;
/**
*
* @author dell
*/
public class PEDServiceImpl implements IPOPService{
public void showButtton(){
JButton pedbutton = new javax.swing.JButton();
pedbutton.setFont(new java.awt.Font("SansSerif", 1, 12));
pedbutton.setText("Pediatric");
pedbutton.setFocusable(false);
pedbutton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
pedbutton.setMargin(new java.awt.Insets(2, 20, 2, 20));
pedbutton.setOpaque(false);
pedbutton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
OutPatientEncounterPanel.jToolBar1.add(pedbutton);
JPanel pedpanel = new JPanel();
pedpanel.add(new JLabel("Soumya"));
OutPatientEncounterPanel.displaypanelenc.add(pedpanel, "card9");
pedbutton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
CardLayout c = (CardLayout)OutPatientEncounterPanel.displaypanelenc.getLayout();
c.show(OutPatientEncounterPanel.displaypanelenc, "card9");
}
});
}
@Override
public void saveEncounter(TPatientEncounter enc) {
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public void getEncounterDetails(TPatientEncounter enc) {
throw new UnsupportedOperationException("Not supported yet.");
}
}
|
Revision |
Author |
Commited |
Message |
1
|
girijabapi
|
Fri 27 Jul, 2018 13:29:42 +0000 |
|