| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public boolean | Returns: true iff annotations are being keptGet whether this instance will actually keep annotations. |
| public void | |
| public int | |
| public boolean | Returns: true iff annotations are to be verboseGet whether this instance is intended to keep verbose annotations. |
| annotate | back to summary |
|---|---|
| public void annotate(String msg) Add an annotation for the subsequent output. Any previously open annotation will be closed by this call, and the new annotation marks all subsequent output until another annotation call.
| |
| annotate | back to summary |
|---|---|
| public void annotate(int amt, String msg) Add an annotation for a specified amount of subsequent output. Any previously open annotation will be closed by this call. If there is already pending annotation from one or more previous calls to this method, the new call "consumes" output after all the output covered by the previous calls.
| |
| annotates | back to summary |
|---|---|
| public boolean annotates() Get whether this instance will actually keep annotations.
| |
| endAnnotation | back to summary |
|---|---|
| public void endAnnotation() End the most recent annotation. Subsequent output will be unannotated,
until the next call to | |
| getAnnotationWidth | back to summary |
|---|---|
| public int getAnnotationWidth() Get the maximum width of the annotated output. This is advisory: Implementations of this interface are encouraged to deal with too-wide output, but annotaters are encouraged to attempt to avoid exceeding the indicated width.
| |
| isVerbose | back to summary |
|---|---|
| public boolean isVerbose() Get whether this instance is intended to keep verbose annotations. Annotators may use the result of calling this method to inform their annotation activity.
| |