src/main/java/org/vaadin/console/Console.java
changeset 14 f6b22b2ab1b9
parent 12 f3f82a361e62
child 15 ea825ba6336b
equal deleted inserted replaced
13:a16932cdfd58 14:f6b22b2ab1b9
   613 	public void println(final String string, final String className) {
   613 	public void println(final String string, final String className) {
   614 		client.call("println", string, className);
   614 		client.call("println", string, className);
   615 	}
   615 	}
   616     
   616     
   617     /**
   617     /**
   618      * @param string text to append to the last printed line 
   618      * @param string text to append to the last printed line
   619      */
   619      * @return this Console object
   620     public void append(final String string) {
   620      */
       
   621     public Console append(final String string) {
   621     	client.call("append", string);
   622     	client.call("append", string);
       
   623     	return this;
   622     }
   624     }
   623 
   625 
   624 	/**
   626 	/**
   625 	 * Append text with predefined in theme CSS class.
   627 	 * Append text with predefined in theme CSS class.
   626 	 * 
   628 	 * 
   627 	 * @param string text to append to the last printed line
   629 	 * @param string text to append to the last printed line
   628 	 * @param className CSS class name for string
   630 	 * @param className CSS class name for string
       
   631 	 * @return this Console object
   629 	 */
   632 	 */
   630 	public void append(final String string, final String className) {
   633 	public Console append(final String string, final String className) {
   631 		client.call("append", string, className);
   634 		client.call("append", string, className);
       
   635 		return this;
   632 	}
   636 	}
   633 
   637 
   634     public void newLine() {
   638     public void newLine() {
   635         client.call("newLine");
   639         client.call("newLine");
   636     }
   640     }