Rev 15 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 15 | Rev 73 | ||
|---|---|---|---|
| 1 | /** |
1 | /** |
| 2 | * File created by Jimmy |
2 | * File created by Jimmy |
| 3 | * at 2003-dec-28 13:08:55 |
3 | * at 2003-dec-28 13:08:55 |
| 4 | */ |
4 | */ |
| 5 | package Macbeth.System; |
5 | package Macbeth.System; |
| 6 | 6 | ||
| 7 | /** |
7 | /** |
| 8 | * Implement this interface if your component has a HTML |
8 | * Implement this interface if your component has a HTML |
| 9 | * interface. A HTML interface can be anything from a |
9 | * interface. A HTML interface can be anything from a |
| 10 | * simple page showing some information about your component |
10 | * simple page showing some information about your component |
| 11 | * to an advanced page with links for controlling |
11 | * to an advanced page with links for controlling |
| 12 | * functionality in your component. Very basic command-line |
12 | * functionality in your component. Very basic command-line |
| 13 | * kernels might never use these HTML capabilities, but |
13 | * kernels might never use these HTML capabilities, but |
| 14 | * more advanced GUI-kernels will. |
14 | * more advanced GUI-kernels will. |
| 15 | */ |
15 | */ |
| 16 | public interface MbHTMLInterface { |
16 | public interface MbHTMLInterface { |
| 17 | 17 | ||
| 18 | /** |
18 | /** |
| 19 | * Retreives the full code for your HTML-page. This is |
19 | * Retreives the full code for your HTML-page. This is |
| 20 | * formatted as plain text and must be valid HTML-code. |
20 | * formatted as plain text and must be valid HTML-code. |
| 21 | * @return Full HTML-code for the page. |
21 | * @return Full HTML-code for the page. |
| 22 | */ |
22 | */ |
| 23 | abstract public String getHTMLPage(); |
23 | abstract public String getHTMLPage(); |
| 24 | 24 | ||
| 25 | /** |
25 | /** |
| 26 | * This method is invoked when a link is pressed on your |
26 | * This method is invoked when a link is pressed on your |
| 27 | * HTML-page. |
27 | * HTML-page. |
| 28 | * @param href The href-attribute of the link. |
28 | * @param href The href-attribute of the link. |
| 29 | */ |
29 | */ |
| 30 | abstract public void linkPressed(String href); |
30 | abstract public void linkPressed(String href); |
| 31 | 31 | ||
| 32 | } |
32 | } |