View Javadoc

1   /*
2    * @(#)$Id: IconDescriptor.java 760 2009-08-25 20:10:41Z 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   * 22.10.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.core;
28  
29  import java.awt.Image;
30  
31  
32  /**
33   * Comment
34   * @version 1.0 22.10.2008
35   * @author Ueli Kurmann
36   */
37  public class IconDescriptor extends DefaultDescriptor {
38  
39     private String path;
40     
41     public IconDescriptor(){
42        
43     }
44  
45  
46     public Image getIcon() {
47        return null;
48     }
49  
50  
51     public String getPath() {
52        return path;
53     }
54  
55  
56     public void setPath(String path) {
57        this.path = path;
58     }
59  
60  
61    @Override
62    public String getName() {
63      return this.getClass().getSimpleName();
64    }
65  }