View Javadoc

1   /***
2    * 
3    */
4   package org.telscenter.pas.steps.quickEditors.html;
5   
6   import java.awt.BorderLayout;
7   import java.awt.Rectangle;
8   import java.awt.event.ActionEvent;
9   import java.awt.event.ActionListener;
10  import java.net.URL;
11  
12  import javax.swing.BorderFactory;
13  import javax.swing.JButton;
14  import javax.swing.JLabel;
15  import javax.swing.JPanel;
16  import javax.swing.JRadioButton;
17  import javax.swing.JScrollPane;
18  import javax.swing.JTextArea;
19  import javax.swing.JTextField;
20  import javax.swing.ScrollPaneConstants;
21  import javax.swing.event.DocumentEvent;
22  import javax.swing.event.DocumentListener;
23  import javax.swing.text.BadLocationException;
24  import javax.swing.text.Document;
25  
26  import org.netbeans.api.wizard.WizardDisplayer;
27  import org.telscenter.pas.common.ui.text.CurrentLineHighlighter;
28  import org.telscenter.pas.steps.BrowseWeb;
29  import org.telscenter.pas.steps.quickEditors.html.wizard.HTMLWizard;
30  import org.telscenter.pas.ui.browser.IBrowser;
31  import org.telscenter.pas.ui.util.PasColors;
32  
33  /***
34   * @author aperritano
35   * 
36   */
37  abstract public class HtmlQuickEditorUI extends JPanel {
38  
39  	protected BrowseWeb browseWebBean;
40  
41  	public HtmlQuickEditorUI() {
42  	}
43  
44  	protected abstract void createUI();
45  
46  	/***
47  	 * @param bean2
48  	 */
49  	public void setBean(Object bean) {
50  		this.browseWebBean = (BrowseWeb) bean;
51  		createUI();
52  	}
53  
54  }