KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > demo > notification > whiteboard > WorkgroupController


1 package demo.notification.whiteboard;
2
3 /*
4  * JacORB - a free Java ORB
5  *
6  * Copyright (C) 1999-2003 Gerald Brose
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the Free
20  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  *
22  */

23
24
25 import org.omg.CORBA.ORB JavaDoc;
26
27 /**
28  * WorkgroupController.java
29  *
30  *
31  * Created: Thu Jan 02 20:51:29 2003
32  *
33  * @author <a HREF="mailto:bendt@inf.fu-berlin.de">Alphonse Bendt</a>
34  * @version $Id: WorkgroupController.java,v 1.2 2003/11/16 14:20:12 alphonse.bendt Exp $
35  */

36
37 public interface WorkgroupController {
38
39     public void drawLine(int x0,
40                          int y0,
41                          int x1,
42                          int y1,
43                          int red,
44                          int green,
45                          int blue);
46
47     public void drawLineLocal(int x0,
48                               int y0,
49                               int x1,
50                               int y1,
51                               int red,
52                               int green,
53                               int blue,
54                               int brushsize);
55
56     public void updateWholeImage(int[] data);
57
58     public PixelImage getImage();
59
60     public void clearAll();
61
62     public void clearAllLocal();
63
64     public void setBrushSize(int size);
65
66     public ORB JavaDoc getOrb();
67
68     public String JavaDoc[] getListOfWhiteboards();
69
70     public void leaveWhiteboard();
71
72     public void selectWhiteboard(String JavaDoc name);
73
74     public int getWorkgroupId();
75
76     public void exit();
77
78 }// WorkgroupController
79
Popular Tags