* comment
authorindvdum
Fri, 20 May 2011 19:24:29 +0400
changeset 11370ee982fe40
parent 10 1f81f87f3283
child 12 f3f82a361e62
* comment
src/main/java/org/vaadin/console/Console.java
     1.1 --- a/src/main/java/org/vaadin/console/Console.java	Fri May 20 18:18:38 2011 +0400
     1.2 +++ b/src/main/java/org/vaadin/console/Console.java	Fri May 20 19:24:29 2011 +0400
     1.3 @@ -63,6 +63,10 @@
     1.4  		return config.isPrintPromptOnInput;
     1.5  	}
     1.6  
     1.7 +	/**
     1.8 +	 * @param isPrintPromptOnInput if true - entered by user text immediately will be printed to 
     1.9 +	 * console, nothing happens otherwise
    1.10 +	 */
    1.11  	public void setPrintPromptOnInput(final boolean isPrintPromptOnInput) {
    1.12  		config.isPrintPromptOnInput = isPrintPromptOnInput;
    1.13  		client.call("setPrintPromptOnInput", isPrintPromptOnInput);
    1.14 @@ -522,6 +526,8 @@
    1.15      }
    1.16  
    1.17  	/**
    1.18 +	 * Print text with predefined in theme CSS class.
    1.19 +	 *  
    1.20  	 * @param output
    1.21  	 * @param className CSS class name for string
    1.22  	 */
    1.23 @@ -599,6 +605,8 @@
    1.24      }
    1.25  
    1.26  	/**
    1.27 +	 * Print text with predefined in theme CSS class.
    1.28 +	 * 
    1.29  	 * @param string
    1.30  	 * @param className CSS class name for string
    1.31  	 */
    1.32 @@ -614,6 +622,8 @@
    1.33      }
    1.34  
    1.35  	/**
    1.36 +	 * Append text with predefined in theme CSS class.
    1.37 +	 * 
    1.38  	 * @param string text to append to the last printed line
    1.39  	 * @param className CSS class name for string
    1.40  	 */
    1.41 @@ -625,6 +635,9 @@
    1.42          client.call("newLine");
    1.43      }
    1.44  
    1.45 +	/**
    1.46 +	 * Print new line only if new line not exists at the end of console
    1.47 +	 */
    1.48  	public void newLineIfNotEndsWithNewLine() {
    1.49  		client.call("newLineIfNotEndsWithNewLine");
    1.50  	}