NotificationEventpublic class NotificationEvent extends EventObject Generic event for notifications. |
Fields Summary |
---|
public static final String | OBJECT_THAT_CHANGED | public static final String | ATTRIBUTE_THAT_CHANGED | private String | type | protected Hashtable | properties |
Constructors Summary |
---|
public NotificationEvent(Object source, String type)
super(source);
this.type = type;
| public NotificationEvent(Object source, String type, String name, Object value)
super(source);
this.type = type;
this.properties.put(name, value);
| public NotificationEvent(Object source, String type, Object objectThatChanged)
super(source);
this.type = type;
this.properties.put(OBJECT_THAT_CHANGED, objectThatChanged);
| public NotificationEvent(Object source, String type, Object objectThatChanged, Object attribThatChanged)
this(source, type, objectThatChanged);
if (attribThatChanged != null) {
this.properties.put(ATTRIBUTE_THAT_CHANGED, attribThatChanged);
}
|
|