Properly add all view JComponents to the JPanel in the main JFrame.
[Persons_Comparator.git] / src / EyeView.java
1 import javax.swing.*;
2
3 public class EyeView extends JComponent {
4 private Eye eyeObj;
5
6 EyeView() {
7 }
8
9 /**
10 * @param eyeObj
11 */
12 EyeView(Eye eyeObj) {
13 setEyeObj(eyeObj);
14 }
15
16 /**
17 * @return
18 */
19 public Eye getEyeObj() {
20 return eyeObj;
21 }
22
23 /**
24 * @param eyeObj
25 */
26 public void setEyeObj(Eye eyeObj) {
27 this.eyeObj = eyeObj;
28 }
29 }