Lines 44-49
Link Here
|
44 |
*/ |
44 |
*/ |
45 |
public abstract void println(String s, OutputListener l) throws IOException; |
45 |
public abstract void println(String s, OutputListener l) throws IOException; |
46 |
|
46 |
|
|
|
47 |
/** Print a line which will be displayed as a hyperlink, calling the |
48 |
* passed <code>OutputListener</code> if it is clicked, if the caret |
49 |
* enters it, or if the enter key is pressed over it. |
50 |
* |
51 |
* Implementors of this class |
52 |
* are encouraged to override this method, which is not abstract for backward |
53 |
* compatibility reasons only. |
54 |
* |
55 |
* @param s a string to print to the tab |
56 |
* @param l a listener that will receive events about this line |
57 |
* @param important mark the line as important. |
58 |
* Makes the UI respond appropriately, eg. stop the automatic scrolling |
59 |
* or highlight the hyperlink. |
60 |
* @throws IOException if the string could not be printed |
61 |
*/ |
62 |
public void println(String s, OutputListener l, boolean important) throws IOException { |
63 |
println(s, l); |
64 |
} |
65 |
|
47 |
/** Clear the output pane. |
66 |
/** Clear the output pane. |
48 |
* Expect this method to be deprecated in a future release and an |
67 |
* Expect this method to be deprecated in a future release and an |
49 |
* equivalent created in <code>InputOutput</code>. It is ambiguous what it means |
68 |
* equivalent created in <code>InputOutput</code>. It is ambiguous what it means |