View Javadoc

1   /*
2    * Created on May 10, 2005, Copyright UC Regents
3    */
4   package org.telscenter.pas.steps;
5   
6   import java.awt.Component;
7   import java.net.URL;
8   
9   import org.telscenter.pas.beans.PasStep;
10  
11  
12  /***
13   * Convenient abstract superclass of Pas step types that take a single URL property
14   * 
15   * @author turadg
16   */
17  
18  public abstract class AbstractUrlStep extends PasStep {
19  	
20  	abstract public Component getComponent();
21  
22  	URL url;
23  
24  	public URL getUrl() {
25  		return url;
26  	}
27  
28  	public void setUrl(URL url) {
29  		Object old = this.url;
30  		this.url = url;
31  		firePropertyChange("url", old, url); //$NON-NLS-1$
32  	}
33  
34  }