home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 July / Chip_1998-07_cd.bin / zkuste / JBuilder / BDK / Win / bdk_sep97.exe / _SETUP.1 / BridgeTesterEvent.java < prev    next >
Encoding:
Java Source  |  1997-09-10  |  708 b   |  30 lines

  1.  
  2. // This class describes the event that gets generated by
  3. // the BridgeTester bean. 
  4.  
  5. package sunw.demo.test;
  6.  
  7. public class BridgeTesterEvent extends java.util.EventObject {
  8.  
  9.   BridgeTesterEvent(Object source, String stringValue, int intValue) {
  10.     super(source);
  11.     this.stringValue = stringValue;
  12.     this.intValue = intValue;
  13.   }
  14.  
  15.   public void setInformationValue(String stringValue) { 
  16.     this.stringValue = stringValue;
  17.   }
  18.   
  19.   public void setIntValue(int intValue) {
  20.     this.intValue = intValue;
  21.   }
  22.   
  23.   public String getInformation() {return stringValue;}
  24.   public int getIntValue() { return intValue; }
  25.  
  26.   // READ-WRITE PARMS... 
  27.   protected String stringValue;
  28.   protected int    intValue;
  29. }
  30.