1 /*
2 * @(#)$Id: InputDeviceClientService.java 634 2008-12-02 23:08:18Z kurmannu $
3 *
4 * Author : Ueli Kurmann, igesture@uelikurmann.ch
5 *
6 *
7 * Purpose :
8 *
9 * -----------------------------------------------------------------------
10 *
11 * Revision Information:
12 *
13 * Date Who Reason
14 *
15 * 23.03.2008 ukurmann Initial Release
16 *
17 * -----------------------------------------------------------------------
18 *
19 * Copyright 1999-2009 ETH Zurich. All Rights Reserved.
20 *
21 * This software is the proprietary information of ETH Zurich.
22 * Use is subject to license terms.
23 *
24 */
25
26
27 package org.ximtec.igesture.tool.service;
28
29 import org.ximtec.igesture.io.mouseclient.SwingMouseReader;
30 import org.ximtec.igesture.tool.locator.RunnableService;
31
32
33 /**
34 * Service Wrapper for InputDeviceClient
35 *
36 * @author UeliKurmann
37 * @version 1.0
38 * @since igesture
39 */
40 public class SwingMouseReaderService extends SwingMouseReader implements
41 RunnableService {
42
43 public static final String IDENTIFIER = "inputDeviceClientService";
44
45
46 public SwingMouseReaderService() {
47 super();
48 }
49
50
51 @Override
52 public String getIdentifier() {
53 return IDENTIFIER;
54 }
55
56
57 @Override
58 public void start() {
59 init();
60 }
61
62
63 @Override
64 public void stop() {
65 dispose();
66 }
67
68
69 @Override
70 public void reset() {
71 clear();
72 }
73
74 }