View Javadoc

1   package de.desy.acop.video;
2   
3   import java.beans.IntrospectionException;
4   
5   import com.cosylab.gui.components.util.IconHelper;
6   import com.cosylab.util.BeanInfoSupport;
7   
8   import de.desy.acop.displayers.selector.SelectorPropertyEditor;
9   
10  /**
11   * 
12   * <code>AcopVideoBeanInfo</code> if the bean info class for the AcopVideo.
13   *
14   * @author <a href="mailto:jaka.bobnar@cosylab.com">Jaka Bobnar</a>
15   * @version $Id: Templates.xml,v 1.10 2004/01/13 16:17:13 jbobnar Exp $
16   *
17   */
18  public class AcopVideoBeanInfo extends BeanInfoSupport{
19  
20  	/**
21  	 * Constructs new AcopSpiderBeanInfo.
22  	 * @throws IntrospectionException 
23  	 *
24  	 */
25  	public AcopVideoBeanInfo() throws IntrospectionException {
26  		super();
27  		setBeanDescriptor(AcopVideoCustomizer.class);
28  		loadDefaultPropertyDescriptors();
29  		loadPropertyDescriptor("connectionParameters", SelectorPropertyEditor.class);
30  	}
31  	
32  	/*
33  	 * (non-Javadoc)
34  	 * @see java.beans.SimpleBeanInfo#getIcon(int)
35  	 */
36  	@Override
37      public java.awt.Image getIcon(int iconKind) {
38      	return IconHelper.createImage("icons/media/Movie16.gif");
39      }
40  }