01: /*
02: * NotifierEvent.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.util;
13:
14: import java.awt.event.ActionListener;
15:
16: /**
17: * @author support@sql-workbench.net
18: */
19: public class NotifierEvent {
20: private String iconKey;
21: private String tooltip;
22: private ActionListener handler;
23:
24: public NotifierEvent(String key, String tip, ActionListener l) {
25: this .iconKey = key;
26: this .tooltip = tip;
27: this .handler = l;
28: }
29:
30: public String getIconKey() {
31: return iconKey;
32: }
33:
34: public String getTooltip() {
35: return tooltip;
36: }
37:
38: public ActionListener getHandler() {
39: return handler;
40: }
41:
42: }
|