blob: bdc83189e6bd3b524e97f7272078a1e8624191ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.systray.event;
import java.util.*;
/**
* The <tt>SystrayPopupMessageEvent</tt>s are posted when user clicks on the
* system tray popup message.
*
* @author Yana Stamcheva
*/
public class SystrayPopupMessageEvent
extends EventObject
{
/** an object to distinguish this <tt>SystrayPopupMessageEvent</tt> */
private Object tag;
public SystrayPopupMessageEvent(Object source)
{
super(source);
}
/**
* Creates a new <tt>SystrayPopupMessageEvent</tt> with the source of the
* event and additional info provided by the popup handler.
* @param source the source of the event
* @param tag additional info for listeners
*/
public SystrayPopupMessageEvent(Object source, Object tag)
{
super(source);
this.tag = tag;
}
/**
* @return the tag
*/
public Object getTag()
{
return tag;
}
/**
* @param tag the tag to set
*/
public void setTag(Object tag)
{
this.tag = tag;
}
}
|