1 7 8 package org.jdesktop.swing.decorator; 9 10 import java.util.EventObject ; 11 12 13 18 public class PipelineEvent extends EventObject  19 { 20 21 public static final int CONTENTS_CHANGED = 0; 22 23 private int type; 24 25 33 public int getType() { return type; } 34 35 41 public PipelineEvent(Object source, int type) { 42 super(source); 43 this.type = type; 44 } 45 46 55 public String toString() { 56 return getClass().getName() + "[type=" + type + "]"; 57 } 58 } 59 60 61 62 | Popular Tags |