View Javadoc

1   package org.informagen.echo.app;
2   
3   import nextapp.echo.app.Component;
4   
5   public class HtmlComponent extends Component {
6   
7       public static final String PROPERTY_HTML = "html";
8   
9       public HtmlComponent() {
10          this("");
11      }
12  
13      public HtmlComponent(String html) {
14          setHtml(html);
15      }
16  
17      public String getHtml() {
18          return (String) get(PROPERTY_HTML);
19      }
20  
21      public void setHtml(String newValue) {
22          set(PROPERTY_HTML, newValue);
23      }
24  }