1 32 33 package it.businesslogic.ireport.gui.event; 34 35 import java.awt.Component ; 36 37 42 public class TabPaneChangedEvent { 43 44 public static final int MINIMIZED = 0; 45 public static final int CLOSED = 1; 46 47 private int tabIndex = -1; 48 private Component tabComponent = null; 49 private int operation = -1; 50 51 52 public TabPaneChangedEvent(int operation, Component tabComponent, int tabIndex) { 53 this.setOperation(operation); 54 this.setTabComponent(tabComponent); 55 this.setTabIndex(tabIndex); 56 } 57 58 public int getTabIndex() { 59 return tabIndex; 60 } 61 62 public void setTabIndex(int tabIndex) { 63 this.tabIndex = tabIndex; 64 } 65 66 public Component getTabComponent() { 67 return tabComponent; 68 } 69 70 public void setTabComponent(Component tabComponent) { 71 this.tabComponent = tabComponent; 72 } 73 74 public int getOperation() { 75 return operation; 76 } 77 78 public void setOperation(int operation) { 79 this.operation = operation; 80 } 81 82 } 83 | Popular Tags |