田源
2024-03-07 4b4083fd73dc27ece42f4835483565eef0e4f608
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
package com.vci.client.ui.swing.components;
 
import java.awt.Component;
import java.util.EventObject;
 
public class CloseEvent extends EventObject{
 
    /**
     * 
     */
    private static final long serialVersionUID = 7742994709553490471L;
 
    private int tabIndex = -1;
    private Component tabComponent = null;
    
    public CloseEvent(Object source) {
        super(source);
    }
 
    public CloseEvent(Object source, int tabIndex, Component tabComponent) {
        super(source);
        this.tabIndex = tabIndex;
        this.tabComponent = tabComponent;
    }
 
    public int getTabIndex() {
        return tabIndex;
    }
 
    public void setTabIndex(int tabIndex) {
        this.tabIndex = tabIndex;
    }
 
    public Component getTabComponent() {
        return tabComponent;
    }
 
    public void setTabComponent(Component tabComponent) {
        this.tabComponent = tabComponent;
    }
 
 
}