]> git.somenet.org - irc/pjirc-ng.git/blob - src/main/java/irc/gui/pixx/PixxTaskBarListener.java
Pjirc 2.2.1 as available on the net, reformatted and made it compile.
[irc/pjirc-ng.git] / src / main / java / irc / gui / pixx / PixxTaskBarListener.java
1 /*****************************************************/\r
2 /*          This java file is a part of the          */\r
3 /*                                                   */\r
4 /*           -  Plouf's Java IRC Client  -           */\r
5 /*                                                   */\r
6 /*   Copyright (C)  2002 - 2004 Philippe Detournay   */\r
7 /*                                                   */\r
8 /*         All contacts : theplouf@yahoo.com         */\r
9 /*                                                   */\r
10 /*  PJIRC is free software; you can redistribute     */\r
11 /*  it and/or modify it under the terms of the GNU   */\r
12 /*  General Public License as published by the       */\r
13 /*  Free Software Foundation; version 2 or later of  */\r
14 /*  the License.                                     */\r
15 /*                                                   */\r
16 /*  PJIRC is distributed in the hope that it will    */\r
17 /*  be useful, but WITHOUT ANY WARRANTY; without     */\r
18 /*  even the implied warranty of MERCHANTABILITY or  */\r
19 /*  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   */\r
20 /*  General Public License for more details.         */\r
21 /*                                                   */\r
22 /*  You should have received a copy of the GNU       */\r
23 /*  General Public License along with PJIRC; if      */\r
24 /*  not, write to the Free Software Foundation,      */\r
25 /*  Inc., 59 Temple Place, Suite 330, Boston,        */\r
26 /*  MA  02111-1307  USA                              */\r
27 /*                                                   */\r
28 /*****************************************************/\r
29 \r
30 package irc.gui.pixx;\r
31 \r
32 import java.awt.event.MouseEvent;\r
33 \r
34 /**\r
35  * Task bar listener.\r
36  */\r
37 public interface PixxTaskBarListener {\r
38         /**\r
39          * The active awt source has been desactivated.\r
40          * \r
41          * @param bar\r
42          *          the taskbar.\r
43          * @param source\r
44          *          the desactivated source.\r
45          */\r
46         public void AWTSourceDesactivated(PixxTaskBar bar, BaseAWTSource source);\r
47 \r
48         /**\r
49          * A new awt source has been activated.\r
50          * \r
51          * @param bar\r
52          *          the taskbar.\r
53          * @param source\r
54          *          the activated source.\r
55          */\r
56         public void AWTSourceActivated(PixxTaskBar bar, BaseAWTSource source);\r
57 \r
58         /**\r
59          * A new awt source has been added in the taskbar.\r
60          * \r
61          * @param bar\r
62          *          the taskbar.\r
63          * @param source\r
64          *          the added source.\r
65          */\r
66         public void AWTSourceAdded(PixxTaskBar bar, BaseAWTSource source);\r
67 \r
68         /**\r
69          * An awt source has been removed from the taskbar.\r
70          * \r
71          * @param bar\r
72          *          the taskbar.\r
73          * @param source\r
74          *          the removed source.\r
75          */\r
76         public void AWTSourceRemoved(PixxTaskBar bar, BaseAWTSource source);\r
77 \r
78         /**\r
79          * An mouse event occured on an awt source icon.\r
80          * \r
81          * @param bar\r
82          *          the taskbar.\r
83          * @param source\r
84          *          the awt source.\r
85          * @param e\r
86          *          the mouse event.\r
87          */\r
88         public void eventOccured(PixxTaskBar bar, BaseAWTSource source, MouseEvent e);\r
89 }\r