# HG changeset patch # User indvdum # Date 1305905069 -14400 # Node ID 370ee982fe404c48ddb59053335e3b2f2f8dd13e # Parent 1f81f87f32839b3beedbad620ee3d70f64748b0e * comment diff -r 1f81f87f3283 -r 370ee982fe40 src/main/java/org/vaadin/console/Console.java --- a/src/main/java/org/vaadin/console/Console.java Fri May 20 18:18:38 2011 +0400 +++ b/src/main/java/org/vaadin/console/Console.java Fri May 20 19:24:29 2011 +0400 @@ -63,6 +63,10 @@ return config.isPrintPromptOnInput; } + /** + * @param isPrintPromptOnInput if true - entered by user text immediately will be printed to + * console, nothing happens otherwise + */ public void setPrintPromptOnInput(final boolean isPrintPromptOnInput) { config.isPrintPromptOnInput = isPrintPromptOnInput; client.call("setPrintPromptOnInput", isPrintPromptOnInput); @@ -522,6 +526,8 @@ } /** + * Print text with predefined in theme CSS class. + * * @param output * @param className CSS class name for string */ @@ -599,6 +605,8 @@ } /** + * Print text with predefined in theme CSS class. + * * @param string * @param className CSS class name for string */ @@ -614,6 +622,8 @@ } /** + * Append text with predefined in theme CSS class. + * * @param string text to append to the last printed line * @param className CSS class name for string */ @@ -625,6 +635,9 @@ client.call("newLine"); } + /** + * Print new line only if new line not exists at the end of console + */ public void newLineIfNotEndsWithNewLine() { client.call("newLineIfNotEndsWithNewLine"); }