1 19 20 package org.netbeans.modules.looks; 21 22 import java.util.EventObject ; 23 24 30 public final class LookEvent extends EventObject { 31 32 private long mask; 33 private String propertyName; 34 35 36 39 private LookEvent(Object source, long mask, String propertyName ) { 40 super( source ); 41 this.mask = mask; 42 this.propertyName = propertyName; 43 } 44 45 46 public LookEvent(Object source, long mask ) { 47 this( source, mask, null ); 48 } 49 50 public LookEvent(Object source, String propertyName ) { 51 this( source, 0, propertyName ); 52 } 53 54 public String getPropertyName() { 55 return propertyName; 56 } 57 58 public long getMask() { 59 return mask; 60 } 61 62 } 63 | Popular Tags |