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;
|
}
|
|
|
}
|